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:
@@ -56,12 +56,12 @@
|
|||||||
color: alpha(@theme_fg_color, 0.4);
|
color: alpha(@theme_fg_color, 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.event-widget {
|
GcalEventWidget {
|
||||||
border-radius: 2px;
|
border-radius: 6px;
|
||||||
margin-top: 3px;
|
margin-top: 2px;
|
||||||
margin-left: 6px;
|
margin-left: 4px;
|
||||||
margin-bottom: 3px;
|
margin-bottom: 2px;
|
||||||
margin-right: 6px;
|
margin-right: 4px;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
font: 10;
|
font: 10;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -218,10 +218,6 @@ gcal_event_widget_init(GcalEventWidget *self)
|
|||||||
|
|
||||||
gtk_widget_set_has_window (GTK_WIDGET (self), FALSE);
|
gtk_widget_set_has_window (GTK_WIDGET (self), FALSE);
|
||||||
gtk_widget_set_can_focus (GTK_WIDGET (self), TRUE);
|
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
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user