From b7a0aba3e792edcbd753b721aa9600f56b95a754 Mon Sep 17 00:00:00 2001 From: Danielle Madeley Date: Tue, 29 May 2012 17:21:33 +1000 Subject: account-widget: support for account widget generic --- libempathy-gtk/empathy-account-widget-generic.ui | 74 +++++++++++++++++++++--- libempathy-gtk/empathy-account-widget.c | 6 +- 2 files changed, 71 insertions(+), 9 deletions(-) diff --git a/libempathy-gtk/empathy-account-widget-generic.ui b/libempathy-gtk/empathy-account-widget-generic.ui index 0ddfec689..c37da5e01 100644 --- a/libempathy-gtk/empathy-account-widget-generic.ui +++ b/libempathy-gtk/empathy-account-widget-generic.ui @@ -1,16 +1,43 @@ - + - - + True - vertical + False 6 True - 12 + False 6 + 12 + + + + + + + + + + + + + + + + + + + + + + + + + + + False @@ -24,20 +51,50 @@ True + 150 True True never - automatic in True + False + 6 queue True - 12 + False 6 + 12 + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -47,6 +104,7 @@ True + False Advanced @@ -55,6 +113,8 @@ + True + True 1 diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c index 96e6a8868..014d5a3db 100644 --- a/libempathy-gtk/empathy-account-widget.c +++ b/libempathy-gtk/empathy-account-widget.c @@ -762,9 +762,11 @@ accounts_widget_generic_setup (EmpathyAccountWidget *self, { gchar *str; - str = g_strdup_printf (_("%s:"), param_name_formatted); + str = g_strdup_printf (_("%s"), param_name_formatted); widget = gtk_label_new (str); - gtk_misc_set_alignment (GTK_MISC (widget), 0, 0.5); + gtk_misc_set_alignment (GTK_MISC (widget), 1., 0.5); + gtk_style_context_add_class (gtk_widget_get_style_context (widget), + GTK_STYLE_CLASS_DIM_LABEL); g_free (str); gtk_grid_attach (GTK_GRID (grid_settings), -- cgit v1.2.3