1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-20 21:08:06 +01:00

Added gnome-shell extension

This commit is contained in:
David Paleino
2012-11-28 16:28:11 +01:00
parent 259836c295
commit 2da23ff605
4 changed files with 41 additions and 0 deletions

29
gnome-shell/extension.js Normal file
View File

@@ -0,0 +1,29 @@
/*
* Copyright © 2012, David Paleino <d.paleino@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License Version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
const StatusIconDispatcher = imports.ui.statusIconDispatcher;
function init(metadata) {
}
function enable() {
StatusIconDispatcher.STANDARD_TRAY_ICON_IMPLEMENTATIONS['wicd-client.py'] = 'wicd-gtk';
}
function disable() {
StatusIconDispatcher.STANDARD_TRAY_ICON_IMPLEMENTATIONS['wicd-client.py'] = '';
}