accounts-dialog: remove hbox_protocol
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 15 Feb 2012 14:37:28 +0000 (15:37 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 16 Feb 2012 13:10:32 +0000 (14:10 +0100)
It's not used any more since we moved adding account to a separated dialog.

https://bugzilla.gnome.org/show_bug.cgi?id=670203

src/empathy-accounts-dialog.c
src/empathy-accounts-dialog.ui

index 978ad1630f59e90c3660a3729bc9e6d5023bf273..7ad6f12ce4c996c732ba3df19dd8269771b52fbf 100644 (file)
@@ -99,8 +99,6 @@ typedef struct {
   GtkWidget *button_remove;
   GtkWidget *button_import;
 
-  GtkWidget *hbox_protocol;
-
   GtkWidget *image_type;
   GtkWidget *label_name;
   GtkWidget *label_type;
@@ -995,7 +993,6 @@ accounts_dialog_update_settings (EmpathyAccountsDialog *dialog,
    * one for the account selected */
   gtk_widget_hide (priv->frame_no_protocol);
   gtk_widget_show (priv->vbox_details);
-  gtk_widget_hide (priv->hbox_protocol);
 
   if (priv->dialog_content)
     {
@@ -2220,7 +2217,6 @@ accounts_dialog_build_ui (EmpathyAccountsDialog *dialog)
       "button_add", &priv->button_add,
       "button_remove", &priv->button_remove,
       "button_import", &priv->button_import,
-      "hbox_protocol", &priv->hbox_protocol,
       "notebook_account", &priv->notebook_account,
       "alignment_loading", &alig,
       "accounts_sw", &sw,
index 4a1b8bbb31ab6ee161dc44a90033a9f28e69b814..8e5b3f7af659cb94a52e6594dd03cae566c9468f 100644 (file)
           <object class="GtkVBox" id="vbox214">
             <property name="visible">True</property>
             <property name="spacing">18</property>
-            <child>
-              <object class="GtkHBox" id="hbox_protocol">
-                <property name="visible">True</property>
-                <property name="spacing">6</property>
-                <child>
-                  <object class="GtkLabel" id="label_protocol">
-                    <property name="visible">True</property>
-                    <property name="label" translatable="yes">Protocol:</property>
-                  </object>
-                  <packing>
-                    <property name="expand">False</property>
-                    <property name="fill">False</property>
-                    <property name="position">0</property>
-                  </packing>
-                </child>
-                <child>
-                  <placeholder/>
-                </child>
-              </object>
-              <packing>
-                <property name="expand">False</property>
-                <property name="fill">False</property>
-                <property name="position">0</property>
-              </packing>
-            </child>
             <child>
               <object class="GtkVBox" id="vbox_details">
                 <property name="visible">True</property>