diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-24 14:33:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-24 15:11:44 +0100 |
commit | db4154cc19c803707f34bdd5ce4e8a43eac528a6 (patch) | |
tree | 6a55c6c5251c175d42772f54295aa97d76c4b70f /vcl/uiconfig | |
parent | 1c068a7a772ab903af627236ee93b0a1804be844 (diff) |
add gtk_message_dialog_new-alike ctor for MessageDialog
Change-Id: Ie422cd2c903cbd18353b1929c074574d452559ce
Diffstat (limited to 'vcl/uiconfig')
-rw-r--r-- | vcl/uiconfig/ui/errornocontentdialog.ui | 35 | ||||
-rw-r--r-- | vcl/uiconfig/ui/errornoprinterdialog.ui | 35 |
2 files changed, 70 insertions, 0 deletions
diff --git a/vcl/uiconfig/ui/errornocontentdialog.ui b/vcl/uiconfig/ui/errornocontentdialog.ui new file mode 100644 index 000000000000..25f5d8e78119 --- /dev/null +++ b/vcl/uiconfig/ui/errornocontentdialog.ui @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <object class="GtkMessageDialog" id="ErrorNoContentDialog"> + <property name="can_focus">False</property> + <property name="border_width">12</property> + <property name="title" translatable="yes">%PRODUCTNAME</property> + <property name="resizable">False</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">There are no pages to be printed.</property> + <property name="secondary_text" translatable="yes">Please check your document for ranges relevant to printing.</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/vcl/uiconfig/ui/errornoprinterdialog.ui b/vcl/uiconfig/ui/errornoprinterdialog.ui new file mode 100644 index 000000000000..afba5c02572d --- /dev/null +++ b/vcl/uiconfig/ui/errornoprinterdialog.ui @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <object class="GtkMessageDialog" id="ErrorNoPrinterDialog"> + <property name="can_focus">False</property> + <property name="border_width">12</property> + <property name="title" translatable="yes">%PRODUCTNAME</property> + <property name="resizable">False</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">No default printer found.</property> + <property name="secondary_text" translatable="yes">Please choose a printer and try again.</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> |