aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-widget-sip.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-11-01 20:39:49 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-11-01 23:02:46 +0800
commitb26b85d3bddf2afd23b621a817cd5041c5e2ef17 (patch)
tree5aaf046d90d48a148a0c585a9914ee99960f44b5 /libempathy-gtk/empathy-account-widget-sip.c
parent4131d7e70306766e91cefffb02524f2b667d86af (diff)
downloadgsoc2013-empathy-b26b85d3bddf2afd23b621a817cd5041c5e2ef17.tar
gsoc2013-empathy-b26b85d3bddf2afd23b621a817cd5041c5e2ef17.tar.gz
gsoc2013-empathy-b26b85d3bddf2afd23b621a817cd5041c5e2ef17.tar.bz2
gsoc2013-empathy-b26b85d3bddf2afd23b621a817cd5041c5e2ef17.tar.lz
gsoc2013-empathy-b26b85d3bddf2afd23b621a817cd5041c5e2ef17.tar.xz
gsoc2013-empathy-b26b85d3bddf2afd23b621a817cd5041c5e2ef17.tar.zst
gsoc2013-empathy-b26b85d3bddf2afd23b621a817cd5041c5e2ef17.zip
account-widget-*: port to GtkGrid
https://bugzilla.gnome.org/show_bug.cgi?id=662903
Diffstat (limited to 'libempathy-gtk/empathy-account-widget-sip.c')
-rw-r--r--libempathy-gtk/empathy-account-widget-sip.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/libempathy-gtk/empathy-account-widget-sip.c b/libempathy-gtk/empathy-account-widget-sip.c
index 405981b9e..d11634e75 100644
--- a/libempathy-gtk/empathy-account-widget-sip.c
+++ b/libempathy-gtk/empathy-account-widget-sip.c
@@ -111,12 +111,12 @@ checkbutton_tel_toggled (
void
empathy_account_widget_sip_build (EmpathyAccountWidget *self,
const char *filename,
- GtkWidget **table_common_settings)
+ GtkWidget **grid_common_settings)
{
EmpathyAccountWidgetSip *settings;
GtkWidget *vbox_settings;
gboolean is_simple;
- GtkWidget *table_advanced;
+ GtkWidget *grid_advanced;
g_object_get (self, "simple", &is_simple, NULL);
@@ -144,8 +144,8 @@ empathy_account_widget_sip_build (EmpathyAccountWidget *self,
settings->self = self;
self->ui_details->gui = empathy_builder_get_file (filename,
- "table_common_settings", table_common_settings,
- "table_advanced_sip_settings", &table_advanced,
+ "grid_common_settings", grid_common_settings,
+ "grid_advanced_sip_settings", &grid_advanced,
"vbox_sip_settings", &vbox_settings,
"label_stun-server", &settings->label_stun_server,
"entry_stun-server", &settings->entry_stun_server,
@@ -217,8 +217,8 @@ empathy_account_widget_sip_build (EmpathyAccountWidget *self,
empathy_account_widget_setup_widget (self, settings->combobox_transport,
"transport");
- gtk_table_attach_defaults (GTK_TABLE (table_advanced),
- settings->combobox_transport, 1, 4, 11, 12);
+ gtk_grid_attach (GTK_GRID (grid_advanced), settings->combobox_transport,
+ 1, 11, 3, 1);
gtk_widget_show (settings->combobox_transport);
@@ -257,8 +257,9 @@ empathy_account_widget_sip_build (EmpathyAccountWidget *self,
empathy_account_widget_setup_widget (self,
settings->combobox_keep_alive_mechanism, "keepalive-mechanism");
- gtk_table_attach_defaults (GTK_TABLE (table_advanced),
- settings->combobox_keep_alive_mechanism, 1, 4, 7, 8);
+ gtk_grid_attach (GTK_GRID (grid_advanced),
+ settings->combobox_keep_alive_mechanism,
+ 1, 7, 3, 1);
gtk_widget_show (settings->combobox_keep_alive_mechanism);
}