[gedit/wip/gtkapp: 170/197] Add app params



commit 7d9520e212960af38862461b837116c0a11f1657
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sat May 5 23:19:55 2012 +0200

    Add app params

 gedit/gedit-app.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-app.c b/gedit/gedit-app.c
index 897376e..46953c3 100644
--- a/gedit/gedit-app.c
+++ b/gedit/gedit-app.c
@@ -714,7 +714,11 @@ gedit_app_get_default (void)
 #endif
 #endif
 
-	return GEDIT_APP (g_object_new (type, NULL));
+	return GEDIT_APP (g_object_new (type,
+	                                "application-id", "org.gnome.gedit",
+	                                // FIXME: should be HANDLES_COMMAND_LINE
+	                                "flags", G_APPLICATION_FLAGS_NONE,
+	                                NULL));
 }
 
 /* Generates a unique string for a window role */



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