From 2aa5f7399097719b57f2822ff82a1f34e9c633b2 Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Mon, 29 Feb 2016 00:48:38 -0600 Subject: [PATCH] update greeter config file. removed quit_cb/fadeout. --- data/lightdm-webkit2-greeter.conf | 6 ++++-- src/lightdm-webkit2-greeter.c | 9 --------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/data/lightdm-webkit2-greeter.conf b/data/lightdm-webkit2-greeter.conf index e0a7ed3..56bc07c 100644 --- a/data/lightdm-webkit2-greeter.conf +++ b/data/lightdm-webkit2-greeter.conf @@ -1,10 +1,12 @@ # # [greeter] # webkit-theme = Webkit theme to use. (Default: antergos) +# debug_mode = Greeter theme debug mode. (Default: false) # [greeter] -webkit-theme=antergos +webkit-theme = antergos +debug_mode = false # # [branding] @@ -16,4 +18,4 @@ webkit-theme=antergos [branding] logo = img/antergos.png user_image = img/antergos-logo-user.png -background_images = /usr/share/antergos/wallpapers +background_images = /usr/share/antergos/wallpapers \ No newline at end of file diff --git a/src/lightdm-webkit2-greeter.c b/src/lightdm-webkit2-greeter.c index 3b93e26..e9f6703 100644 --- a/src/lightdm-webkit2-greeter.c +++ b/src/lightdm-webkit2-greeter.c @@ -182,14 +182,6 @@ fade_timer_cb(gpointer data) { } -static void -quit_cb(void) { - // Fade out the greeter - g_timeout_add(40, (GSourceFunc) fade_timer_cb, NULL); - -} - - int main(int argc, char **argv) { GdkScreen *screen; @@ -215,7 +207,6 @@ main(int argc, char **argv) { textdomain (GETTEXT_PACKAGE); gtk_init(&argc, &argv); - // g_unix_signal_add(SIGTERM, (GSourceFunc) quit_cb, /* is callback */ NULL); /* Apply greeter settings from config file */ keyfile = g_key_file_new();