diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-12-21 23:14:02 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-12-22 18:57:24 +0800 |
commit | 2cde466847cf06b8c0c276503464190b7ec1f2de (patch) | |
tree | 789b02531b7e1c21fc7f61ada37acfc3cde6628d /libempathy-gtk/empathy-account-widget.c | |
parent | 5be13a29a3e4afc3f10542ba0982cb57e97d785e (diff) | |
download | gsoc2013-empathy-2cde466847cf06b8c0c276503464190b7ec1f2de.tar gsoc2013-empathy-2cde466847cf06b8c0c276503464190b7ec1f2de.tar.gz gsoc2013-empathy-2cde466847cf06b8c0c276503464190b7ec1f2de.tar.bz2 gsoc2013-empathy-2cde466847cf06b8c0c276503464190b7ec1f2de.tar.lz gsoc2013-empathy-2cde466847cf06b8c0c276503464190b7ec1f2de.tar.xz gsoc2013-empathy-2cde466847cf06b8c0c276503464190b7ec1f2de.tar.zst gsoc2013-empathy-2cde466847cf06b8c0c276503464190b7ec1f2de.zip |
account-widget: move the 'Enable' checkbox to the top of the widget (#593268)
This change doesn't affect the Moblin version.
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r-- | libempathy-gtk/empathy-account-widget.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c index 90b8a0f76..51c249c38 100644 --- a/libempathy-gtk/empathy-account-widget.c +++ b/libempathy-gtk/empathy-account-widget.c @@ -1348,6 +1348,8 @@ add_enable_checkbox (EmpathyAccountWidget *self, EmpathyAccountWidgetPriv *priv = GET_PRIV (self); #ifdef HAVE_MOBLIN GtkWidget *w; +#else + GtkWidget *vbox = self->ui_details->widget; #endif guint nb_rows, nb_columns; gboolean is_enabled; @@ -1383,10 +1385,8 @@ add_enable_checkbox (EmpathyAccountWidget *self, nb_columns); #ifndef HAVE_MOBLIN - gtk_table_attach (GTK_TABLE (priv->table_common_settings), - priv->enabled_checkbox, - 0, nb_columns, nb_rows - 1, nb_rows, - GTK_EXPAND | GTK_FILL, 0, 0, 0); + gtk_box_pack_start (GTK_BOX (vbox), priv->enabled_checkbox, FALSE, FALSE, 0); + gtk_box_reorder_child (GTK_BOX (vbox), priv->enabled_checkbox, 0); #else gtk_table_attach (GTK_TABLE (priv->table_common_settings), w, |