diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-11-27 16:42:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-11-27 16:52:11 +0000 |
commit | 02d4eb7438a83982b2602ea1d83d5accb1fe11f6 (patch) | |
tree | 05772d55231d2f8fe51bb474829ca121a2d7bd73 /svtools/uiconfig | |
parent | forms: avoid deadlock when setting FontControlModel properties (diff) | |
download | core-02d4eb7438a83982b2602ea1d83d5accb1fe11f6.tar.gz core-02d4eb7438a83982b2602ea1d83d5accb1fe11f6.zip |
convert query delete dialog to .ui
Change-Id: I0ab09c2c54bba4a287ef0f7cc812596958373e15
Diffstat (limited to 'svtools/uiconfig')
-rw-r--r-- | svtools/uiconfig/ui/querydeletedialog.ui | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/svtools/uiconfig/ui/querydeletedialog.ui b/svtools/uiconfig/ui/querydeletedialog.ui new file mode 100644 index 000000000000..823772593f83 --- /dev/null +++ b/svtools/uiconfig/ui/querydeletedialog.ui @@ -0,0 +1,99 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <object class="GtkMessageDialog" id="QueryDeleteDialog"> + <property name="can_focus">False</property> + <property name="border_width">12</property> + <property name="title" translatable="yes">Confirm Delete</property> + <property name="resizable">False</property> + <property name="type_hint">dialog</property> + <property name="skip_taskbar_hint">True</property> + <property name="message_type">question</property> + <property name="text" translatable="yes">Are you sure you want to delete the selected data?</property> + <property name="secondary_text" translatable="yes">Entry: %s</property> + <child internal-child="vbox"> + <object class="GtkBox" id="messagedialog-vbox"> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">24</property> + <child internal-child="action_area"> + <object class="GtkButtonBox" id="messagedialog-action_area"> + <property name="can_focus">False</property> + <property name="layout_style">center</property> + <child> + <object class="GtkButton" id="yes"> + <property name="label" translatable="yes">_Delete</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">True</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="all"> + <property name="label" translatable="yes">Delete _All</property> + <property name="visible">True</property> + <property name="sensitive">False</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="no"> + <property name="label" translatable="yes">Do _Not Delete</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkButton" id="cancel"> + <property name="label">gtk-cancel</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_stock">True</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> + <property name="fill">True</property> + <property name="pack_type">end</property> + <property name="position">0</property> + </packing> + </child> + </object> + </child> + <action-widgets> + <action-widget response="2">yes</action-widget> + <action-widget response="-1">all</action-widget> + <action-widget response="3">no</action-widget> + <action-widget response="0">cancel</action-widget> + </action-widgets> + </object> +</interface> |