Skip to content

Commit

Permalink
header custom style bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
spheras committed Feb 14, 2019
1 parent d46df08 commit f7ccaea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/widgets/FolderWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ public class DesktopFolder.FolderWindow : Gtk.ApplicationWindow {
stderr.printf ("Error: %s\n", e.message);
DesktopFolder.Util.show_error_dialog ("Error", e.message);
}
Gtk.StyleContext.add_provider_for_screen (Gdk.Screen.get_default (), this.custom_color_provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
Gtk.StyleContext.add_provider_for_screen (Gdk.Screen.get_default (), this.custom_color_provider, Gtk.STYLE_PROVIDER_PRIORITY_USER);
this.last_custom_color = mycustom;

return mycustom;
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/NoteWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ public class DesktopFolder.NoteWindow : Gtk.ApplicationWindow {
stderr.printf ("Error: %s\n", e.message);
DesktopFolder.Util.show_error_dialog ("Error", e.message);
}
Gtk.StyleContext.add_provider_for_screen (Gdk.Screen.get_default (), this.custom_color_provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
Gtk.StyleContext.add_provider_for_screen (Gdk.Screen.get_default (), this.custom_color_provider, Gtk.STYLE_PROVIDER_PRIORITY_USER);
this.last_custom_color = mycustom;
return mycustom;
}
Expand Down

0 comments on commit f7ccaea

Please sign in to comment.