From 39e1ecdabfc2aae03a02cf4e70e904e5bd5b04b0 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 23 Sep 2011 13:28:32 +0200 Subject: e-account-widget-irc: Use a GtkGrid to fix label wrapping https://bugzilla.gnome.org/show_bug.cgi?id=646630 --- libempathy-gtk/empathy-account-widget-irc.c | 4 +- libempathy-gtk/empathy-account-widget-irc.ui | 97 ++++++++++++++-------------- 2 files changed, 49 insertions(+), 52 deletions(-) diff --git a/libempathy-gtk/empathy-account-widget-irc.c b/libempathy-gtk/empathy-account-widget-irc.c index 8c47d661c..d7282b198 100644 --- a/libempathy-gtk/empathy-account-widget-irc.c +++ b/libempathy-gtk/empathy-account-widget-irc.c @@ -164,8 +164,8 @@ empathy_account_widget_irc_build (EmpathyAccountWidget *self, g_signal_connect (settings->network_chooser, "changed", G_CALLBACK (network_changed_cb), settings); - gtk_table_attach (GTK_TABLE (*table_common_settings), - settings->network_chooser, 1, 2, 0, 1, GTK_EXPAND | GTK_FILL, 0, 0, 0); + gtk_grid_attach (GTK_GRID (*table_common_settings), + settings->network_chooser, 1, 0, 1, 1); gtk_widget_show (settings->network_chooser); diff --git a/libempathy-gtk/empathy-account-widget-irc.ui b/libempathy-gtk/empathy-account-widget-irc.ui index d4bd9ad22..3e12c90d9 100644 --- a/libempathy-gtk/empathy-account-widget-irc.ui +++ b/libempathy-gtk/empathy-account-widget-irc.ui @@ -284,13 +284,11 @@ True False - + True False - 4 - 2 - 12 6 + 12 True @@ -299,24 +297,9 @@ 1 - 2 2 - 3 - - - - - - True - False - 0 - Password: - - - 2 - 3 - GTK_FILL - + 1 + 1 @@ -326,26 +309,30 @@ 1 - 2 1 - 2 - + 1 + 1 - + True - False + True 0 - Nickname: - True - entry_nick + 0 + 3 + Most IRC servers don't need a password, so if you're not sure, don't enter a password. + True + True + + + - 1 - 2 - GTK_FILL - + 1 + 3 + 1 + 1 @@ -357,30 +344,26 @@ True - GTK_FILL - + 0 + 0 + 1 + 1 - + True - True + False 0 - 0 - 3 - Most IRC servers don't need a password, so if you're not sure, don't enter a password. - True - True - - - + Nickname: + True + entry_nick - 1 - 2 - 3 - 4 - + 0 + 1 + 1 + 1 @@ -389,6 +372,20 @@ + + + True + False + 0 + Password: + + + 0 + 2 + 1 + 1 + + False -- cgit v1.2.3