From 8644b710942ce2358ee2345ceb6bf35326dab26b Mon Sep 17 00:00:00 2001 From: Travis Reitter Date: Fri, 19 Mar 2010 11:14:51 -0700 Subject: Make the account details pane scrollable, in case the Advanced section is too large to fit on the screen all at once. Fixes Gnome bug #613272. --- src/empathy-accounts-dialog.c | 4 +- src/empathy-accounts-dialog.ui | 203 ++++++++++++++++++++++------------------- 2 files changed, 112 insertions(+), 95 deletions(-) (limited to 'src') diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index 8e85a3653..8b91d7b57 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -2066,7 +2066,9 @@ accounts_dialog_build_ui (EmpathyAccountsDialog *dialog) gtk_window_set_title (GTK_WINDOW (dialog), _("Messaging and VoIP Accounts")); gtk_window_set_role (GTK_WINDOW (dialog), "accounts"); - gtk_window_set_default_size (GTK_WINDOW (dialog), 640, -1); + /* this suggested height is so that it doesn't display the vertical scroll bar + * in the right scrolled window unless it really needs to */ + gtk_window_set_default_size (GTK_WINDOW (dialog), 780, 400); gtk_window_set_type_hint (GTK_WINDOW (dialog), GDK_WINDOW_TYPE_HINT_DIALOG); diff --git a/src/empathy-accounts-dialog.ui b/src/empathy-accounts-dialog.ui index 40851ed77..db5ec0cf1 100644 --- a/src/empathy-accounts-dialog.ui +++ b/src/empathy-accounts-dialog.ui @@ -44,7 +44,7 @@ True - _Add… + _Add… True True True @@ -75,7 +75,7 @@ - _Import… + _Import… True True True @@ -99,109 +99,124 @@ - + True - vertical - 18 - - - True - 6 - - - True - Protocol: - - - False - False - 0 - - - - - - - - False - False - 0 - - + True + automatic + automatic - + True - vertical - 18 - - - + queue + none - + True + vertical + 18 - + + True + 6 + + + True + Protocol: + + + False + False + 0 + + + + + + + + False + False + 0 + - - - False - 1 - - - - - True - 6 - 20 - + + True + vertical + 18 + + + + + + True + + + + + + False + 1 + + + + + True + 6 + 20 + + + + + + 2 + + + + + 1 + - - - 2 - - - - - 1 - - - - - 0 - none - - - True - 6 - 12 - - True - To add a new account, you first have to install a backend for each protocol you want to use. - True + + 0 + none + + + True + 6 + 12 + + + True + To add a new account, you first have to install a backend for each protocol you want to use. + True + + + + + + + True + No protocol installed + + + + + + + False + False + 2 + + + + - - - - - True - No protocol installed - - - - - False - False - 2 - - - - @@ -209,12 +224,12 @@ - - True - gtk-remove - True gtk-add + + True + gtk-remove + -- cgit v1.2.3