diff --git a/src/shell-app.c b/src/shell-app.c index 7b9111863..a96b06205 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");