diff options
author | Olivier Hallot <olivier.hallot@edx.srv.br> | 2013-08-07 01:00:10 -0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-08 09:02:03 +0100 |
commit | 4dfb33788de68c827cb7a768efe2012cc0ed1ac5 (patch) | |
tree | 25862620280adab4c8ea64f54d8315cc4cce996c /cui/uiconfig | |
parent | WaE: C4701: potentially uninitialized local variable 'nValue' used (diff) | |
download | core-4dfb33788de68c827cb7a768efe2012cc0ed1ac5.tar.gz core-4dfb33788de68c827cb7a768efe2012cc0ed1ac5.zip |
Use new file load error dialog in widget UI
Change-Id: Ifa31cb9113fc497992d029f401cdadb12cf83c96
Diffstat (limited to 'cui/uiconfig')
-rw-r--r-- | cui/uiconfig/ui/querynoloadfiledialog.ui | 33 | ||||
-rw-r--r-- | cui/uiconfig/ui/querysavelistdialog.ui | 4 |
2 files changed, 35 insertions, 2 deletions
diff --git a/cui/uiconfig/ui/querynoloadfiledialog.ui b/cui/uiconfig/ui/querynoloadfiledialog.ui new file mode 100644 index 000000000000..35975775c6ca --- /dev/null +++ b/cui/uiconfig/ui/querynoloadfiledialog.ui @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.6 --> + <object class="GtkMessageDialog" id="NoLoadedFileDialog"> + <property name="can_focus">False</property> + <property name="border_width">12</property> + <property name="title" translatable="yes">No loaded file</property> + <property name="type_hint">dialog</property> + <property name="skip_taskbar_hint">True</property> + <property name="message_type">error</property> + <property name="buttons">ok</property> + <property name="text" translatable="yes">The file could not be loaded!</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">end</property> + </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> + </object> +</interface> diff --git a/cui/uiconfig/ui/querysavelistdialog.ui b/cui/uiconfig/ui/querysavelistdialog.ui index 3d4c81e58b23..7c47ea49703d 100644 --- a/cui/uiconfig/ui/querysavelistdialog.ui +++ b/cui/uiconfig/ui/querysavelistdialog.ui @@ -3,7 +3,7 @@ <!-- interface-requires gtk+ 3.6 --> <object class="GtkMessageDialog" id="AskSaveList"> <property name="can_focus">False</property> - <property name="border_width">6</property> + <property name="border_width">12</property> <property name="title" translatable="yes">Save list?</property> <property name="type_hint">dialog</property> <property name="skip_taskbar_hint">True</property> @@ -15,7 +15,7 @@ <object class="GtkBox" id="messagedialog-vbox"> <property name="can_focus">False</property> <property name="orientation">vertical</property> - <property name="spacing">2</property> + <property name="spacing">24</property> <child internal-child="action_area"> <object class="GtkButtonBox" id="messagedialog-action_area"> <property name="can_focus">False</property> |