summaryrefslogtreecommitdiff
path: root/src/gs-lock-plug.c
AgeCommit message (Collapse)AuthorFilesLines
2022-03-19gs-lock-plug: Fix -Wshorten-64-to-32 warningrbuj1-2/+2
2021-11-20Use a blank line at mostrbuj1-6/+0
2021-07-24Allow change of time and date formats on lock screen v4Eugene San (eugenesan)1-3/+39
2021-06-22update copyright to 2021raveit651-0/+1
2020-11-10Add Show/Hide password emblem in password entryrbuj1-0/+28
2020-04-19gs-lock-plug: remove function castingrbuj1-8/+12
2020-03-13Remove warnings: cast between incompatible function typesrbuj1-1/+1
2019-10-02gs-lock-plug: avoid 'g_type_class_add_private'Pablo Barciela1-6/+2
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-05Remove trailing whitespacesLaurent Napias1-1/+1
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-02-12avoid deprecated GtkStockPablo Barciela1-2/+6
2018-02-01require GTK+ 3.22 and GLib 2.50monsta1-40/+0
2018-02-01Add HiDPI support for lock screen (#148)Victor Kareh1-3/+29
* 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-04-15Bug Fix: g_get_real_name will never return NULL pointerHao Lee1-1/+2
The function g_get_real_name is used to get user's full name, but when the full name is not existed, it will return an empty string instead of NULL.
2016-11-20move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-190/+1
and require libmatekbd and libmate-desktop >= 1.17
2016-10-19Also look for gdm-binary processGeorge Vlahavas1-2/+2
In some systems the gdm binary is actually called "gdm-binary", so we need to check for that too.
2016-06-30fix UI issues introduced in 296b056monsta1-6/+21
2016-06-24use gtk_box_new instead of gtk_{h,v}box_new properlySorokin Alexei1-10/+10
2016-06-18Gtk3: fix several deprecationsSorokin Alexei1-17/+47
2016-04-09add style class lock-dialograveit651-0/+7
2016-01-26GTK3: fix GtkMisc decperation commitWolfgang Ulbrich1-19/+19
2015-12-22mate_gdk_spawn_command_line_on_screen can be used with any GTK+monsta1-5/+5
2015-12-13GTK3: don't use deprecated GtkMiscWolfgang Ulbrich1-0/+34
2015-12-13GTK3: don't use deprecated gdk_cursor_newWolfgang Ulbrich1-0/+16
2015-12-11GTK3: don't use deprecated gdk_cursor_unrefWolfgang Ulbrich1-0/+8
2015-12-10GTK3: don't use deprecated GDK_THREADS_ENTER/LEAVEWolfgang Ulbrich1-0/+4
2015-12-10GTK3: don't use deprecated gtk_button_box_newWolfgang Ulbrich1-0/+4
2015-12-10GTK3: don't use deprecated gtk_{v/h}box_newWolfgang Ulbrich1-0/+5
2015-07-09Use accessor functions instead of direct accessinfirit1-30/+7
Make Gtk2 build with GSEAL_ENABLE And cut down on ifdef hell.
2015-07-09Don't use gdkkeysyms-compat for Gtk+2infirit1-2/+1
2015-07-09Always use GDK_DISPLAY_XDISPLAY instead of GDK_DISPLAYinfirit1-4/+0
Has been in Gtk since 2.22
2015-06-26[joequant] fix segfault due to wrong object being destroyed (ported from ↵Clement Lefebvre1-1/+1
https://github.com/linuxmint/cinnamon-screensaver/pull/106)
2015-04-01check for running DM for user switchingraveit651-15/+17
2014-11-28don't leak memoryMonsta1-0/+4
2014-11-28zero-init signals arraymonsta1-1/+1
2014-06-25Honor locale time settings in lock screenmate-screensaver-1.9.0Stefano Karapetsas1-2/+1
Closes https://github.com/mate-desktop/mate-screensaver/pull/47
2014-06-12Revert "Honor locale time settings in lock screen."infirit1-2/+4
This reverts commit debbeac50a48c78fd0ca1559228e54eebc4d7aa8.
2014-06-12Honor locale time settings in lock screen.brian m. carlson1-4/+2
The time display in the lock screen should honor the LC_TIME variable, including the locale-specific settings for whether to display a 12-hour or 24-hour time. Sending the time and date strings through gettext results in a value which is specific to LC_MESSAGES, which can be different from LC_TIME. Use the %X value for time, which is guaranteed to be appropriate for the locale in question. Signed-off-by: brian m. carlson <[email protected]>
2014-01-28Show date and time in lock dialogStefano Karapetsas1-0/+65
Closes #18 https://github.com/mate-desktop/mate-screensaver/issues/18
2013-11-12Add GTK3 supportStefano Karapetsas1-1/+217
2013-04-27Use GDK to detect caps lock stateStefano Karapetsas1-17/+26
Close #16 (https://github.com/mate-desktop/mate-screensaver/issues/16) Code adapted from: https://git.gnome.org/browse/gnome-screensaver/commit/?id=d30694d542ebe7db6d254bdfd8c9ba77e4b54df2 https://git.gnome.org/browse/gnome-screensaver/commit/?id=372b4d024b367d2fa6a868a272fd994745f92fac
2013-04-13Add support to switch user with LightDMStefano Karapetsas1-45/+63
2013-02-28Use libnotify instead of libmatenotifyStefano Karapetsas1-11/+11
Fix some things in leave message feature
2012-11-18fixed incorrect fsf addressesSteve Zesch1-1/+1
2012-11-03add missing lock-dialog-theme key in gschemaStefano Karapetsas1-2/+2
2012-11-03Port MATE Screensaver to GSettingsraveit1-5/+7