A Gnome Shell Extension for organizing your Gnome Shell top bar. https://extensions.gnome.org/extension/4356/top-bar-organizer/
Find a file
Julian Schacher 689a8107e2
Fix: Fix incorrect ordering
There was an issue where, when you started Gnome Shell, the icons
weren't corrently ordered. It seems that this issue was caused by a
combination of the following two things:

1. When determining the insertion index in `determineInsertionIndex` (in
   `getPositionAndBoxOverwrite` in `_overwritePanelAddToPanelBox`) the
   `boxOrder` got set to `boxOrders.something`, which doesn't make much
   sense considering that the `index` was determined by using
   `resolvedBoxOrders.something`.
   So set `boxOrder` to `resolvedBoxOrders.something` instead, to obtain
   an `insertionIndex`, which makes sense.
2. Ordering the `right` panel box from right to left (in
   `_orderTopBarItems`) seemed to cause issues (, which are probably
   caused by the indices not making sense with the children box counts
   at insertion time).
   Therefore and also because the regular (left-to-right) ordering seems
   to work just fine even for the case described in the comment (, which
   provides the reason for right-to-left ordering,) just use regular
   ordering for all boxes.

Fixing these two things may also fix other incorrect ordering behaviour
at other times.
2021-06-22 00:00:04 +02:00
.vscode Other: Specify a textwidth of 80 for JavaScript 2021-05-14 13:18:30 +02:00
docs Docs: Add documentation on how to create a new tag 2021-06-21 19:32:45 +02:00
src Fix: Fix incorrect ordering 2021-06-22 00:00:04 +02:00
.editorconfig Feature: Add initial preferences dialog 2021-05-25 00:24:44 +02:00
.eslintignore Other: Introduce ESLint for code linting 2021-05-17 17:45:22 +02:00
.eslintrc.yml Other: Introduce ESLint for code linting 2021-05-17 17:45:22 +02:00
.gitignore Build: Add script for packaging this extension 2021-06-19 22:26:23 +02:00
CONTRIBUTING.md Docs: Describe what "New" in old commit messages means 2021-06-19 21:53:56 +02:00
COPYING Other: License this project 2021-05-17 14:37:57 +02:00
git_annotated_tag_template Other: Add template for message of annotated git tags 2021-06-21 18:57:40 +02:00
package-lock.json Other: Introduce ESLint for code linting 2021-05-17 17:45:22 +02:00
package.json Other: Introduce ESLint for code linting 2021-05-17 17:45:22 +02:00
package.sh Build: Add script for packaging this extension 2021-06-19 22:26:23 +02:00