Skip to content

Commit

Permalink
workspace-switcher.ui: avoid deprecated GtkButton:use-stock
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0w authored and lukefromdc committed Apr 14, 2018
1 parent 2e0a74d commit d3aacfe
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions applets/wncklet/workspace-switcher.ui
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.2 -->
<!-- Generated with glade 3.22.0 -->
<interface>
<requires lib="gtk+" version="3.0"/>
<requires lib="gtk+" version="3.22"/>
<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="GtkAdjustment" id="num_rows_adjustment">
<property name="lower">1</property>
<property name="upper">16</property>
Expand Down Expand Up @@ -33,12 +43,13 @@
<property name="can_focus">False</property>
<child>
<object class="GtkButton" id="help_button">
<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>
Expand All @@ -48,13 +59,14 @@
</child>
<child>
<object class="GtkButton" id="done_button">
<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="has_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>
Expand All @@ -73,8 +85,8 @@
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="border_width">5</property>
<property name="can_focus">False</property>
<property name="border_width">5</property>
<property name="orientation">vertical</property>
<property name="spacing">12</property>
<child>
Expand Down

0 comments on commit d3aacfe

Please sign in to comment.