Remove 'What's using power...' menu option

The dialog brought up by the "what's using power.." option is currently
more confusing than useful to the user. n

https://bugzilla.gnome.org/show_bug.cgi?id=636982
This commit is contained in:
Bill Nottingham 2010-12-17 14:16:49 -05:00 committed by Owen W. Taylor
parent d66207bc68
commit 2d55eab62e

View File

@ -82,9 +82,6 @@ Indicator.prototype = {
this._otherDevicePosition = 2; this._otherDevicePosition = 2;
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem()); this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this.menu.addAction(_("What's using power..."),function() {
GLib.spawn_command_line_async('gnome-power-statistics --device wakeups');
});
this.menu.addAction(_("Power Settings"),function() { this.menu.addAction(_("Power Settings"),function() {
GLib.spawn_command_line_async('gnome-control-center power'); GLib.spawn_command_line_async('gnome-control-center power');
}); });