[empathy] account-widget: move the 'Enable' checkbox to the top of the widget (#593268)
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] account-widget: move the 'Enable' checkbox to the top of the widget (#593268)
- Date: Tue, 22 Dec 2009 10:57:43 +0000 (UTC)
commit 2cde466847cf06b8c0c276503464190b7ec1f2de
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Dec 21 15:14:02 2009 +0000
account-widget: move the 'Enable' checkbox to the top of the widget (#593268)
This change doesn't affect the Moblin version.
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 90b8a0f..51c249c 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]