diff options
author | Pablo Barciela <[email protected]> | 2018-03-06 00:19:30 +0100 |
---|---|---|
committer | lukefromdc <[email protected]> | 2018-03-06 14:42:14 -0500 |
commit | 904baaa987f02dd5c2194b6d644a1e2daf69865f (patch) | |
tree | 81740ed0543e3fde68968824c4656365fc7531db | |
parent | a29f7405e31e2222ea116f1fe1d600967fff409a (diff) | |
download | pluma-904baaa987f02dd5c2194b6d644a1e2daf69865f.tar.bz2 pluma-904baaa987f02dd5c2194b6d644a1e2daf69865f.tar.xz |
pluma-preferences-dialog.ui: avoid GtkButton:use-stock / GtkImage:stock
-rw-r--r-- | pluma/dialogs/pluma-preferences-dialog.c | 3 | ||||
-rw-r--r-- | pluma/dialogs/pluma-preferences-dialog.ui | 33 |
2 files changed, 27 insertions, 9 deletions
diff --git a/pluma/dialogs/pluma-preferences-dialog.c b/pluma/dialogs/pluma-preferences-dialog.c index 07380539..7be6b55a 100644 --- a/pluma/dialogs/pluma-preferences-dialog.c +++ b/pluma/dialogs/pluma-preferences-dialog.c @@ -1014,6 +1014,9 @@ setup_font_colors_page_style_scheme_section (PlumaPreferencesDialog *dlg) gtk_tree_selection_set_mode (selection, GTK_SELECTION_BROWSE); def_id = populate_color_scheme_list (dlg, NULL); + + gtk_button_set_image (GTK_BUTTON (dlg->priv->uninstall_scheme_button), + gtk_image_new_from_icon_name ("list-remove", GTK_ICON_SIZE_BUTTON)); /* Connect signals */ g_signal_connect (dlg->priv->schemes_treeview, diff --git a/pluma/dialogs/pluma-preferences-dialog.ui b/pluma/dialogs/pluma-preferences-dialog.ui index b1547aca..dc482b8e 100644 --- a/pluma/dialogs/pluma-preferences-dialog.ui +++ b/pluma/dialogs/pluma-preferences-dialog.ui @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.20.0 --> +<!-- Generated with glade 3.20.2 --> <interface> - <requires lib="gtk+" version="3.14"/> + <requires lib="gtk+" version="3.22"/> <object class="GtkAdjustment" id="adjustment1"> <property name="lower">1</property> <property name="upper">160</property> @@ -23,9 +23,19 @@ <property name="step_increment">1</property> <property name="page_increment">10</property> </object> + <object class="GtkImage" id="image1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">help-browser</property> + </object> + <object class="GtkImage" id="image2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">window-close</property> + </object> <object class="GtkImage" id="install_scheme_image"> <property name="can_focus">False</property> - <property name="stock">gtk-add</property> + <property name="icon_name">list-add</property> </object> <object class="GtkDialog" id="preferences_dialog"> <property name="can_focus">False</property> @@ -45,12 +55,13 @@ <property name="layout_style">end</property> <child> <object class="GtkButton" id="helpbutton1"> - <property name="label">gtk-help</property> + <property name="label" translatable="yes">_Help</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> - <property name="use_stock">True</property> + <property name="image">image1</property> + <property name="use_underline">True</property> </object> <packing> <property name="expand">False</property> @@ -60,12 +71,13 @@ </child> <child> <object class="GtkButton" id="closebutton1"> - <property name="label">gtk-close</property> + <property name="label" translatable="yes">_Close</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">False</property> - <property name="use_stock">True</property> + <property name="image">image2</property> + <property name="use_underline">True</property> </object> <packing> <property name="expand">False</property> @@ -1132,11 +1144,11 @@ </child> <child> <object class="GtkButton" id="uninstall_scheme_button"> - <property name="label">gtk-remove</property> + <property name="label" translatable="yes">_Remove</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="use_stock">True</property> + <property name="use_underline">True</property> </object> <packing> <property name="expand">False</property> @@ -1226,5 +1238,8 @@ <action-widget response="-11">helpbutton1</action-widget> <action-widget response="-7">closebutton1</action-widget> </action-widgets> + <child> + <placeholder/> + </child> </object> </interface> |