[cheese/three-point-oh] Added aligned layout of buttons bar below the viewport
- From: Yuvaraj Pandian <yuvipanda src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese/three-point-oh] Added aligned layout of buttons bar below the viewport
- Date: Sun, 30 May 2010 19:02:43 +0000 (UTC)
commit a84f07f1182a762f39f142e8cab7fed0af70494e
Author: Yuvaraj Pandian T <yuvipanda gmail com>
Date: Mon May 31 00:19:52 2010 +0530
Added aligned layout of buttons bar below the viewport
data/cheese.ui | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 94 insertions(+), 2 deletions(-)
---
diff --git a/data/cheese.ui b/data/cheese.ui
index 4259abf..cbc50a9 100644
--- a/data/cheese.ui
+++ b/data/cheese.ui
@@ -275,6 +275,16 @@
</menubar>
</ui>
</object>
+
+ <object class="GtkImage" id="video_image">
+ <property name="icon_name">video-x-generic</property>
+ </object>
+ <object class="GtkImage" id="burst_image">
+ <property name="icon_name">cheese-take-burst</property>
+ </object>
+ <object class="GtkImage" id="record_image">
+ <property name="icon_name">gtk-media-record</property>
+ </object>
<object class="GtkVBox" id="mainbox_normal">
<property name="homogeneous">False</property>
@@ -300,13 +310,95 @@
<property name="fill">True</property>
</packing>
</child>
-
<child>
<object class="GtkHBox" id="action_buttons_area">
+ <child>
+ <object class="GtkHBox" id="mode_toggle_buttons">
+ <property name="homogeneous">True</property>
+ <property name="spacing">2</property>
+ <child>
+ <object class="GtkToggleButton" id="photo_toggle_button">
+ <property name="image">photo_image</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkToggleButton" id="video_toggle_button">
+ <property name="image">video_image</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkToggleButton" id="burst_toggle_button">
+ <property name="image">burst_image</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <object class="GtkAlignment" id="action_button_alignment">
+ <property name="xscale">0</property>
+ <property name="yscale">0</property>
+ <child>
+ <object class="GtkButton" id="take_action_button">
+ <child>
+ <object class="GtkHBox" id="take_action_button_internal_hbox">
+ <property name="spacing">2</property>
+ <child>
+ <object class="GtkImage" id="take_action_button_internal_image">
+ <property name="icon_name">gtk-media-record</property>
+ </object>
+ <packing>
+ <property name="padding">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="take_action_button_internal_label">
+ <property name="label" translatable="yes">_Take Photo</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="padding">15</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+
+ </object>
+ </child>
+
<child>
-
+ <object class="GtkToggleButton" id="effects_button">
+ <child>
+ <object class="GtkHBox" id="effects_button_internal_hbox">
+ <property name="visible">True</property>
+ <property name="spacing">2</property>
+ <child>
+ <object class="GtkImage" id="effects_button_internal_image">
+ <property name="icon_name">browse-webcam-effects</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="effects_button_internal_label">
+ <property name="label" translatable="yes">_Effects</property>
+ <property name="use_underline">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
</child>
</object>
+
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]