[yelp] application: don't steal activation timestamp
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp] application: don't steal activation timestamp
- Date: Thu, 6 Aug 2015 07:43:10 +0000 (UTC)
commit 0ae7bbd3043bf9a3b5767578bfc2a04ab17dc511
Author: Cosimo Cecchi <cosimo endlessm com>
Date: Thu Jul 30 16:46:50 2015 -0700
application: don't steal activation timestamp
When using GtkApplication, nothing else should open the display before
GtkApplication does. We should pass FALSE to gtk_get_option_group() to
get that behavior.
This fixes startup notification not working correctly for Yelp when the
binary is already running.
https://bugzilla.gnome.org/show_bug.cgi?id=753084
src/yelp-application.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/yelp-application.c b/src/yelp-application.c
index e314e8b..4c5159a 100644
--- a/src/yelp-application.c
+++ b/src/yelp-application.c
@@ -234,7 +234,7 @@ yelp_application_cmdline (GApplication *app,
gint i;
context = g_option_context_new (NULL);
- g_option_context_add_group (context, gtk_get_option_group (TRUE));
+ g_option_context_add_group (context, gtk_get_option_group (FALSE));
g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE);
g_option_context_parse (context, &argc, arguments, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]