From 52a63c4a6364b2976b217dc20899aa96cd82e630 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Sat, 17 Mar 2012 20:13:17 -0400 Subject: Bug 671509 (1/2) - Some small UI/theming improvements attachment-button: set "linked" style class on the button to get a unified look for themes that support it. --- widgets/misc/e-attachment-button.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'widgets') diff --git a/widgets/misc/e-attachment-button.c b/widgets/misc/e-attachment-button.c index 4847cd204a..44bd372f13 100644 --- a/widgets/misc/e-attachment-button.c +++ b/widgets/misc/e-attachment-button.c @@ -579,6 +579,7 @@ e_attachment_button_init (EAttachmentButton *button) GtkTargetList *list; GtkWidget *container; GtkWidget *widget; + GtkStyleContext *context; gint n_targets; button->priv = E_ATTACHMENT_BUTTON_GET_PRIVATE (button); @@ -586,6 +587,8 @@ e_attachment_button_init (EAttachmentButton *button) /* Configure Widgets */ container = GTK_WIDGET (button); + context = gtk_widget_get_style_context (container); + gtk_style_context_add_class (context, "linked"); widget = gtk_button_new (); gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0); -- cgit v1.2.3