[cheese/three-point-oh] Paging controls for effects selector.



commit 284d7c114c511959b7b99f87bca708b6dcdf24fa
Author: Yuvaraj Pandian T <yuvipanda gmail com>
Date:   Mon Jul 12 00:22:08 2010 +0530

    Paging controls for effects selector.
    
    Added left and right arrow buttons around the effects toggle button to shift pages.
    Needs work to make it look better

 data/cheese-main-window.ui |   86 ++++++++++++++++++++++++++++++-------------
 1 files changed, 60 insertions(+), 26 deletions(-)
---
diff --git a/data/cheese-main-window.ui b/data/cheese-main-window.ui
index ed56cc1..065e739 100644
--- a/data/cheese-main-window.ui
+++ b/data/cheese-main-window.ui
@@ -108,33 +108,67 @@
 		    
 		  </object>
 		</child>
-		
+
 		<child>
-		  <object class="GtkToggleButton" id="effects_toggle_button">
-		    <property name="related-action">effects_toggle</property>
-		    <child>
-		      <object class="GtkHBox" id="effects_toggle_button_internal_hbox">
-			<property name="visible">True</property>
-			<property name="spacing">2</property>
-			<child>
-			  <object class="GtkImage" id="effects_toggle_button_internal_image">
-			    <property name="icon_name">browse-webcam-effects</property>
-			  </object>
-			</child>
-			<child>
-			  <object class="GtkLabel" id="effects_toggle_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 class="GtkHBox" id="effects_actions_pack">
+                    <property name="spacing">0</property>
+                    
+                    <child>
+                      <object class="GtkButton" id="effects_prev_page_button">
+                        <property name="related-action">effects_page_prev</property>
+                        <property name="width-request">32</property>
+                        <child>                          
+                          <object class="GtkImage" id="effects_prev_page_button_image">
+                            <property name="stock">gtk-go-back</property>
+                          </object>
+                        </child>
+                      </object>
+                    </child>
+                    
+                    <child>
+                      <object class="GtkToggleButton" id="effects_toggle_button">
+                        <property name="related-action">effects_toggle</property>                        
+                        <child>
+                          <object class="GtkHBox" id="effects_toggle_button_internal_hbox">
+                            <property name="visible">True</property>
+                            <property name="spacing">2</property>
+                            <child>                          
+                              <object class="GtkImage" id="effects_toggle_button_internal_image">
+                                <property name="icon_name">browse-webcam-effects</property>
+                              </object>
+                            </child>
+                            <child>
+                              <object class="GtkLabel" id="effects_toggle_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>
+                    
+                    <child>
+                      <object class="GtkButton" id="effects_next_page_button">
+                        <property name="related-action">effects_page_next</property>
+                        <property name="width-request">32</property>
+                        <child>                          
+                          <object class="GtkImage" id="effects_prev_next_button_image">
+                            <property name="stock">gtk-go-forward</property>
+                          </object>
+                        </child>
+                      </object>
+                    </child>                    
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">False</property>		    
+                  </packing> 
+                </child>
 
 		<child>
 		  <object class="GtkHBox" id="leave_fullscreen_button_bin">



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]