[sound-juicer] Register with session manager



commit 9e105cdee3b42119cdb8ade93c824ffe57c4bc6e
Author: Phillip Wood <phillip wood dunelm org uk>
Date:   Wed Sep 10 10:05:34 2014 +0100

    Register with session manager

 src/sj-main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/sj-main.c b/src/sj-main.c
index 603541a..3dad80c 100644
--- a/src/sj-main.c
+++ b/src/sj-main.c
@@ -2481,6 +2481,7 @@ int main (int argc, char **argv)
   app = gtk_application_new ("org.gnome.sound-juicer",
                              G_APPLICATION_FLAGS_NONE);
 
+  g_object_set (app, "register-session", TRUE, NULL);
   g_signal_connect (app, "startup", G_CALLBACK (startup_cb), NULL);
   g_signal_connect (app, "activate", G_CALLBACK (activate_cb), NULL);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]