[gedit/wip/gtkapp: 170/197] Add app params
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/gtkapp: 170/197] Add app params
- Date: Mon, 5 Nov 2012 15:28:32 +0000 (UTC)
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]