Skip to content
Permalink
Browse files

pluma-preferences-dialog.ui: avoid GtkButton:use-stock / GtkImage:stock

  • Loading branch information...
sc0w authored and lukefromdc committed Mar 5, 2018
1 parent a29f740 commit 904baaa987f02dd5c2194b6d644a1e2daf69865f
Showing with 27 additions and 9 deletions.
  1. +3 −0 pluma/dialogs/pluma-preferences-dialog.c
  2. +24 −9 pluma/dialogs/pluma-preferences-dialog.ui
@@ -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,
@@ -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>

0 comments on commit 904baaa

Please sign in to comment.
You can’t perform that action at this time.