event-widget: remove unused CSS tag name

Since Gtk+ parses automatically widgets' name, there's no need of custom class
This commit is contained in:
Erick Pérez Castellanos
2014-12-22 08:38:19 -05:00
parent e2d4e52ec7
commit a08a0a66c1
2 changed files with 6 additions and 10 deletions
+6 -6
View File
@@ -56,12 +56,12 @@
color: alpha(@theme_fg_color, 0.4);
}
.event-widget {
border-radius: 2px;
margin-top: 3px;
margin-left: 6px;
margin-bottom: 3px;
margin-right: 6px;
GcalEventWidget {
border-radius: 6px;
margin-top: 2px;
margin-left: 4px;
margin-bottom: 2px;
margin-right: 4px;
padding: 4px;
font: 10;
}
-4
View File
@@ -218,10 +218,6 @@ gcal_event_widget_init(GcalEventWidget *self)
gtk_widget_set_has_window (GTK_WIDGET (self), FALSE);
gtk_widget_set_can_focus (GTK_WIDGET (self), TRUE);
gtk_style_context_add_class (
gtk_widget_get_style_context (GTK_WIDGET (self)),
"event-widget");
}
static void