[empathy] Remove view history action
- From: Danielle Madeley <daniellem src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Remove view history action
- Date: Tue, 15 May 2012 10:45:16 +0000 (UTC)
commit 5ab040341e11bb1922de57553a94c8d620c768e5
Author: Danielle Madeley <danielle madeley collabora co uk>
Date: Wed May 9 15:18:52 2012 +1000
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.
src/empathy-roster-window.c | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/empathy-roster-window.c b/src/empathy-roster-window.c
index 2a4bc27..7a45df6 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]