diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-12 13:02:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-12 13:54:14 +0100 |
commit | 0cab72b8191dc8ee5941fc5900d0c3b2c48fd0f3 (patch) | |
tree | e25417ba13612f68149aba0dae0a35d0c63447ea /extensions/uiconfig | |
parent | 99b1b4d4751081cee70d4ccb1d459a3776ed2250 (diff) |
extract gamma grid drawing to standalone widget
so the dialog stops scribbling on itself, and instead
uses a real widget for that
This has to be one of our weirdest dialogs, why expend so much effort to create
this dialog for the most obscure of issues.
Change-Id: Ia25e6c67fb278528c6c68a1d6db74de59915fd34
Diffstat (limited to 'extensions/uiconfig')
-rw-r--r-- | extensions/uiconfig/scanner/ui/griddialog.ui | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/extensions/uiconfig/scanner/ui/griddialog.ui b/extensions/uiconfig/scanner/ui/griddialog.ui index 1d95b3cd917b..25638a5e43d1 100644 --- a/extensions/uiconfig/scanner/ui/griddialog.ui +++ b/extensions/uiconfig/scanner/ui/griddialog.ui @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.16.1 --> <interface> - <!-- interface-requires gtk+ 3.0 --> + <!-- interface-requires LibreOffice 1.0 --> + <requires lib="gtk+" version="3.0"/> <object class="GtkDialog" id="GridDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> @@ -20,8 +22,9 @@ <property name="use_action_appearance">False</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_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> @@ -37,7 +40,6 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> @@ -47,9 +49,15 @@ </packing> </child> <child> - <object class="GtkComboBox" id="resetTypeCombobox"> + <object class="GtkComboBoxText" id="resetTypeCombobox"> <property name="visible">True</property> <property name="can_focus">False</property> + <items> + <item translatable="yes">Linear ascending</item> + <item translatable="yes">Linear descending</item> + <item translatable="yes">Original values</item> + <item translatable="yes">Exponential increasing</item> + </items> </object> <packing> <property name="expand">False</property> @@ -64,7 +72,6 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> <property name="use_underline">True</property> </object> <packing> @@ -82,7 +89,19 @@ </packing> </child> <child> - <placeholder/> + <object class="scnlo-GridWindow" id="gridwindow"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">center</property> + <property name="valign">start</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> </child> </object> </child> |