[geary] Saving/Saved text too light w/ Adwaita: Closes bgo#724747



commit 3e34b9980a31997422d52c4fc47ddab589d36e6e
Author: Wolfgang Steitz <wolfer7 web de>
Date:   Fri Feb 21 12:30:50 2014 -0800

    Saving/Saved text too light w/ Adwaita: Closes bgo#724747

 src/client/composer/composer-window.vala |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/client/composer/composer-window.vala b/src/client/composer/composer-window.vala
index 880da63..cd4b41a 100644
--- a/src/client/composer/composer-window.vala
+++ b/src/client/composer/composer-window.vala
@@ -83,11 +83,6 @@ public class ComposerWindow : Gtk.Window {
         </style>
         </head><body id="message-body"></body></html>""";
     
-    private const string draft_save_label_style = """
-        .draft-save-label {
-            color: shade (@bg_color, 0.6);
-        }""";
-    
     private const int DRAFT_TIMEOUT_MSEC = 2000; // 2 seconds
     
     public const string ATTACHMENT_KEYWORDS_GENERIC = ".doc|.pdf|.xls|.ppt|.rtf|.pps";
@@ -241,7 +236,7 @@ public class ComposerWindow : Gtk.Window {
         subject_entry = builder.get_object("subject") as Gtk.Entry;
         Gtk.Alignment message_area = builder.get_object("message area") as Gtk.Alignment;
         draft_save_label = (Gtk.Label) builder.get_object("draft_save_label");
-        GtkUtil.apply_style(draft_save_label, draft_save_label_style);
+        draft_save_label.get_style_context().add_class("dim-label");
         actions = builder.get_object("compose actions") as Gtk.ActionGroup;
         // Can only happen after actions exits
         compose_as_html = GearyApplication.instance.config.compose_as_html;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]