mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
GtkPathBar: Add a style class
This will allow nautilus to reuse the style on its own pathbar widget.
This commit is contained in:
parent
f3ef3165df
commit
f7e94a7389
@ -202,6 +202,7 @@ gtk_path_bar_init (GtkPathBar *path_bar)
|
|||||||
gtk_widget_set_redraw_on_allocate (GTK_WIDGET (path_bar), FALSE);
|
gtk_widget_set_redraw_on_allocate (GTK_WIDGET (path_bar), FALSE);
|
||||||
|
|
||||||
context = gtk_widget_get_style_context (GTK_WIDGET (path_bar));
|
context = gtk_widget_get_style_context (GTK_WIDGET (path_bar));
|
||||||
|
gtk_style_context_add_class (context, "path-bar");
|
||||||
gtk_style_context_add_class (context, GTK_STYLE_CLASS_LINKED);
|
gtk_style_context_add_class (context, GTK_STYLE_CLASS_LINKED);
|
||||||
|
|
||||||
path_bar->priv->get_info_cancellable = NULL;
|
path_bar->priv->get_info_cancellable = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user