[gnome-control-center/gnome-3-6] bluetooth: Add UI code for a spinner during the connection



commit 68917676a077ad36ae3c7570afe3789bdd6fea65
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Nov 8 18:11:47 2012 +0100

    bluetooth: Add UI code for a spinner during the connection

 panels/bluetooth/bluetooth.ui |   45 ++++++++++++++++++++++++++++++++++++----
 1 files changed, 40 insertions(+), 5 deletions(-)
---
diff --git a/panels/bluetooth/bluetooth.ui b/panels/bluetooth/bluetooth.ui
index 9ca4e13..7f0ed27 100644
--- a/panels/bluetooth/bluetooth.ui
+++ b/panels/bluetooth/bluetooth.ui
@@ -200,21 +200,56 @@
                                   </packing>
                                 </child>
                                 <child>
-                                  <object class="GtkBox" id="box6">
+                                  <object class="GtkNotebook" id="notebook1">
                                     <property name="visible">True</property>
-                                    <property name="can_focus">False</property>
+                                    <property name="can_focus">True</property>
+                                    <property name="show_tabs">False</property>
+                                    <property name="show_border">False</property>
                                     <child>
                                       <object class="GtkSwitch" id="switch_connection">
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
+                                        <property name="halign">start</property>
                                         <property name="use_action_appearance">False</property>
                                       </object>
+                                    </child>
+                                    <child type="tab">
+                                      <object class="GtkLabel" id="label3">
+                                        <property name="visible">True</property>
+                                        <property name="can_focus">False</property>
+                                        <property name="label" translatable="yes">page 1</property>
+                                      </object>
                                       <packing>
-                                        <property name="expand">False</property>
-                                        <property name="fill">False</property>
-                                        <property name="position">0</property>
+                                        <property name="tab_fill">False</property>
                                       </packing>
                                     </child>
+                                    <child>
+                                      <object class="GtkSpinner" id="connecting_spinner">
+                                        <property name="visible">True</property>
+                                        <property name="can_focus">False</property>
+                                        <property name="halign">start</property>
+                                      </object>
+                                      <packing>
+                                        <property name="position">1</property>
+                                      </packing>
+                                    </child>
+                                    <child type="tab">
+                                      <object class="GtkLabel" id="label9">
+                                        <property name="visible">True</property>
+                                        <property name="can_focus">False</property>
+                                        <property name="label" translatable="yes">page 2</property>
+                                      </object>
+                                      <packing>
+                                        <property name="position">1</property>
+                                        <property name="tab_fill">False</property>
+                                      </packing>
+                                    </child>
+                                    <child>
+                                      <placeholder/>
+                                    </child>
+                                    <child type="tab">
+                                      <placeholder/>
+                                    </child>
                                   </object>
                                   <packing>
                                     <property name="expand">False</property>



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