On Mon, Mar 4, 2013 at 7:16 PM, Marco Scannadinari
<ma...@scannadinari.co.uk> wrote:
> How can I pass global.reexec_self() to org.gnome.Shell? Sorry, I have
> little to no (g)dbus experience.

Ignoring any error handling:

from gi.repository import Gio, GLib

proxy = Gio.DBusProxy.new_for_bus_sync(
        Gio.BusType.SESSION,
        Gio.DBusProxyFlags.NONE,
        None,
        'org.gnome.Shell',
        '/org/gnome/Shell',
        'org.gnome.Shell',
        None);
proxy.Eval('(s)', 'global.reexec_self();')
_______________________________________________
desktop-devel-list mailing list
desktop-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/desktop-devel-list

Reply via email to