aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-widget-generic.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-07-30 04:16:48 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-07-30 04:16:48 +0800
commit80559245b5f6a8690b50bc26b1f6e3fc9afeb5fe (patch)
tree9de66062b812dec5833c8e75c2e455aa9eef2bf5 /libempathy-gtk/empathy-account-widget-generic.c
parent6669583ddb6c0c37352b5d2383cfbbb3e139c017 (diff)
downloadgsoc2013-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-account-widget-generic.c')
-rw-r--r--libempathy-gtk/empathy-account-widget-generic.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/libempathy-gtk/empathy-account-widget-generic.c b/libempathy-gtk/empathy-account-widget-generic.c
index c97b6561e..56934bb37 100644
--- a/libempathy-gtk/empathy-account-widget-generic.c
+++ b/libempathy-gtk/empathy-account-widget-generic.c
@@ -146,6 +146,7 @@ account_widget_generic_setup_foreach (McProtocolParam *param,
str = g_strdup_printf (_("%s:"), param_name_formatted);
widget = gtk_label_new (str);
+ gtk_misc_set_alignment (GTK_MISC (widget), 0, 0.5);
g_free (str);
gtk_size_group_add_widget (settings->size_group, widget);
@@ -208,6 +209,7 @@ account_widget_generic_setup_foreach (McProtocolParam *param,
str = g_strdup_printf (_("%s:"), param_name_formatted);
widget = gtk_label_new (str);
+ gtk_misc_set_alignment (GTK_MISC (widget), 0, 0.5);
g_free (str);
gtk_size_group_add_widget (settings->size_group, widget);
@@ -310,13 +312,11 @@ account_widget_generic_destroy_cb (GtkWidget *widget,
}
GtkWidget *
-empathy_account_widget_generic_new (McAccount *account,
- GtkWidget *label_name)
+empathy_account_widget_generic_new (McAccount *account)
{
EmpathyAccountWidgetGeneric *settings;
g_return_val_if_fail (MC_IS_ACCOUNT (account), NULL);
- g_return_val_if_fail (GTK_IS_WIDGET (label_name), NULL);
settings = g_new0 (EmpathyAccountWidgetGeneric, 1);
@@ -331,11 +331,6 @@ empathy_account_widget_generic_new (McAccount *account,
GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (settings->sw),
settings->table_settings);
-
- settings->size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
- if (label_name) {
- gtk_size_group_add_widget (settings->size_group, label_name);
- }
accounts_widget_generic_setup (settings);