summaryrefslogtreecommitdiff
path: root/makepot
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-08-11 11:26:31 +0200
committerraveit65 <[email protected]>2019-08-19 22:04:59 +0200
commitd46b6e8d7a6e8df18d2c8605979e86b10f7920d5 (patch)
tree4fab6fbda99bcb4c40d5eb3d0ecaa9d5cf3498a5 /makepot
parent46c7fbf1cb220533b1f2432a63373d04a23a3160 (diff)
downloadmate-screensaver-d46b6e8d7a6e8df18d2c8605979e86b10f7920d5.tar.bz2
mate-screensaver-d46b6e8d7a6e8df18d2c8605979e86b10f7920d5.tar.xz
lock-dialog: add style_provider to current screen globally
gtk_style_context_add_provider_for_screen (gdk_screen_get_default(), GTK_STYLE_PROVIDER (style_provider), GTK_STYLE_PROVIDER_PRIORITY_USER); https://developer.gnome.org/gtk3/stable/GtkStyleContext.html#gtk-style-context-add-provider-for-screen css data is located at /usr/share/mate-screensaver/lock-dialog-THEME.css, XDG_CONFIG_HOME/gtk-3.0/gtk.css, /usr/share/themes/... /usr/share/mate-screensaver/lock-dialog-THEME.css file has highest priority, if exists: $ gsettings get org.mate.screensaver lock-dialog-theme 'test' $ grep lock-dialog /usr/share/mate-screensaver/lock-dialog-test.css .lock-dialog.background { .lock-dialog frame { .lock-dialog notebook { .lock-dialog entry, .lock-dialog entry:focus { .lock-dialog button, .lock-dialog button:focus { .lock-dialog button:hover, .lock-dialog button:hover:active { ... Otherwise: /usr/share/themes folder if lock-dialog-theme is set to 'debault' $ gsettings get org.mate.screensaver lock-dialog-theme 'default' $ gsettings get org.mate.interface gtk-theme 'TraditionalOk' $ grep lock-dialog /usr/share/themes/TraditionalOk/gtk-3.0/*.css /usr/share/themes/TraditionalOk/gtk-3.0/mate-applications.css:.lock-dialog { /usr/share/themes/TraditionalOk/gtk-3.0/mate-applications.css:.lock-dialog notebook { Priority order: https://developer.gnome.org/gtk3/stable/GtkStyleProvider.html
Diffstat (limited to 'makepot')
0 files changed, 0 insertions, 0 deletions