]> git.0d.be Git - empathy.git/commitdiff
Don't display anything when being re-invoked in hidden mode
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 11 Apr 2012 09:01:11 +0000 (11:01 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 11 Apr 2012 09:06:48 +0000 (11:06 +0200)
Hidden is disabled by default, so if Empathy is re-invoked with --hidden
explicitely passed, we shouldn't bring back the contact list or any UI.

https://bugzilla.gnome.org/show_bug.cgi?id=673691

src/empathy.c

index ac84d3317376ec8822081ecf826f481e527410db..b06b595e6af7b31ce7eb6a72a348a4131fcbd740 100644 (file)
@@ -370,13 +370,6 @@ empathy_app_command_line (GApplication *app,
       self->notifications_approver =
         empathy_notifications_approver_dup_singleton ();
     }
-  else
-    {
-      /* We're requested to show stuff again, disable the start hidden global in
-       * case the accounts wizard wants to pop up.
-       */
-      self->start_hidden = FALSE;
-    }
 
   if (self->show_preferences)
     empathy_roster_window_show_preferences (