Skip to content

Commit

Permalink
Merge branch 'huttli-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Christophe Baptiste committed Oct 24, 2018
2 parents 975b3b8 + e28a70b commit 6470a38
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build: compile-schema
rm -rf _build
mkdir _build
cp -r --preserve=timestamps locale schemas convenience.js extension.js metadata.json prefs.js README.md _build
echo Build was successful
echo Build was successful

compile-schema: ./schemas/org.gnome.shell.extensions.topicons.gschema.xml
glib-compile-schemas schemas
Expand Down
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# UNMAINTAINED

# WARNING

> As stated in issue [#91](https://github.com/phocean/TopIcons-plus/issues/91), I have stopped maintaining this project actively.
I am not a TopIcons-Plus user myself and even not a Gnome user anymore.
The Gnome project chose to drop status icons and any kind of legacy tray, making the project useless on the long term and difficult to maintain due to bugs or lack of features that are out of its scope.

In particular, no wayland support can be achieved.

Moreover, the Gnome project chose to drop status icons and any kind of legacy tray, making the project useless on the long term and difficult to maintain due to bugs or lack of features that are out of its scope.
Open such issues not here but to the Gnome project.

# TopIcons Plus

Expand Down Expand Up @@ -102,5 +103,6 @@ TopIcons Plus is a fork of TopIcons. Many thanks go to Adel Gadllah for making t

Also, thanks to all contributors (code and issues), and especially to:

- [nevesnunes](https://github.com/nevesnunes) for the very nice code improvements he brought up,
- [terrycloth](https://github.com/terrycloth) for his contributions to the installation script and documentation to make it ready for the Fedora packaging.
- [nevesnunes](https://github.com/nevesnunes) for the very nice code improvements he brought up ;
- [terrycloth](https://github.com/terrycloth) for his contributions to the installation script and documentation to make it ready for the Fedora packaging ;
- [huttli](https://github.com/huttli) for packaging various forks and changes, and submitting them upstream.
13 changes: 9 additions & 4 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,13 @@ function enable() {
}

function disable() {

disconnectPanelChildSignals();

if (Main.legacyTray)
moveToTray();
else
destroyTray();
settings.run_dispose();

disconnectPanelChildSignals();
}

function onTrayIconAdded(o, icon, role, delay=1000) {
Expand Down Expand Up @@ -178,7 +177,13 @@ function createTray() {
tray = new Shell.TrayManager();
tray.connect('tray-icon-added', onTrayIconAdded);
tray.connect('tray-icon-removed', onTrayIconRemoved);
tray.manage_screen(global.screen, Main.panel.actor);
if (global.screen) {
// For GNOME 3.28 and older
tray.manage_screen(global.screen, Main.panel.actor);
} else {
// For GNOME 3.30+
tray.manage_screen(Main.panel.actor);
}
placeTray();
}

Expand Down
8 changes: 5 additions & 3 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
"3.22",
"3.23",
"3.24",
"3.26"
],
"3.26",
"3.28",
"3.30"
],
"settings-schema": "org.gnome.shell.extensions.topicons",
"url": "https://github.com/phocean/TopIcons-plus",
"uuid": "[email protected]",
"version": 21
"version": 22
}

0 comments on commit 6470a38

Please sign in to comment.