wacom: Poke the org.gnome.Shell D-Bus call to show the pad OSD
This feature now belongs in gnome-shell, not g-s-d. The D-Bus API changed correspondingly.
This commit is contained in:
parent
143b7ac849
commit
b5de120e3f
2 changed files with 9 additions and 9 deletions
|
@ -462,8 +462,8 @@ set_osd_visibility (CcWacomPage *page)
|
|||
}
|
||||
|
||||
g_dbus_proxy_call (proxy,
|
||||
"SetOSDVisibility",
|
||||
g_variant_new ("(obb)", device_path, TRUE, TRUE),
|
||||
"Show",
|
||||
g_variant_new ("(ob)", device_path, TRUE),
|
||||
G_DBUS_CALL_FLAGS_NONE,
|
||||
-1,
|
||||
priv->cancellable,
|
||||
|
|
|
@ -649,9 +649,9 @@ cc_wacom_panel_switch_to_panel (CcWacomPanel *self,
|
|||
}
|
||||
|
||||
static void
|
||||
got_wacom_proxy_cb (GObject *source_object,
|
||||
GAsyncResult *res,
|
||||
gpointer data)
|
||||
got_osd_proxy_cb (GObject *source_object,
|
||||
GAsyncResult *res,
|
||||
gpointer data)
|
||||
{
|
||||
GError *error = NULL;
|
||||
CcWacomPanel *self;
|
||||
|
@ -736,11 +736,11 @@ cc_wacom_panel_init (CcWacomPanel *self)
|
|||
g_dbus_proxy_new_for_bus (G_BUS_TYPE_SESSION,
|
||||
G_DBUS_PROXY_FLAGS_NONE,
|
||||
NULL,
|
||||
"org.gnome.SettingsDaemon.Wacom",
|
||||
"/org/gnome/SettingsDaemon/Wacom",
|
||||
"org.gnome.SettingsDaemon.Wacom",
|
||||
"org.gnome.Shell",
|
||||
"/org/gnome/Shell/Wacom",
|
||||
"org.gnome.Shell.Wacom.PadOsd",
|
||||
priv->cancellable,
|
||||
got_wacom_proxy_cb,
|
||||
got_osd_proxy_cb,
|
||||
self);
|
||||
|
||||
/* Stack + Switcher */
|
||||
|
|
Loading…
Add table
Reference in a new issue