summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid King <amigadave@amigadave.com>2014-07-08 11:20:21 +0100
committerDavid King <amigadave@amigadave.com>2014-07-22 20:52:11 +0100
commit1e1a9daa62c5c310f8618318a54393887fec5ed9 (patch)
treee0ccbfe3de66f28eb2df842a3e8451ae3c93b731
parentcbd83f4267534448a5a0839a95c14f8212acadbc (diff)
Avoid using deprecated GtkAlignment
-rw-r--r--data/cheese-main-window.ui23
1 files changed, 8 insertions, 15 deletions
diff --git a/data/cheese-main-window.ui b/data/cheese-main-window.ui
index 05b1216a..b8c1be2d 100644
--- a/data/cheese-main-window.ui
+++ b/data/cheese-main-window.ui
@@ -85,26 +85,19 @@
</packing>
</child>
<child>
- <object class="GtkAlignment" id="action_button_alignment">
- <property name="xscale">0</property>
- <property name="yscale">0</property>
+ <object class="GtkButton" id="take_action_button">
+ <property name="action-name">app.shoot</property>
+ <property name="tooltip_text" translatable="yes">Take a photo using a webcam</property>
<property name="hexpand">True</property>
<property name="vexpand">False</property>
<property name="visible">True</property>
+ <style>
+ <class name="image-button"/>
+ </style>
<child>
- <object class="GtkButton" id="take_action_button">
- <property name="action-name">app.shoot</property>
- <property name="tooltip_text" translatable="yes">Take a photo using a webcam</property>
+ <object class="GtkImage" id="take_action_button_image">
+ <property name="icon-name">camera-web-symbolic</property>
<property name="visible">True</property>
- <style>
- <class name="image-button"/>
- </style>
- <child>
- <object class="GtkImage" id="take_action_button_image">
- <property name="icon-name">camera-web-symbolic</property>
- <property name="visible">True</property>
- </object>
- </child>
</object>
</child>
</object>