[evolution] Bug 671509 (1/2) - Some small UI/theming improvements
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 671509 (1/2) - Some small UI/theming improvements
- Date: Sun, 18 Mar 2012 00:33:52 +0000 (UTC)
commit 52a63c4a6364b2976b217dc20899aa96cd82e630
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Mar 17 20:13:17 2012 -0400
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 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/widgets/misc/e-attachment-button.c b/widgets/misc/e-attachment-button.c
index 4847cd2..44bd372 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]