Kaydet (Commit) 1f244e0d authored tarafından Colomban Wendling's avatar Colomban Wendling

Set the primary-toolbar CSS class on the main toolbar under GTK3

This makes the main toolbar look like other GTK3 application ones.
üst f735e680
......@@ -395,6 +395,9 @@ GtkWidget *toolbar_init(void)
gtk_ui_manager_insert_action_group(uim, group, 0);
toolbar = toolbar_reload(NULL);
#if GTK_CHECK_VERSION(3, 0, 0)
gtk_style_context_add_class(gtk_widget_get_style_context(toolbar), "primary-toolbar");
#endif
gtk_settings = gtk_widget_get_settings(GTK_WIDGET(toolbar));
if (gtk_settings != NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment