diff options
author | John Stebbins <[email protected]> | 2017-09-18 10:45:47 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2017-11-06 08:19:49 -0800 |
commit | 296dea8e43c7f0bd8e6c564222c6bdd87c8b3f17 (patch) | |
tree | 8aa466d94101cdc1924cc8b0817953d7661459dd /gtk/src/ghb.m4 | |
parent | 1deba0d64c98dec881456867925d85434c030ae7 (diff) |
LinGui: add preset "modified" indicator and reset button
When a setting is modified, the word "Modified" appears next to the
preset selection menu button and the "Reset" button is enabled.
Diffstat (limited to 'gtk/src/ghb.m4')
-rw-r--r-- | gtk/src/ghb.m4 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gtk/src/ghb.m4 b/gtk/src/ghb.m4 index 6ecd20ac8..c5e15731c 100644 --- a/gtk/src/ghb.m4 +++ b/gtk/src/ghb.m4 @@ -1584,6 +1584,36 @@ This is often the feature title of a DVD.</property> <property name="position">1</property> </packing> </child> + <child> + <object class="GtkLabel" id="preset_selection_modified_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="width-chars">10</property> + <property name="label" translatable="yes"></property> + <property name="use_markup">True</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkButton" id="preset_selection_reset"> + <property name="label" translatable="yes">Reset</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="tooltip_text" translatable="yes">Reset the current title to default Preset values</property> + <property name="receives_default">True</property> + <property name="halign">end</property> + <property name="action-name">app.preset-reset</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> </object> <packing> <property name="expand">False</property> |