Temporary fix for issue where identity selector exits without
sending identity.
if (this.request_queue.is_empty())
{
candidates = null;
- if (!parent_app.explicitly_launched)
- Gtk.main_quit ();
+ if (!parent_app.explicitly_launched) {
+// The following occasionally causes the app to exit without sending the dbus
+// reply, so for now we just don't exit
+// Gtk.main_quit ();
+// just hide instead
+ this.hide();
+ }
} else {
candidates = this.request_queue.peek_head().candidates;
}
// callback because we may be being called from a 'yield')
Idle.add(
() => {
- request.return_identity (identity);
- if (!explicitly_launched)
- Idle.add( () => { Gtk.main_quit(); return false; } );
+ request.return_identity (identity);
+// The following occasionally causes the app to exit without sending the dbus
+// reply, so for now we just don't exit
+// if (!explicitly_launched)
+// Idle.add( () => { Gtk.main_quit(); return false; } );
return false;
}
);