diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-03-18 08:13:17 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-03-18 08:13:17 +0800 |
commit | 52a63c4a6364b2976b217dc20899aa96cd82e630 (patch) | |
tree | 9d731b14fdbdb74f28ce965685176746241a09ef /widgets | |
parent | aeab12d7504c42d6ad4ee901be21cb79d1935c7a (diff) | |
download | gsoc2013-evolution-52a63c4a6364b2976b217dc20899aa96cd82e630.tar gsoc2013-evolution-52a63c4a6364b2976b217dc20899aa96cd82e630.tar.gz gsoc2013-evolution-52a63c4a6364b2976b217dc20899aa96cd82e630.tar.bz2 gsoc2013-evolution-52a63c4a6364b2976b217dc20899aa96cd82e630.tar.lz gsoc2013-evolution-52a63c4a6364b2976b217dc20899aa96cd82e630.tar.xz gsoc2013-evolution-52a63c4a6364b2976b217dc20899aa96cd82e630.tar.zst gsoc2013-evolution-52a63c4a6364b2976b217dc20899aa96cd82e630.zip |
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.
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-attachment-button.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |