aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2012-05-09 13:18:52 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2012-05-15 18:40:27 +0800
commit5ab040341e11bb1922de57553a94c8d620c768e5 (patch)
treeccf31c9ae15bc64f0857cb8a90797df32a8b1e72
parenta216699baa8c74eefb17f5e45ba46a94b407bd52 (diff)
downloadgsoc2013-empathy-5ab040341e11bb1922de57553a94c8d620c768e5.tar
gsoc2013-empathy-5ab040341e11bb1922de57553a94c8d620c768e5.tar.gz
gsoc2013-empathy-5ab040341e11bb1922de57553a94c8d620c768e5.tar.bz2
gsoc2013-empathy-5ab040341e11bb1922de57553a94c8d620c768e5.tar.lz
gsoc2013-empathy-5ab040341e11bb1922de57553a94c8d620c768e5.tar.xz
gsoc2013-empathy-5ab040341e11bb1922de57553a94c8d620c768e5.tar.zst
gsoc2013-empathy-5ab040341e11bb1922de57553a94c8d620c768e5.zip
Remove view history action
It doesn't make sense to have this anyway. You can still have history even though you have no accounts configured.
-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);