]> git.0d.be Git - empathy.git/commitdiff
Hide "advanced options" for jabber in a GtkExpander. Fixes bug #459168
authorXavier Claessens <xclaesse@gmail.com>
Thu, 26 Jul 2007 16:09:04 +0000 (16:09 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Thu, 26 Jul 2007 16:09:04 +0000 (16:09 +0000)
2007-07-26 Xavier Claessens  <xclaesse@gmail.com>

* libempathy-gtk/empathy-account-widget-jabber.glade:
* libempathy-gtk/empathy-account-widget-jabber.c: Hide
"advanced options" for jabber in a GtkExpander. Fixes bug #459168
(Guillaume Desmottes).

svn path=/trunk/; revision=202

ChangeLog
libempathy-gtk/empathy-account-widget-jabber.c
libempathy-gtk/empathy-account-widget-jabber.glade

index 25097478e6bc7a572d09112d40f2419eed047195..cf4b3b1b515d0b21f2812858db1c300316f3e800 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-07-26 Xavier Claessens  <xclaesse@gmail.com>
+
+       * libempathy-gtk/empathy-account-widget-jabber.glade:
+       * libempathy-gtk/empathy-account-widget-jabber.c: Hide
+       "advanced options" for jabber in a GtkExpander. Fixes bug #459168
+       (Guillaume Desmottes).
+
 2007-07-26 Xavier Claessens  <xclaesse@gmail.com>
 
        * libempathy-gtk/empathy-new-chatroom-dialog.c:
index 2e5a4871bced20670c92254404e12ca545f2d9dc..a4db08fdf55af1adbd17063aa9dffb7ab132181a 100644 (file)
@@ -100,6 +100,18 @@ account_widget_jabber_entry_focus_cb (GtkWidget                 *widget,
                g_free (value);
        } else {
                mc_account_set_param_string (settings->account, param, str);
+
+               if (widget == settings->entry_id) {
+                       /* Try to guess the server */
+                       gchar *server;
+
+                       server = strstr (str, "@");
+                       if (server != NULL) {
+                               /* skip the leading @ */
+                               server++;
+                               gtk_entry_set_text (GTK_ENTRY (settings->entry_server), server);
+                       }
+               }
        }
 
        return FALSE;
@@ -274,8 +286,10 @@ empathy_account_widget_jabber_new (McAccount *account)
 
        g_object_unref (size_group);
 
+  gtk_editable_select_region (GTK_EDITABLE (settings->entry_id), 0, -1);
+  gtk_widget_grab_focus (settings->entry_id);
+
        gtk_widget_show (settings->vbox_settings);
 
        return settings->vbox_settings;
 }
-
index 12eec7576d4b182733c5ed4f0714df5cc789ee38..8a2af8cca7967530f7b9d9a6cf17f59edfd0bb1e 100644 (file)
   <property name="urgency_hint">False</property>
 
   <child>
-    <widget class="GtkTable" id="vbox_jabber_settings">
-      <property name="n_rows">6</property>
-      <property name="n_columns">3</property>
+    <widget class="GtkVBox" id="vbox_jabber_settings">
+      <property name="visible">True</property>
       <property name="homogeneous">False</property>
-      <property name="row_spacing">6</property>
-      <property name="column_spacing">12</property>
+      <property name="spacing">6</property>
 
       <child>
-       <widget class="GtkLabel" id="label_id">
+       <widget class="GtkTable" id="table_common_settings">
          <property name="visible">True</property>
-         <property name="label" translatable="yes">Login I_D:</property>
-         <property name="use_underline">True</property>
-         <property name="use_markup">False</property>
-         <property name="justify">GTK_JUSTIFY_LEFT</property>
-         <property name="wrap">False</property>
-         <property name="selectable">False</property>
-         <property name="xalign">0</property>
-         <property name="yalign">0.5</property>
-         <property name="xpad">0</property>
-         <property name="ypad">0</property>
-         <property name="mnemonic_widget">entry_id</property>
-         <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-         <property name="width_chars">-1</property>
-         <property name="single_line_mode">False</property>
-         <property name="angle">0</property>
-       </widget>
-       <packing>
-         <property name="left_attach">0</property>
-         <property name="right_attach">1</property>
-         <property name="top_attach">0</property>
-         <property name="bottom_attach">1</property>
-         <property name="x_options">fill</property>
-         <property name="y_options"></property>
-       </packing>
-      </child>
+         <property name="n_rows">2</property>
+         <property name="n_columns">3</property>
+         <property name="homogeneous">False</property>
+         <property name="row_spacing">6</property>
+         <property name="column_spacing">12</property>
 
-      <child>
-       <widget class="GtkLabel" id="label_password">
-         <property name="visible">True</property>
-         <property name="label" translatable="yes">Pass_word:</property>
-         <property name="use_underline">True</property>
-         <property name="use_markup">False</property>
-         <property name="justify">GTK_JUSTIFY_LEFT</property>
-         <property name="wrap">False</property>
-         <property name="selectable">False</property>
-         <property name="xalign">0</property>
-         <property name="yalign">0.5</property>
-         <property name="xpad">0</property>
-         <property name="ypad">0</property>
-         <property name="mnemonic_widget">entry_password</property>
-         <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-         <property name="width_chars">-1</property>
-         <property name="single_line_mode">False</property>
-         <property name="angle">0</property>
-       </widget>
-       <packing>
-         <property name="left_attach">0</property>
-         <property name="right_attach">1</property>
-         <property name="top_attach">1</property>
-         <property name="bottom_attach">2</property>
-         <property name="x_options">fill</property>
-         <property name="y_options"></property>
-       </packing>
-      </child>
+         <child>
+           <widget class="GtkLabel" id="label_id">
+             <property name="visible">True</property>
+             <property name="label" translatable="yes">Login I_D:</property>
+             <property name="use_underline">True</property>
+             <property name="use_markup">False</property>
+             <property name="justify">GTK_JUSTIFY_LEFT</property>
+             <property name="wrap">False</property>
+             <property name="selectable">False</property>
+             <property name="xalign">0</property>
+             <property name="yalign">0.5</property>
+             <property name="xpad">0</property>
+             <property name="ypad">0</property>
+             <property name="mnemonic_widget">entry_id</property>
+             <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+             <property name="width_chars">-1</property>
+             <property name="single_line_mode">False</property>
+             <property name="angle">0</property>
+           </widget>
+           <packing>
+             <property name="left_attach">0</property>
+             <property name="right_attach">1</property>
+             <property name="top_attach">0</property>
+             <property name="bottom_attach">1</property>
+             <property name="x_options">fill</property>
+             <property name="y_options"></property>
+           </packing>
+         </child>
 
-      <child>
-       <widget class="GtkLabel" id="label_resource">
-         <property name="visible">True</property>
-         <property name="label" translatable="yes">Reso_urce:</property>
-         <property name="use_underline">True</property>
-         <property name="use_markup">False</property>
-         <property name="justify">GTK_JUSTIFY_LEFT</property>
-         <property name="wrap">False</property>
-         <property name="selectable">False</property>
-         <property name="xalign">0</property>
-         <property name="yalign">0.5</property>
-         <property name="xpad">0</property>
-         <property name="ypad">0</property>
-         <property name="mnemonic_widget">entry_resource</property>
-         <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-         <property name="width_chars">-1</property>
-         <property name="single_line_mode">False</property>
-         <property name="angle">0</property>
-       </widget>
-       <packing>
-         <property name="left_attach">0</property>
-         <property name="right_attach">1</property>
-         <property name="top_attach">2</property>
-         <property name="bottom_attach">3</property>
-         <property name="x_options">fill</property>
-         <property name="y_options"></property>
-       </packing>
-      </child>
+         <child>
+           <widget class="GtkLabel" id="label_password">
+             <property name="visible">True</property>
+             <property name="label" translatable="yes">Pass_word:</property>
+             <property name="use_underline">True</property>
+             <property name="use_markup">False</property>
+             <property name="justify">GTK_JUSTIFY_LEFT</property>
+             <property name="wrap">False</property>
+             <property name="selectable">False</property>
+             <property name="xalign">0</property>
+             <property name="yalign">0.5</property>
+             <property name="xpad">0</property>
+             <property name="ypad">0</property>
+             <property name="mnemonic_widget">entry_password</property>
+             <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+             <property name="width_chars">-1</property>
+             <property name="single_line_mode">False</property>
+             <property name="angle">0</property>
+           </widget>
+           <packing>
+             <property name="left_attach">0</property>
+             <property name="right_attach">1</property>
+             <property name="top_attach">1</property>
+             <property name="bottom_attach">2</property>
+             <property name="x_options">fill</property>
+             <property name="y_options"></property>
+           </packing>
+         </child>
 
-      <child>
-       <widget class="GtkLabel" id="label_server">
-         <property name="visible">True</property>
-         <property name="label" translatable="yes">_Server:</property>
-         <property name="use_underline">True</property>
-         <property name="use_markup">False</property>
-         <property name="justify">GTK_JUSTIFY_LEFT</property>
-         <property name="wrap">False</property>
-         <property name="selectable">False</property>
-         <property name="xalign">0</property>
-         <property name="yalign">0.5</property>
-         <property name="xpad">0</property>
-         <property name="ypad">0</property>
-         <property name="mnemonic_widget">entry_server</property>
-         <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-         <property name="width_chars">-1</property>
-         <property name="single_line_mode">False</property>
-         <property name="angle">0</property>
-       </widget>
-       <packing>
-         <property name="left_attach">0</property>
-         <property name="right_attach">1</property>
-         <property name="top_attach">3</property>
-         <property name="bottom_attach">4</property>
-         <property name="x_options">fill</property>
-         <property name="y_options"></property>
-       </packing>
-      </child>
+         <child>
+           <widget class="GtkButton" id="button_forget">
+             <property name="visible">True</property>
+             <property name="tooltip" translatable="yes">Forget password and clear the entry.</property>
+             <property name="can_focus">True</property>
+             <property name="relief">GTK_RELIEF_NORMAL</property>
+             <property name="focus_on_click">True</property>
 
-      <child>
-       <widget class="GtkLabel" id="label_port">
-         <property name="visible">True</property>
-         <property name="label" translatable="yes">_Port:</property>
-         <property name="use_underline">True</property>
-         <property name="use_markup">False</property>
-         <property name="justify">GTK_JUSTIFY_LEFT</property>
-         <property name="wrap">False</property>
-         <property name="selectable">False</property>
-         <property name="xalign">0</property>
-         <property name="yalign">0.5</property>
-         <property name="xpad">0</property>
-         <property name="ypad">0</property>
-         <property name="mnemonic_widget">spinbutton_port</property>
-         <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-         <property name="width_chars">-1</property>
-         <property name="single_line_mode">False</property>
-         <property name="angle">0</property>
-       </widget>
-       <packing>
-         <property name="left_attach">0</property>
-         <property name="right_attach">1</property>
-         <property name="top_attach">4</property>
-         <property name="bottom_attach">5</property>
-         <property name="x_options">fill</property>
-         <property name="y_options"></property>
-       </packing>
-      </child>
+             <child>
+               <widget class="GtkImage" id="image834">
+                 <property name="visible">True</property>
+                 <property name="stock">gtk-clear</property>
+                 <property name="icon_size">1</property>
+                 <property name="xalign">0.5</property>
+                 <property name="yalign">0.5</property>
+                 <property name="xpad">0</property>
+                 <property name="ypad">0</property>
+               </widget>
+             </child>
+           </widget>
+           <packing>
+             <property name="left_attach">2</property>
+             <property name="right_attach">3</property>
+             <property name="top_attach">1</property>
+             <property name="bottom_attach">2</property>
+             <property name="x_options">fill</property>
+             <property name="y_options"></property>
+           </packing>
+         </child>
 
-      <child>
-       <widget class="GtkEntry" id="entry_resource">
-         <property name="visible">True</property>
-         <property name="can_focus">True</property>
-         <property name="editable">True</property>
-         <property name="visibility">True</property>
-         <property name="max_length">0</property>
-         <property name="text" translatable="yes"></property>
-         <property name="has_frame">True</property>
-         <property name="invisible_char">*</property>
-         <property name="activates_default">False</property>
-       </widget>
-       <packing>
-         <property name="left_attach">1</property>
-         <property name="right_attach">3</property>
-         <property name="top_attach">2</property>
-         <property name="bottom_attach">3</property>
-         <property name="y_options"></property>
-       </packing>
-      </child>
+         <child>
+           <widget class="GtkEntry" id="entry_password">
+             <property name="visible">True</property>
+             <property name="can_focus">True</property>
+             <property name="editable">True</property>
+             <property name="visibility">False</property>
+             <property name="max_length">0</property>
+             <property name="text" translatable="yes"></property>
+             <property name="has_frame">True</property>
+             <property name="invisible_char">*</property>
+             <property name="activates_default">False</property>
+           </widget>
+           <packing>
+             <property name="left_attach">1</property>
+             <property name="right_attach">2</property>
+             <property name="top_attach">1</property>
+             <property name="bottom_attach">2</property>
+             <property name="y_options"></property>
+           </packing>
+         </child>
 
-      <child>
-       <widget class="GtkEntry" id="entry_server">
-         <property name="visible">True</property>
-         <property name="can_focus">True</property>
-         <property name="editable">True</property>
-         <property name="visibility">True</property>
-         <property name="max_length">0</property>
-         <property name="text" translatable="yes"></property>
-         <property name="has_frame">True</property>
-         <property name="invisible_char">*</property>
-         <property name="activates_default">False</property>
+         <child>
+           <widget class="GtkEntry" id="entry_id">
+             <property name="visible">True</property>
+             <property name="can_focus">True</property>
+             <property name="editable">True</property>
+             <property name="visibility">True</property>
+             <property name="max_length">0</property>
+             <property name="text" translatable="yes"></property>
+             <property name="has_frame">True</property>
+             <property name="invisible_char">*</property>
+             <property name="activates_default">False</property>
+           </widget>
+           <packing>
+             <property name="left_attach">1</property>
+             <property name="right_attach">3</property>
+             <property name="top_attach">0</property>
+             <property name="bottom_attach">1</property>
+             <property name="y_options"></property>
+           </packing>
+         </child>
        </widget>
        <packing>
-         <property name="left_attach">1</property>
-         <property name="right_attach">3</property>
-         <property name="top_attach">3</property>
-         <property name="bottom_attach">4</property>
-         <property name="y_options"></property>
+         <property name="padding">0</property>
+         <property name="expand">False</property>
+         <property name="fill">False</property>
        </packing>
       </child>
 
       <child>
-       <widget class="GtkCheckButton" id="checkbutton_ssl">
+       <widget class="GtkExpander" id="expander1">
          <property name="visible">True</property>
          <property name="can_focus">True</property>
-         <property name="label" translatable="yes">Use encryption (SS_L)</property>
-         <property name="use_underline">True</property>
-         <property name="relief">GTK_RELIEF_NORMAL</property>
-         <property name="focus_on_click">True</property>
-         <property name="active">False</property>
-         <property name="inconsistent">False</property>
-         <property name="draw_indicator">True</property>
-       </widget>
-       <packing>
-         <property name="left_attach">0</property>
-         <property name="right_attach">3</property>
-         <property name="top_attach">5</property>
-         <property name="bottom_attach">6</property>
-         <property name="x_options">fill</property>
-         <property name="y_options"></property>
-       </packing>
-      </child>
+         <property name="expanded">False</property>
+         <property name="spacing">0</property>
 
-      <child>
-       <widget class="GtkSpinButton" id="spinbutton_port">
-         <property name="visible">True</property>
-         <property name="can_focus">True</property>
-         <property name="climb_rate">1</property>
-         <property name="digits">0</property>
-         <property name="numeric">True</property>
-         <property name="update_policy">GTK_UPDATE_ALWAYS</property>
-         <property name="snap_to_ticks">False</property>
-         <property name="wrap">False</property>
-         <property name="adjustment">5222 0 65556 1 10 10</property>
-       </widget>
-       <packing>
-         <property name="left_attach">1</property>
-         <property name="right_attach">3</property>
-         <property name="top_attach">4</property>
-         <property name="bottom_attach">5</property>
-         <property name="y_options"></property>
-       </packing>
-      </child>
+         <child>
+           <widget class="GtkTable" id="table_advanced_settings">
+             <property name="visible">True</property>
+             <property name="n_rows">4</property>
+             <property name="n_columns">3</property>
+             <property name="homogeneous">False</property>
+             <property name="row_spacing">6</property>
+             <property name="column_spacing">12</property>
 
-      <child>
-       <widget class="GtkButton" id="button_forget">
-         <property name="visible">True</property>
-         <property name="tooltip" translatable="yes">Forget password and clear the entry.</property>
-         <property name="can_focus">True</property>
-         <property name="relief">GTK_RELIEF_NORMAL</property>
-         <property name="focus_on_click">True</property>
+             <child>
+               <widget class="GtkLabel" id="label_resource">
+                 <property name="visible">True</property>
+                 <property name="label" translatable="yes">Reso_urce:</property>
+                 <property name="use_underline">True</property>
+                 <property name="use_markup">False</property>
+                 <property name="justify">GTK_JUSTIFY_LEFT</property>
+                 <property name="wrap">False</property>
+                 <property name="selectable">False</property>
+                 <property name="xalign">0</property>
+                 <property name="yalign">0.5</property>
+                 <property name="xpad">0</property>
+                 <property name="ypad">0</property>
+                 <property name="mnemonic_widget">entry_resource</property>
+                 <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+                 <property name="width_chars">-1</property>
+                 <property name="single_line_mode">False</property>
+                 <property name="angle">0</property>
+               </widget>
+               <packing>
+                 <property name="left_attach">0</property>
+                 <property name="right_attach">1</property>
+                 <property name="top_attach">0</property>
+                 <property name="bottom_attach">1</property>
+                 <property name="x_options">fill</property>
+                 <property name="y_options"></property>
+               </packing>
+             </child>
+
+             <child>
+               <widget class="GtkEntry" id="entry_resource">
+                 <property name="visible">True</property>
+                 <property name="can_focus">True</property>
+                 <property name="editable">True</property>
+                 <property name="visibility">True</property>
+                 <property name="max_length">0</property>
+                 <property name="text" translatable="yes"></property>
+                 <property name="has_frame">True</property>
+                 <property name="invisible_char">*</property>
+                 <property name="activates_default">False</property>
+               </widget>
+               <packing>
+                 <property name="left_attach">1</property>
+                 <property name="right_attach">3</property>
+                 <property name="top_attach">0</property>
+                 <property name="bottom_attach">1</property>
+                 <property name="y_options"></property>
+               </packing>
+             </child>
+
+             <child>
+               <widget class="GtkEntry" id="entry_server">
+                 <property name="visible">True</property>
+                 <property name="can_focus">True</property>
+                 <property name="editable">True</property>
+                 <property name="visibility">True</property>
+                 <property name="max_length">0</property>
+                 <property name="text" translatable="yes"></property>
+                 <property name="has_frame">True</property>
+                 <property name="invisible_char">*</property>
+                 <property name="activates_default">False</property>
+               </widget>
+               <packing>
+                 <property name="left_attach">1</property>
+                 <property name="right_attach">3</property>
+                 <property name="top_attach">1</property>
+                 <property name="bottom_attach">2</property>
+                 <property name="y_options"></property>
+               </packing>
+             </child>
+
+             <child>
+               <widget class="GtkLabel" id="label_server">
+                 <property name="visible">True</property>
+                 <property name="label" translatable="yes">_Server:</property>
+                 <property name="use_underline">True</property>
+                 <property name="use_markup">False</property>
+                 <property name="justify">GTK_JUSTIFY_LEFT</property>
+                 <property name="wrap">False</property>
+                 <property name="selectable">False</property>
+                 <property name="xalign">0</property>
+                 <property name="yalign">0.5</property>
+                 <property name="xpad">0</property>
+                 <property name="ypad">0</property>
+                 <property name="mnemonic_widget">entry_server</property>
+                 <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+                 <property name="width_chars">-1</property>
+                 <property name="single_line_mode">False</property>
+                 <property name="angle">0</property>
+               </widget>
+               <packing>
+                 <property name="left_attach">0</property>
+                 <property name="right_attach">1</property>
+                 <property name="top_attach">1</property>
+                 <property name="bottom_attach">2</property>
+                 <property name="x_options">fill</property>
+                 <property name="y_options"></property>
+               </packing>
+             </child>
+
+             <child>
+               <widget class="GtkSpinButton" id="spinbutton_port">
+                 <property name="visible">True</property>
+                 <property name="can_focus">True</property>
+                 <property name="climb_rate">1</property>
+                 <property name="digits">0</property>
+                 <property name="numeric">True</property>
+                 <property name="update_policy">GTK_UPDATE_ALWAYS</property>
+                 <property name="snap_to_ticks">False</property>
+                 <property name="wrap">False</property>
+                 <property name="adjustment">5222 0 65556 1 10 10</property>
+               </widget>
+               <packing>
+                 <property name="left_attach">1</property>
+                 <property name="right_attach">3</property>
+                 <property name="top_attach">2</property>
+                 <property name="bottom_attach">3</property>
+                 <property name="y_options"></property>
+               </packing>
+             </child>
+
+             <child>
+               <widget class="GtkLabel" id="label_port">
+                 <property name="visible">True</property>
+                 <property name="label" translatable="yes">_Port:</property>
+                 <property name="use_underline">True</property>
+                 <property name="use_markup">False</property>
+                 <property name="justify">GTK_JUSTIFY_LEFT</property>
+                 <property name="wrap">False</property>
+                 <property name="selectable">False</property>
+                 <property name="xalign">0</property>
+                 <property name="yalign">0.5</property>
+                 <property name="xpad">0</property>
+                 <property name="ypad">0</property>
+                 <property name="mnemonic_widget">spinbutton_port</property>
+                 <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+                 <property name="width_chars">-1</property>
+                 <property name="single_line_mode">False</property>
+                 <property name="angle">0</property>
+               </widget>
+               <packing>
+                 <property name="left_attach">0</property>
+                 <property name="right_attach">1</property>
+                 <property name="top_attach">2</property>
+                 <property name="bottom_attach">3</property>
+                 <property name="x_options">fill</property>
+                 <property name="y_options"></property>
+               </packing>
+             </child>
+
+             <child>
+               <widget class="GtkCheckButton" id="checkbutton_ssl">
+                 <property name="visible">True</property>
+                 <property name="can_focus">True</property>
+                 <property name="label" translatable="yes">Use encryption (SS_L)</property>
+                 <property name="use_underline">True</property>
+                 <property name="relief">GTK_RELIEF_NORMAL</property>
+                 <property name="focus_on_click">True</property>
+                 <property name="active">False</property>
+                 <property name="inconsistent">False</property>
+                 <property name="draw_indicator">True</property>
+               </widget>
+               <packing>
+                 <property name="left_attach">0</property>
+                 <property name="right_attach">3</property>
+                 <property name="top_attach">3</property>
+                 <property name="bottom_attach">4</property>
+                 <property name="x_options">fill</property>
+                 <property name="y_options"></property>
+               </packing>
+             </child>
+           </widget>
+         </child>
 
          <child>
-           <widget class="GtkImage" id="image834">
+           <widget class="GtkLabel" id="label1">
              <property name="visible">True</property>
-             <property name="stock">gtk-clear</property>
-             <property name="icon_size">1</property>
+             <property name="label" translatable="yes">&lt;b&gt;Advanced&lt;/b&gt;</property>
+             <property name="use_underline">False</property>
+             <property name="use_markup">True</property>
+             <property name="justify">GTK_JUSTIFY_LEFT</property>
+             <property name="wrap">False</property>
+             <property name="selectable">False</property>
              <property name="xalign">0.5</property>
              <property name="yalign">0.5</property>
              <property name="xpad">0</property>
              <property name="ypad">0</property>
+             <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+             <property name="width_chars">-1</property>
+             <property name="single_line_mode">False</property>
+             <property name="angle">0</property>
            </widget>
+           <packing>
+             <property name="type">label_item</property>
+           </packing>
          </child>
        </widget>
        <packing>
-         <property name="left_attach">2</property>
-         <property name="right_attach">3</property>
-         <property name="top_attach">1</property>
-         <property name="bottom_attach">2</property>
-         <property name="x_options">fill</property>
-         <property name="y_options"></property>
-       </packing>
-      </child>
-
-      <child>
-       <widget class="GtkEntry" id="entry_password">
-         <property name="visible">True</property>
-         <property name="can_focus">True</property>
-         <property name="editable">True</property>
-         <property name="visibility">False</property>
-         <property name="max_length">0</property>
-         <property name="text" translatable="yes"></property>
-         <property name="has_frame">True</property>
-         <property name="invisible_char">*</property>
-         <property name="activates_default">False</property>
-       </widget>
-       <packing>
-         <property name="left_attach">1</property>
-         <property name="right_attach">2</property>
-         <property name="top_attach">1</property>
-         <property name="bottom_attach">2</property>
-         <property name="y_options"></property>
-       </packing>
-      </child>
-
-      <child>
-       <widget class="GtkEntry" id="entry_id">
-         <property name="visible">True</property>
-         <property name="can_focus">True</property>
-         <property name="editable">True</property>
-         <property name="visibility">True</property>
-         <property name="max_length">0</property>
-         <property name="text" translatable="yes"></property>
-         <property name="has_frame">True</property>
-         <property name="invisible_char">*</property>
-         <property name="activates_default">False</property>
-       </widget>
-       <packing>
-         <property name="left_attach">1</property>
-         <property name="right_attach">3</property>
-         <property name="top_attach">0</property>
-         <property name="bottom_attach">1</property>
-         <property name="y_options"></property>
+         <property name="padding">0</property>
+         <property name="expand">False</property>
+         <property name="fill">False</property>
        </packing>
       </child>
     </widget>