GNOME Bugzilla – Bug 694834
register with the session
Last modified: 2013-02-28 03:25:07 UTC
in classic mode, we're using nautilus as a required session component. If it doesn't register with the session manager, the failwhale comes up after a short while. This would be trivial if NautilusApplication was a GtkApplication.
Ah, but NautilusApplication *is* a GtkApplication - can I just set register-session to TRUE and GTK+ will take care of the rest?
I get the following message when setting register-session to TRUE when constructing the GtkApplication. (nautilus:19472): Gtk-WARNING **: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client No other Nautilus instance is running in the session.
Nevermind, I didn't have a clean environment and something was overriding DESKTOP_AUTOSTART_ID in my terminal. I pushed the trivial patch to git master.