shortcuts: Add css names to some widgets

This will let us put some styling in place for these.
This commit is contained in:
Matthias Clasen 2017-10-07 20:12:18 -04:00
parent e1338e4e12
commit fee3d20e44
2 changed files with 3 additions and 0 deletions

View File

@ -361,6 +361,8 @@ gtk_shortcuts_group_class_init (GtkShortcutsGroupClass *klass)
(G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_properties (object_class, LAST_PROP, properties);
gtk_widget_class_set_css_name (widget_class, "shortcuts-group");
}
static void

View File

@ -411,6 +411,7 @@ gtk_shortcuts_section_class_init (GtkShortcutsSectionClass *klass)
GDK_KEY_Page_Down, GDK_CONTROL_MASK,
"change-current-page", 1,
G_TYPE_INT, 1);
gtk_widget_class_set_css_name (widget_class, "shortcuts-section");
}
static void