aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2007-05-13 03:42:35 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-05-13 03:42:35 +0800
commit67821bbcbabbf55f34b43c87934a0d1d27d25420 (patch)
tree19caae56a85e83baf1d9a64af50c9dc25a60c67d /src
parent321de615c0d7aaecf7f87b31fae65b5b75f0e32e (diff)
downloadgsoc2013-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')
-rw-r--r--src/empathy-main.c10
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,