summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-04-16Remove function casting for g_idle_add (function, data)rbuj6-20/+29
2020-04-09Custom background image for lock screenrbuj2-1/+34
2020-03-13Remove warnings: cast between incompatible function typesrbuj7-20/+17
2020-03-13Remove warning function declaration isn’t a prototyperbuj1-1/+1
2020-03-10gs-window-x11: Remove warning "variable ‘widget’ set but not used"rbuj1-1/+1
2019-11-28avoid redundant redeclarationsPablo Barciela12-24/+2
2019-10-29migrate from intltool to gettextWu Xiaotian2-5/+7
2019-10-10Add keywords key to .desktop filesMartin Wimpress1-0/+2
Taken from downstream Debian patch. Make keyboard translatable. Add translator notes.
2019-10-02gs_prefs: avoid 'g_type_class_add_private'Pablo Barciela1-7/+2
2019-10-02gs-job: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-10-02gs-listener-dbus: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-10-02gs-manager: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-10-02copy-theme-dialog: avoid 'g_type_class_add_private'Pablo Barciela1-34/+3
2019-10-02gs-theme-manager: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-10-02gs-lock-plug: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-10-02gs-fade: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-10-02gs-grab-x11: avoid 'g_type_class_add_private'Pablo Barciela1-7/+3
2019-10-02gs-window-x11: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-10-02gs-monitor: avoid 'g_type_class_add_private'Pablo Barciela1-7/+2
2019-10-02gs-watcher-x11: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
2019-08-26remove old HAL remnantsmonsta1-37/+1
2019-08-26Ensure lock on suspend and unlock on resumeAli Akbar3-2/+119
This patch is adopted from xfce4-screensaver: https://git.xfce.org/apps/xfce4-screensaver/commit/?id=9e53bb2866 Modified to match screen locking behavior of mate-power-manager. Introduced new Inhibitor lock to make sure lock was in place and user will be greeted with unlock dialog when resumes from suspend/ hibernate.
2019-08-22Use gresources for mate-screensaver-preferences.uirbuj2-7/+11
2019-08-19lock-dialog: add style_provider to current screen globallyrbuj1-1/+6
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
2019-08-11Replace deprecated gtk_css_provider_get_defaultraveit651-1/+5
2019-07-11drop libXxf86 dependencyraveit651-68/+0
The X server hasn't implemented it in over 10 years. and it was dropped from debian since a long time. fixes https://github.com/mate-desktop/mate-screensaver/issues/199
2019-07-05Remove trailing whitespacesLaurent Napias2-2/+2
2019-04-04Add ELOGIND supportVictor Kareh1-0/+2
Reuses WITH_SYSTEMD #define to reduce #ifdef mess. ELOGIND is not officially supported, but since it's a subset of systemd, it should work out of the box. Co-authored-by: Joakim Tjernlund <[email protected]>
2019-01-25mate-screensaver-command: Support unlocking (--unlock) the screensaver via CLI.Mike Gabriel2-0/+17
2018-09-09fade: fix fade computation mathraveit651-1/+1
commit https://github.com/mate-desktop/mate-screensaver/commit/599bc81 changed the fade time out to be less than a 1000ms. Unfortunately, this broke the fade because the math for computing the number of fade steps used integer arithmetic, and performed a division by a 1000. https://bugzilla.gnome.org/show_bug.cgi?id=672583 origin commit: https://gitlab.gnome.org/GNOME/gnome-screensaver/commit/7e2085a
2018-08-24fix more GdkScreen related deprecationsAlexei Sorokin4-92/+81
This is a follow-up to 5d4416a to fix #126
2018-08-22gs-grab-x11: replace deprecated gdk_error_trap_push/popraveit651-5/+8
2018-08-22gs-visual-gl: replace deprecated gdk_error_trap_push/popraveit651-2/+2
2018-08-19Remove "monitor" pointer from debug informationZhang Xianwei2-4/+3
Signed-off-by: Zhang Xianwei <[email protected]>
2018-08-13lock-plug: Only scale lock-screen widgets on older versions of GTKVictor Kareh1-0/+4
2018-07-14gs-lock-plug: avoid deprecated 'gdk_keymap_get_default'Pablo Barciela1-1/+1
2018-05-27support new mate-menus apiyetist1-43/+33
2018-05-14Fixed some gdk deprecationsyetist4-19/+32
2018-02-12avoid deprecated GtkStockPablo Barciela2-3/+7
2018-02-01require GTK+ 3.22 and GLib 2.50monsta7-262/+1
2018-02-01Add HiDPI support for lock screen (#148)Victor Kareh2-5/+33
* Password dialog is now scaled * Background of lock screen is now scaled
2018-01-02gs-lock-plug.c: Fix build warning:Pablo Barciela1-1/+4
ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
2017-12-19WidthOfScreen and HeightOfScreen implementationPablo Barciela3-20/+5
This commit reverts: https://github.com/mate-desktop/mate-screensaver/commit/816394c1a6ce9968dba3e1b0ecc884c8ccca4d43 And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_get_height
2017-09-11fix loop initial declarationsraveit651-2/+2
2017-09-09 Fix: idle slider display in all languagesZenWalker1-5/+11
2017-09-08Fix: idle slider display bugZenWalker1-0/+63
Fixes #101
2017-08-10avoid deprecated gdk_screen_get_width/heightZenWalker3-5/+20
2017-07-26don't use deprecated gtk_show_uriraveit651-0/+7
2017-04-18build: put new bsdauth file in the tarballmonsta1-0/+1
2017-04-18Implement OpenBSD authentication using bsd_auth(3).Robert Nagy4-7/+123
OpenBSD does not have nor use pam(8) for password authentication but instead uses bsd_auth(3): add a bsd_auth authentication scheme to make locking possible. This has been a part of gnome-screensaver already but was probably removed at one point. This is mostly identical to that code, with some minor modifications.