[polari] app: Never disable room menu and join dialog



commit d7b5c65a1006c99336102b43589e08dcd93d2b2d
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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711833

 src/application.js |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index d37b2a3..b2d9a22 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]