diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2007-05-13 03:42:35 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-05-13 03:42:35 +0800 |
commit | 67821bbcbabbf55f34b43c87934a0d1d27d25420 (patch) | |
tree | 19caae56a85e83baf1d9a64af50c9dc25a60c67d /src/empathy-main.c | |
parent | 321de615c0d7aaecf7f87b31fae65b5b75f0e32e (diff) | |
download | gsoc2013-empathy-67821bbcbabbf55f34b43c87934a0d1d27d25420.tar gsoc2013-empathy-67821bbcbabbf55f34b43c87934a0d1d27d25420.tar.gz gsoc2013-empathy-67821bbcbabbf55f34b43c87934a0d1d27d25420.tar.bz2 gsoc2013-empathy-67821bbcbabbf55f34b43c87934a0d1d27d25420.tar.lz gsoc2013-empathy-67821bbcbabbf55f34b43c87934a0d1d27d25420.tar.xz gsoc2013-empathy-67821bbcbabbf55f34b43c87934a0d1d27d25420.tar.zst gsoc2013-empathy-67821bbcbabbf55f34b43c87934a0d1d27d25420.zip |
[darcs-to-svn @ Save/Resore the visibility of main window and show account dialog if no account is enabled]
svn path=/trunk/; revision=48
Diffstat (limited to 'src/empathy-main.c')
-rw-r--r-- | src/empathy-main.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/empathy-main.c b/src/empathy-main.c index c632fa696..d693ba6b5 100644 --- a/src/empathy-main.c +++ b/src/empathy-main.c @@ -36,7 +36,6 @@ #include <libempathy/gossip-presence.h> #include <libempathy-gtk/empathy-main-window.h> #include <libempathy-gtk/empathy-status-icon.h> -#include <libempathy-gtk/gossip-accounts-dialog.h> #include "empathy-filter.h" @@ -126,7 +125,6 @@ new_channel_cb (EmpathyFilter *filter, int main (int argc, char *argv[]) { - GList *accounts; EmpathyStatusIcon *icon; GtkWidget *window; MissionControl *mc; @@ -159,14 +157,6 @@ main (int argc, char *argv[]) window = empathy_main_window_show (); icon = empathy_status_icon_new (GTK_WINDOW (window)); - /* Show the accounts dialog if there is no enabled accounts */ - accounts = mc_accounts_list_by_enabled (TRUE); - if (accounts) { - mc_accounts_list_free (accounts); - } else { - gossip_accounts_dialog_show (); - } - gtk_main (); mission_control_set_presence (mc, |