mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
sysprof: add option to set the working directory
This is often essential for running non-graphical programs.
This commit is contained in:
@ -176,6 +176,12 @@
|
||||
<property name="text" bind-source="recording_template" bind-flags="bidirectional|sync-create" bind-property="command-line"/>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="AdwEntryRow" id="app_working_directory">
|
||||
<property name="title" translatable="yes">Working directory</property>
|
||||
<property name="text" bind-source="recording_template" bind-flags="bidirectional|sync-create" bind-property="cwd"/>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">The application will be run as a subprocess of Sysprof.</property>
|
||||
|
||||
@ -438,6 +438,7 @@ sysprof_recording_template_init (SysprofRecordingTemplate *self)
|
||||
self->scheduler_details = FALSE;
|
||||
self->system_log = TRUE;
|
||||
self->command_line = g_strdup ("");
|
||||
self->cwd = g_strdup("");
|
||||
}
|
||||
|
||||
SysprofRecordingTemplate *
|
||||
|
||||
Reference in New Issue
Block a user