DBusMenu: Spelling fix
Jonas Kümmerlin
8 years ago
753 | 753 | this._rootMenu = menu |
754 | 754 | this._rootItem = this._client.get_root() |
755 | 755 | |
756 | // cleanup: remove existing childs (just in case) | |
756 | // cleanup: remove existing children (just in case) | |
757 | 757 | this._rootMenu.removeAll() |
758 | 758 | |
759 | 759 | if (NEED_NESTED_SUBMENU_FIX) |
766 | 766 | }, this._menuDisconnectHandlers) |
767 | 767 | Util.connectAndSaveId(this._rootItem, { |
768 | 768 | "child-added" : this._onRootChildAdded.bind(this), |
769 | "child-removed" : this._onRootChildRemoved.bind(this), | |
770 | "child-moved" : this._onRootChildMoved.bind(this) | |
769 | "child-removed" : this._onRootChildRemoved.bind(this), | |
770 | "child-moved" : this._onRootChildMoved.bind(this) | |
771 | 771 | }, this._rootItemDisconnectHandlers) |
772 | 772 | |
773 | 773 | // fill the menu for the first time |