aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-roster-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-roster-window.c')
-rw-r--r--src/empathy-roster-window.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/empathy-roster-window.c b/src/empathy-roster-window.c
index 2a4bc27f4..7a45df6a4 100644
--- a/src/empathy-roster-window.c
+++ b/src/empathy-roster-window.c
@@ -140,7 +140,6 @@ struct _EmpathyRosterWindowPriv {
GtkRadioAction *compact_size;
GtkUIManager *ui_manager;
- GtkAction *view_history;
GMenu *rooms_section;
GMenu *balance_section;
GAction *view_credit_action;
@@ -2239,15 +2238,6 @@ roster_window_account_removed_cb (TpAccountManager *manager,
TpAccount *account,
EmpathyRosterWindow *self)
{
- GList *a;
-
- a = tp_account_manager_get_valid_accounts (manager);
-
- gtk_action_set_sensitive (self->priv->view_history,
- g_list_length (a) > 0);
-
- g_list_free (a);
-
/* remove errors if any */
roster_window_remove_error (self, account);
@@ -2480,10 +2470,6 @@ account_manager_prepared_cb (GObject *source_object,
roster_window_update_status (self);
- /* Disable the "Previous Conversations" menu entry if there is no account */
- gtk_action_set_sensitive (self->priv->view_history,
- g_list_length (accounts) > 0);
-
set_notebook_page (self);
g_list_free (accounts);