[polari/join-dialog-refresh: 8/8] app: Never disable room menu and join dialog



commit a269eecff288da60fc4ca1106a6a78e28fce6539
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Nov 21 13:42:59 2013 +0000

    app: Never disable room menu and join dialog
    
    Now that the join dialog allows adding new connections, it no longer
    makes sense to disable it when there are no active accounts.

 src/application.js |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index bfeed82..5625aef 100644
--- a/src/application.js
+++ b/src/application.js
@@ -68,11 +68,9 @@ const Application = new Lang.Class({
         let actionEntries = [
           { name: 'room-menu',
             activate: Lang.bind(this, this._onToggleAction),
-            create_hook: Lang.bind(this, this._accountActionsCreateHook),
             state: GLib.Variant.new('b', false) },
           { name: 'show-join-dialog',
             activate: Lang.bind(this, this._onShowJoinDialog),
-            create_hook: Lang.bind(this, this._accountActionsCreateHook),
             accel: '<Primary>n' },
           { name: 'show-message-user-dialog',
             activate: Lang.bind(this, this._onShowMessageUserDialog),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]