summaryrefslogtreecommitdiff
path: root/src/ui/update.ui
diff options
context:
space:
mode:
authorRobert Antoni Buj Gelonch <[email protected]>2020-06-30 16:01:27 +0200
committerGitHub <[email protected]>2020-06-30 16:01:27 +0200
commitd75c80047df558a76c7d276adbedf24e337f1650 (patch)
treecc0dac9dd84d9a880c7abea98b73fdb994b395cf /src/ui/update.ui
parent1df69e9eac9a50c1c5da9d1a9779fefe2cdc1c91 (diff)
downloadengrampa-d75c80047df558a76c7d276adbedf24e337f1650.tar.bz2
engrampa-d75c80047df558a76c7d276adbedf24e337f1650.tar.xz
Do not use stock icons in ui files (#392)
* Do not use stock icons in ui files
Diffstat (limited to 'src/ui/update.ui')
-rw-r--r--src/ui/update.ui155
1 files changed, 52 insertions, 103 deletions
diff --git a/src/ui/update.ui b/src/ui/update.ui
index 5deb4e9..def416d 100644
--- a/src/ui/update.ui
+++ b/src/ui/update.ui
@@ -1,15 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.22.2 -->
+<!-- Generated with glade 3.36.0 -->
<interface>
<requires lib="gtk+" version="3.22"/>
+ <object class="GtkImage" id="update_file_cancel_image">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="icon_name">process-stop</property>
+ </object>
+ <object class="GtkImage" id="update_file_ok_image">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="icon_name">document-save</property>
+ </object>
<object class="GtkDialog" id="update_file_dialog">
<property name="can_focus">False</property>
<property name="border_width">5</property>
<property name="type_hint">dialog</property>
<signal name="destroy" handler="on_update_file_dialog_destroy" swapped="no"/>
- <child type="titlebar">
- <placeholder/>
- </child>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
<property name="visible">True</property>
@@ -23,12 +30,14 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="update_file_cancel_button">
- <property name="label">gtk-cancel</property>
+ <property name="label" translatable="yes">_Cancel</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">update_file_cancel_image</property>
+ <property name="use_underline">True</property>
+ <property name="always_show_image">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -38,55 +47,17 @@
</child>
<child>
<object class="GtkButton" id="update_file_ok_button">
+ <property name="label" translatable="yes">_Update</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">False</property>
- <signal name="clicked" handler="on_update_file_ok_button_clicked" swapped="no"/>
- <child>
- <object class="GtkAlignment" id="alignment1">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="xscale">0</property>
- <property name="yscale">0</property>
- <child>
- <object class="GtkBox" id="hbox1">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="spacing">2</property>
- <child>
- <object class="GtkImage" id="image1">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="stock">gtk-save</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label1">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">_Update</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- </child>
- </object>
- </child>
+ <property name="receives_default">True</property>
+ <property name="image">update_file_ok_image</property>
+ <property name="use_underline">True</property>
+ <property name="always_show_image">True</property>
</object>
<packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
@@ -113,7 +84,7 @@
<object class="GtkImage" id="image2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="stock">gtk-dialog-warning</property>
+ <property name="icon_name">dialog-warning</property>
<property name="icon_size">6</property>
</object>
<packing>
@@ -172,7 +143,7 @@
</child>
</object>
<packing>
- <property name="expand">False</property>
+ <property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
@@ -183,15 +154,25 @@
<action-widget response="-6">update_file_cancel_button</action-widget>
<action-widget response="-5">update_file_ok_button</action-widget>
</action-widgets>
+ <child type="titlebar">
+ <placeholder/>
+ </child>
+ </object>
+ <object class="GtkImage" id="update_files_cancel_image">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="icon_name">process-stop</property>
+ </object>
+ <object class="GtkImage" id="update_files_ok_image">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="icon_name">document-save</property>
</object>
<object class="GtkDialog" id="update_files_dialog">
<property name="can_focus">False</property>
<property name="border_width">5</property>
<property name="type_hint">dialog</property>
<signal name="destroy" handler="on_update_files_dialog_destroy" swapped="no"/>
- <child type="titlebar">
- <placeholder/>
- </child>
<child internal-child="vbox">
<object class="GtkBox" id="vbox5">
<property name="visible">True</property>
@@ -205,12 +186,14 @@
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="update_files_cancel_button">
- <property name="label">gtk-cancel</property>
+ <property name="label" translatable="yes">_Cancel</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">update_files_cancel_image</property>
+ <property name="use_underline">True</property>
+ <property name="always_show_image">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -220,55 +203,18 @@
</child>
<child>
<object class="GtkButton" id="update_files_ok_button">
+ <property name="label" translatable="yes">_Update</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="receives_default">True</property>
+ <property name="image">update_files_ok_image</property>
+ <property name="use_underline">True</property>
+ <property name="always_show_image">True</property>
<signal name="clicked" handler="on_update_files_ok_button_clicked" swapped="no"/>
- <child>
- <object class="GtkAlignment" id="alignment2">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="xscale">0</property>
- <property name="yscale">0</property>
- <child>
- <object class="GtkBox" id="hbox3">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="spacing">2</property>
- <child>
- <object class="GtkImage" id="image3">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="stock">gtk-save</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label6">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">_Update</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- </child>
- </object>
- </child>
</object>
<packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
@@ -295,7 +241,7 @@
<object class="GtkImage" id="image4">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="stock">gtk-dialog-warning</property>
+ <property name="icon_name">dialog-warning</property>
<property name="icon_size">6</property>
</object>
<packing>
@@ -417,5 +363,8 @@
<action-widget response="-6">update_files_cancel_button</action-widget>
<action-widget response="-5">update_files_ok_button</action-widget>
</action-widgets>
+ <child type="titlebar">
+ <placeholder/>
+ </child>
</object>
</interface>