[gnome-contacts] CSS: remove useless class .month-combo



commit 1874eb057bc95a39b8a3ac44e47bcea022b53eed
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Tue Jan 16 22:22:22 2018 +0100

    CSS: remove useless class .month-combo

 data/ui/style.css                |    9 ---------
 src/contacts-contact-editor.vala |    1 -
 2 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/data/ui/style.css b/data/ui/style.css
index fbf5290..291b477 100644
--- a/data/ui/style.css
+++ b/data/ui/style.css
@@ -107,15 +107,6 @@ ContactsWindow .primary-toolbar.toolbar {
  padding: 0px;
 }
 
-.contacts-combo .button {
- border-image: none;
- border-width: 1px;
- border-style: solid;
- border-color: @borders;
- background-image: none;
- background-color: @theme_base_color;
-}
-
 /* The style for the background "watermark" image and text.
  * (copied from dim-label) */
 .contacts-watermark {
diff --git a/src/contacts-contact-editor.vala b/src/contacts-contact-editor.vala
index f42bc72..a0f0c29 100644
--- a/src/contacts-contact-editor.vala
+++ b/src/contacts-contact-editor.vala
@@ -423,7 +423,6 @@ public class Contacts.ContactEditor : Grid {
         month_combo.append_text (month.format ("%B"));
     }
     month_combo.set_active (birthday.to_local ().get_month () - 1);
-    month_combo.get_style_context ().add_class ("contacts-combo");
     month_combo.hexpand = true;
 
     var year_spin = new SpinButton.with_range (1800, 3000, 1);


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