aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-status-icon.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-07-16 18:41:15 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-07-16 19:41:49 +0800
commit1c95c220ca3830e83ed436d840528126e9ba9d15 (patch)
tree9c4547d8d001da9995143f773f10bbc53846576a /src/empathy-status-icon.c
parent7cded0b0190dac119d3e7bb6882b2a2a93293db8 (diff)
downloadgsoc2013-empathy-1c95c220ca3830e83ed436d840528126e9ba9d15.tar
gsoc2013-empathy-1c95c220ca3830e83ed436d840528126e9ba9d15.tar.gz
gsoc2013-empathy-1c95c220ca3830e83ed436d840528126e9ba9d15.tar.bz2
gsoc2013-empathy-1c95c220ca3830e83ed436d840528126e9ba9d15.tar.lz
gsoc2013-empathy-1c95c220ca3830e83ed436d840528126e9ba9d15.tar.xz
gsoc2013-empathy-1c95c220ca3830e83ed436d840528126e9ba9d15.tar.zst
gsoc2013-empathy-1c95c220ca3830e83ed436d840528126e9ba9d15.zip
Move the responsibility of popping up the empathy accounts dialog out of the status icon
Diffstat (limited to 'src/empathy-status-icon.c')
-rw-r--r--src/empathy-status-icon.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index f6c63c537..aca2d85c2 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -305,24 +305,7 @@ status_icon_set_visibility (EmpathyStatusIcon *icon,
if (!visible) {
empathy_window_iconify (priv->window, priv->icon);
} else {
- GList *accounts;
- GList *l;
- gboolean one_enabled = FALSE;
-
empathy_window_present (GTK_WINDOW (priv->window), TRUE);
-
- /* Show the accounts dialog if there is no enabled accounts */
- accounts = empathy_account_manager_dup_accounts (priv->account_manager);
- for (l = accounts ; l != NULL ; l = g_list_next (l)) {
- one_enabled = empathy_account_is_enabled (EMPATHY_ACCOUNT (l->data))
- || one_enabled;
- g_object_unref (l->data);
- }
- g_list_free (accounts);
- if (!one_enabled) {
- DEBUG ("No enabled account, Showing account dialog");
- empathy_accounts_dialog_show (GTK_WINDOW (priv->window), NULL);
- }
}
}