diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-07-30 04:16:48 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-07-30 04:16:48 +0800 |
commit | 80559245b5f6a8690b50bc26b1f6e3fc9afeb5fe (patch) | |
tree | 9de66062b812dec5833c8e75c2e455aa9eef2bf5 /libempathy-gtk/empathy-accounts-dialog.c | |
parent | 6669583ddb6c0c37352b5d2383cfbbb3e139c017 (diff) | |
download | gsoc2013-empathy-80559245b5f6a8690b50bc26b1f6e3fc9afeb5fe.tar gsoc2013-empathy-80559245b5f6a8690b50bc26b1f6e3fc9afeb5fe.tar.gz gsoc2013-empathy-80559245b5f6a8690b50bc26b1f6e3fc9afeb5fe.tar.bz2 gsoc2013-empathy-80559245b5f6a8690b50bc26b1f6e3fc9afeb5fe.tar.lz gsoc2013-empathy-80559245b5f6a8690b50bc26b1f6e3fc9afeb5fe.tar.xz gsoc2013-empathy-80559245b5f6a8690b50bc26b1f6e3fc9afeb5fe.tar.zst gsoc2013-empathy-80559245b5f6a8690b50bc26b1f6e3fc9afeb5fe.zip |
Align param names on the left.
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.
svn path=/trunk/; revision=212
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, |