diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2007-07-30 04:16:48 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2007-07-30 04:16:48 +0800 |
commit | f4a823cbdc1b56b03208eb1d57bd08a928af9ef0 (patch) | |
tree | 9de66062b812dec5833c8e75c2e455aa9eef2bf5 /libempathy-gtk/empathy-accounts-dialog.c | |
parent | 8070a63795ef42c46ab3d07ba87addd9d81a4e5a (diff) | |
download | gsoc2013-empathy-f4a823cbdc1b56b03208eb1d57bd08a928af9ef0.tar gsoc2013-empathy-f4a823cbdc1b56b03208eb1d57bd08a928af9ef0.tar.gz gsoc2013-empathy-f4a823cbdc1b56b03208eb1d57bd08a928af9ef0.tar.bz2 gsoc2013-empathy-f4a823cbdc1b56b03208eb1d57bd08a928af9ef0.tar.lz gsoc2013-empathy-f4a823cbdc1b56b03208eb1d57bd08a928af9ef0.tar.xz gsoc2013-empathy-f4a823cbdc1b56b03208eb1d57bd08a928af9ef0.tar.zst gsoc2013-empathy-f4a823cbdc1b56b03208eb1d57bd08a928af9ef0.zip |
2007-07-28 Xavier Claessens <xclaesse@gmail.com>
* libempathy-gtk/empathy-account-widget-generic.c:
* libempathy-gtk/empathy-account-widget-generic.h: Align param names
on the left.
* libempathy-gtk/empathy-accounts-dialog.glade:
* libempathy-gtk/empathy-accounts-dialog.c: Simpler header to describe
the selected account. Fixes bug #459169.
* configure.ac: Set Collabora Ltd. in the Copyright.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@212 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy-gtk/empathy-accounts-dialog.c')
-rw-r--r-- | libempathy-gtk/empathy-accounts-dialog.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/libempathy-gtk/empathy-accounts-dialog.c b/libempathy-gtk/empathy-accounts-dialog.c index 2c1225eb4..94a569730 100644 --- a/libempathy-gtk/empathy-accounts-dialog.c +++ b/libempathy-gtk/empathy-accounts-dialog.c @@ -291,8 +291,7 @@ accounts_dialog_update_account (EmpathyAccountsDialog *dialog, } else { dialog->settings_widget = - empathy_account_widget_generic_new (account, - dialog->label_name); + empathy_account_widget_generic_new (account); } gtk_widget_grab_focus (dialog->settings_widget); @@ -305,17 +304,20 @@ accounts_dialog_update_account (EmpathyAccountsDialog *dialog, if (account) { McProfile *profile; + gchar *text; profile = mc_account_get_profile (account); gtk_image_set_from_icon_name (GTK_IMAGE (dialog->image_type), mc_profile_get_icon_name (profile), GTK_ICON_SIZE_DIALOG); - - - gtk_label_set_text (GTK_LABEL (dialog->label_type), - mc_profile_get_display_name (profile)); - gtk_label_set_text (GTK_LABEL (dialog->label_name), - mc_account_get_display_name (account)); + /* FIXME: Uncomment once we depend on GTK+ 2.12 + gtk_widget_set_tooltip_text (dialog->image_type, + mc_profile_get_display_name (profile)); + */ + + text = g_strdup_printf ("<big><b>%s</b></big>", mc_account_get_display_name (account)); + gtk_label_set_markup (GTK_LABEL (dialog->label_name), text); + g_free (text); } } @@ -979,7 +981,6 @@ empathy_accounts_dialog_show (GtkWindow *parent) "button_create", &dialog->button_create, "button_back", &dialog->button_back, "image_type", &dialog->image_type, - "label_type", &dialog->label_type, "label_name", &dialog->label_name, "button_remove", &dialog->button_remove, "button_connect", &dialog->button_connect, |