[gnome-shell] ShellApp: Use unique name for menus
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] ShellApp: Use unique name for menus
- Date: Tue, 17 Jan 2012 19:09:27 +0000 (UTC)
commit b5be62cd1b0a050fdaff821fd9ef60e9c50dacd8
Author: Colin Walters <walters verbum org>
Date: Tue Jan 17 13:45:43 2012 -0500
ShellApp: Use unique name for menus
Otherwise since the auto-activate flag is set for dbus messages, we
may re-vivify applications that have DBus service files.
https://bugzilla.gnome.org/show_bug.cgi?id=667881
src/shell-app.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/shell-app.c b/src/shell-app.c
index 7b91118..a96b062 100644
--- a/src/shell-app.c
+++ b/src/shell-app.c
@@ -1113,7 +1113,7 @@ on_dbus_proxy_gotten (GObject *initable,
g_variant_get_child (menu_property, 0, "&o", &object_path);
state->remote_menu = G_MENU_MODEL (g_dbus_menu_model_get (g_dbus_proxy_get_connection (state->app_proxy),
- state->dbus_name,
+ g_dbus_proxy_get_name (state->app_proxy),
object_path));
g_object_notify (G_OBJECT (self), "menu");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]