diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-06-11 09:46:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-11 10:32:54 +0100 |
commit | 140f9fa6dcbd9c3a49cc2027f140a7ec44ac06fe (patch) | |
tree | d855ca03144389654fe1e21dedcc5658c81e0f8f /sd | |
parent | 59db4be207ca6651a29366d326436ba2f40bb6ab (diff) |
attempt to apply HIG rules to photo album dialog
Change-Id: Ib1bed02d229d17c4ec5f0d95014e973c692914e2
Diffstat (limited to 'sd')
-rw-r--r-- | sd/uiconfig/simpress/ui/photoalbum.ui | 179 |
1 files changed, 105 insertions, 74 deletions
diff --git a/sd/uiconfig/simpress/ui/photoalbum.ui b/sd/uiconfig/simpress/ui/photoalbum.ui index b5ea76d5ec8b..456099027cd7 100644 --- a/sd/uiconfig/simpress/ui/photoalbum.ui +++ b/sd/uiconfig/simpress/ui/photoalbum.ui @@ -19,13 +19,11 @@ <child> <object class="GtkButton" id="create_btn"> <property name="label" translatable="yes">Insert Slides</property> - <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> </object> <packing> <property name="expand">False</property> @@ -36,11 +34,9 @@ <child> <object class="GtkButton" id="cancel_btn"> <property name="label">gtk-cancel</property> - <property name="use_action_appearance">False</property> <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> @@ -62,12 +58,16 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="margin_top">6</property> + <property name="hexpand">True</property> <property name="vexpand">True</property> + <property name="spacing">12</property> <child> <object class="GtkBox" id="box1"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="hexpand">True</property> <property name="orientation">vertical</property> + <property name="spacing">6</property> <child> <object class="GtkScrolledWindow" id="scrolledwindow1"> <property name="width_request">300</property> @@ -78,7 +78,7 @@ <property name="vexpand">True</property> <property name="shadow_type">in</property> <child> - <object class="GtkTreeView" id="images_tree"> + <object class="GtkTreeView" id="images_tree:border"> <property name="width_request">300</property> <property name="height_request">200</property> <property name="visible">True</property> @@ -104,15 +104,14 @@ <object class="GtkButtonBox" id="buttonbox1"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="spacing">6</property> <property name="layout_style">start</property> <child> <object class="GtkButton" id="add_btn"> <property name="label">gtk-add</property> - <property name="use_action_appearance">False</property> <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> @@ -124,14 +123,12 @@ <child> <object class="GtkButton" id="rem_btn"> <property name="label">gtk-remove</property> - <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="has_tooltip">True</property> <property name="tooltip_markup" translatable="yes">Remove Image from List</property> <property name="tooltip_text" translatable="yes">Remove Image from List</property> - <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> @@ -143,14 +140,12 @@ <child> <object class="GtkButton" id="up_btn"> <property name="label">gtk-go-up</property> - <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="has_tooltip">True</property> <property name="tooltip_markup" translatable="yes">Move Image Up</property> <property name="tooltip_text" translatable="yes">Move Image Up</property> - <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> @@ -162,14 +157,12 @@ <child> <object class="GtkButton" id="down_btn"> <property name="label">gtk-go-down</property> - <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="has_tooltip">True</property> <property name="tooltip_markup" translatable="yes">Move Image Down</property> <property name="tooltip_text" translatable="yes">Move Image Down</property> - <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> @@ -193,21 +186,66 @@ </packing> </child> <child> - <object class="GtkBox" id="box3"> + <object class="GtkBox" id="box2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="margin_left">6</property> + <property name="vexpand">True</property> <property name="orientation">vertical</property> + <property name="spacing">12</property> <child> - <object class="GtkLabel" id="label2"> + <object class="GtkFrame" id="frame1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="margin_bottom">6</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">Preview</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> + <property name="vexpand">True</property> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> + <child> + <object class="GtkAlignment" id="alignment1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="vexpand">True</property> + <property name="top_padding">6</property> + <property name="left_padding">12</property> + <child> + <object class="GtkBox" id="box3"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="vexpand">True</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkImage" id="preview_img"> + <property name="width_request">200</property> + <property name="height_request">150</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="valign">start</property> + <property name="vexpand">True</property> + <property name="yalign">0</property> + <property name="stock">gtk-missing-image</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + </object> + </child> + </object> + </child> + <child type="label"> + <object class="GtkLabel" id="label2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_bottom">6</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Preview</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + </child> </object> <packing> <property name="expand">False</property> @@ -216,33 +254,49 @@ </packing> </child> <child> - <object class="GtkImage" id="preview_img"> - <property name="width_request">200</property> - <property name="height_request">150</property> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="valign">start</property> - <property name="yalign">0</property> - <property name="stock">gtk-missing-image</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> - </child> - <child> <object class="GtkBox" id="box5"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="margin_left">12</property> + <property name="orientation">vertical</property> <property name="spacing">6</property> <child> - <object class="GtkLabel" id="label7"> + <object class="GtkBox" id="box6"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Slide Layout</property> - <property name="mnemonic_widget">opt_combo</property> + <property name="spacing">12</property> + <child> + <object class="GtkLabel" id="label7"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Slide Layout</property> + <property name="mnemonic_widget">opt_combo</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkComboBox" id="opt_combo"> + <property name="width_request">160</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="model">liststore2</property> + <property name="active">0</property> + <child> + <object class="GtkCellRendererText" id="cellrenderertext1"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="expand">False</property> @@ -251,18 +305,14 @@ </packing> </child> <child> - <object class="GtkComboBox" id="opt_combo"> - <property name="width_request">160</property> + <object class="GtkCheckButton" id="asr_check"> + <property name="label" translatable="yes">Keep Aspect Ratio</property> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="model">liststore2</property> - <property name="active">0</property> - <child> - <object class="GtkCellRendererText" id="cellrenderertext1"/> - <attributes> - <attribute name="text">0</attribute> - </attributes> - </child> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="xalign">0</property> + <property name="active">True</property> + <property name="draw_indicator">True</property> </object> <packing> <property name="expand">False</property> @@ -274,33 +324,14 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">3</property> - </packing> - </child> - <child> - <object class="GtkCheckButton" id="asr_check"> - <property name="label" translatable="yes">Keep Aspect Ratio</property> - <property name="use_action_appearance">False</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="margin_left">12</property> - <property name="use_action_appearance">False</property> - <property name="xalign">0</property> - <property name="active">True</property> - <property name="draw_indicator">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">5</property> + <property name="position">1</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">2</property> + <property name="position">1</property> </packing> </child> </object> |