Fix sidebar enable/disable menu item

https://bugzilla.gnome.org/show_bug.cgi?id=601875
This commit is contained in:
Dan Winship 2009-11-14 10:10:33 -05:00
parent ab809faaf0
commit 931cbc6ae3

View File

@ -137,6 +137,7 @@ StatusMenu.prototype = {
})); }));
this._menu.append(item); this._menu.append(item);
item.show(); item.show();
this._sidebarItem = item;
item = this._createImageMenuItem(_('System Preferences...'), 'preferences-desktop'); item = this._createImageMenuItem(_('System Preferences...'), 'preferences-desktop');
item.connect('activate', Lang.bind(this, this._onPreferencesActivate)); item.connect('activate', Lang.bind(this, this._onPreferencesActivate));