[gnome-bluetooth] Remove useless header for extra config



commit c9d474759a46ed32f61099f1e5277428385e585e
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jul 15 15:20:02 2009 +0100

    Remove useless header for extra config
    
    It drags attention away from the rest of the text.

 wizard/main.c    |    6 +---
 wizard/wizard.ui |   55 ++++++++++++++---------------------------------------
 2 files changed, 17 insertions(+), 44 deletions(-)
---
diff --git a/wizard/main.c b/wizard/main.c
index bcffe47..4fde0de 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -109,7 +109,6 @@ static GtkWidget *spinner_finishing = NULL;
 
 static GtkWidget *label_summary = NULL;
 static GtkWidget *extra_config_vbox = NULL;
-static GtkWidget *extra_config_frame = NULL;
 
 static BluetoothChooser *selector = NULL;
 
@@ -600,10 +599,10 @@ void prepare_callback (GtkWidget *assistant,
 						    widget,
 						    FALSE,
 						    TRUE,
-						    6);
+						    0);
 			}
 			g_list_free (widgets);
-			gtk_widget_show_all (extra_config_frame);
+			gtk_widget_show_all (extra_config_vbox);
 		}
 	}
 
@@ -942,7 +941,6 @@ create_wizard (void)
 	page_summary = W("page_summary");
 	label_summary = W("label_summary");
 	extra_config_vbox = W("extra_config_vbox");
-	extra_config_frame = W("extra_config_frame");
 
 	/* Set page icons */
 	gtk_icon_size_lookup (GTK_ICON_SIZE_DIALOG, NULL, &height);
diff --git a/wizard/wizard.ui b/wizard/wizard.ui
index 3bd5367..459f8b2 100644
--- a/wizard/wizard.ui
+++ b/wizard/wizard.ui
@@ -325,50 +325,25 @@
           </packing>
         </child>
         <child>
-          <object class="GtkFrame" id="extra_config_frame">
+          <object class="GtkVBox" id="extra_config_vbox">
             <property name="visible">True</property>
-            <property name="label_xalign">0</property>
-            <property name="shadow_type">none</property>
-            <property name="visible">False</property>
+            <property name="orientation">vertical</property>
+            <property name="spacing">6</property>
             <child>
-              <object class="GtkAlignment" id="alignment1">
-                <property name="visible">True</property>
-                <property name="left_padding">12</property>
-                <property name="top_padding">12</property>
-                <child>
-                  <object class="GtkVBox" id="extra_config_vbox">
-                    <property name="visible">True</property>
-                    <property name="orientation">vertical</property>
-                    <property name="spacing">6</property>
-                    <child>
-                      <object class="GtkLabel" id="extra_config_help_label">
-                        <property name="xalign">0</property>
-                        <property name="yalign">0</property>
-                        <property name="label" translatable="yes">Select the additional services you want to use with your device:</property>
-                        <property name="wrap">True</property>
-                      </object>
-                      <packing>
-                        <property name="expand">False</property>
-                        <property name="fill">False</property>
-                        <property name="position">0</property>
-                      </packing>
-                    </child>
-                    <child>
-                      <placeholder/>
-                    </child>
-                  </object>
-                </child>
+              <object class="GtkLabel" id="extra_config_help_label">
+                <property name="xalign">0</property>
+                <property name="yalign">0</property>
+                <property name="label" translatable="yes">Select the additional services you want to use with your device:</property>
+                <property name="wrap">True</property>
               </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="fill">False</property>
+                <property name="position">0</property>
+              </packing>
             </child>
-            <child type="label">
-              <object class="GtkLabel" id="label7">
-                <property name="visible">True</property>
-                <property name="label" translatable="yes">Finished New Device Setup</property>
-                <property name="use_markup">True</property>
-                <attributes>
-                  <attribute name="weight" value="bold"/>
-                </attributes>
-              </object>
+            <child>
+              <placeholder/>
             </child>
           </object>
           <packing>



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