Loading
Commits on Source 58
-
Florian Müllner authored
'icon-missing' is not an actual icon name. It somewhat works because an invalid icon name will fallback to the correct 'image-missing', however for apps the generic app icon is a better fallback. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/315>
-
Florian Müllner authored
Shortly after the window-list extension was added, it gained a workspace switcher based on the workspace indicator extension. Duplicating the code wasn't a big issue while the switcher was a simple menu, but since it gained previews with a fair bit of custom styling, syncing changes between the two extensions has become tedious, in particular as the two copies have slightly diverged over time. In order to allow the two copies to converge again, the indicator code needs to be separate from the extension boilerplate, so split out the code into a separate module. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
Add a style class to the indicator itself, and only select descendant elements. This allows using the briefer class names from the window-list extension without too much risk of conflicts. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
This will eventually allow us to re-use the workspace-indicator extension without changing anything but the used prefix. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
This will allow reusing the code from the window-list extension without limiting the ability to specify styling that only applies to one of the extensions. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
Apply the changes from the last commit to the workspace-indicator copy, and override the base style class from the extension. This will eventually allow us to share the exact same code between the two extensions, but still use individual styling if necessary. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
In order to use a PanelMenu.Button in the bottom bar, we have to tweak its menu a bit. We currently handle this inside the indicator, but that means the code diverges from the original code in the workspace-indicator extension. Avoid this by using a small subclass that handles the adjustments. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
For now the menu is always set at construction time, however this will change in the future. Prepare for that by handling the `menu-set` signal, similar to the top bar. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
Each constant is only used once, so all they do is disconnect the actual value from the code that uses it. The copy in the window-list extension just uses the strings directly, do the same here. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
We already track the current workspace index, use that instead of getting it from the workspace manager again. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
We never added anything else to the menu, so we can just operate on the entire menu instead of an intermediate section. This removes another difference with the window-list copy. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
The indicator is located in the top bar, so tooltips are always shown below the previews. However supporting showing tooltips above previews when space permits allows the same code to be used in the copy that is included with the window-list extension. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
While this is always the case for the workspace indicator, adding the check will allow to use the same code in the window list. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
The code to update the menu labels is a bit cleaner in the window-list extension, so use that. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
Currently the same method is used to get the label text for the indicator itself and for the menu items. A method that behaves significantly different depending on whether a parameter is passed is confusing, so only deal with the indicator label and directly use the mutter API to get the workspace names for menu items. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
The two extensions currently use a slightly different label in menu mode: The workspace indicator uses the plain workspace number ("2"), while the window list includes the number of workspaces ("2 / 4"). The additional information seem useful, as well as the slightly bigger click/touch target, so copy the window-list behavior. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307> -
Florian Müllner authored
Sync sizes and padding with the window-list previews. Tone down the colors a bit, but less then the current window-list style where workspaces blend too much into the background and the selection is unclear. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
The window-list extension already includes light styling for its copy of the workspace indicator. Just copy that over to support the light variant here as well. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
The window-list extension is about to import the workspace-indicator stylesheet. Explicitly pack css files, so the stylesheet is included in the bundle. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
We are now at a point where the code from the workspace-indicator extension is usable from the window-list. However instead of updating the copy, go one step further and remove it altogether, and copy the required files at build time. This ensures that future changes are picked up by both extensions without duplicating any work. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/307>
-
Florian Müllner authored
gnome-shell already includes a method for switching workspaces via scroll events. Use that instead of implementing our own. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/316>
-
Florian Müllner authored
Meta.Workspace has had an `active` property for a while now, so we can use a property binding instead of tracking the active workspace ourselves. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/316>
-
Florian Müllner authored
The previews will become a bit more complex soon, so spit them out into a dedicated class. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/316>
-
Florian Müllner authored
We currently avoid previews from overflowing in most setups by artificially limiting them to a maximum of six workspaces. Add some proper handling to also cover cases where space is more limited, and to allow removing the restriction in the future. For that, wrap the previews in an auto-scrolling scroll view and add overflow indicators on each side. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/316>
-
Florian Müllner authored
The space in the top bar is too limited to include the workspace names. However we'll soon replace the textual menu with a preview popover. We can use bigger previews there, so we can include the names to not lose functionality with regards to the current menu. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/316>
-
Florian Müllner authored
Both the regular session and GNOME classic use a horizontal layout nowadays, so it doesn't seem worth to specifically handle vertical layouts anymore. The extension will still work when the layout is changed (by some other extension), there will simply be a mismatch between horizontal previews and the actual layout. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/316>
-
Florian Müllner authored
Since the regular session also switched to horizontal workspaces, using a vertical menu has been a bit awkward. Now that our previews have become more flexible, we can use them in the collapsed state as well as when embedded into the top bar. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/316>
-
Florian Müllner authored
Now that previews scroll when there are too many workspaces, there is no longer a reason for the 6-workspace limit. However some users do prefer the menu, so rather than drop it, turn it into a proper preference. Closes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/336 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/316>
-
Florian Müllner authored
Now that we have the option, the window-list should expose it in its preference window like the workspace-indicator. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/316>
-
Jordi Mas authored
-
Florian Müllner authored
Category items are based on BaseMenuItem rather than MenuItem, so the accessible relationship isn't set up automatically for us. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/319>
-
Florian Müllner authored
The underlying structs were made opaque a while ago, so direct access to the struct fields is no longer possible. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/320>
-
Florian Müllner authored
The file is now copied at build time from the workspace-indicator extension. Fixes: 0c42f162 ("window-list: Use actual copy of workspace-indicator") Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/321>
-
Martin authored
-
Hugo Carvalho authored
(cherry picked from commit dd165565)
-
Scrambled 777 authored
-
Florian Müllner authored
We currently assume that the `CI_COMMIT_TAG` variable matches the version component of the generated dist tarball. That is usually correct, but sometimes errors happen and a wrong tag is pushed, and the real release uses something like "46.0-real". Account for that by building the artifact path from `meson introspect` and exporting it as environment variable. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/324>
-
Florian Müllner authored
In the future, the module will automate uploading the release tarball. We already use the CI pipeline to generate the tarball, so it's easy to hook up the module and provide some testing before the module goes into production. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/324>
-
Scrambled 777 authored
-
Artur S0 authored
-
Милош Поповић authored
-
Yosef Or Boczko authored
-
Balázs Úr authored
-
Florian Müllner authored
We want all buttons in the window list to have the same size, but that's already achieved via max/natural-width in the CSS. Not enforcing the equal size via the layout manager will allow buttons to temporarily have a different size when we start animating additions and removals. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/325>
-
Florian Müllner authored
This will allow to animate the transition. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/325>
-
Florian Müllner authored
Buttons are currently added and removed from the list without any transitions, which gives the list a "jumpy" feel. Instead, do what we do elsewhere and smoothly animate additions and removals by re-using the dash's ItemContainer class. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/325>
-
Florian Müllner authored
DashItemContainer already has support for showing a tooltip-like label, so now that we use that for animating items, we can use it for tooltips as well. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/325>
-
Florian Müllner authored
Update NEWS.
-
Florian Müllner authored
Commit 039c66e7 wrapped the button in a container to animate transitions, but didn't adjust the `.focused` styling to still apply to the button (where it is expected) rather than the wrapper. Fix that. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/328>
-
Sabri Ünal authored
-
Chao-Hsiung Liao authored
(cherry picked from commit b89a93a4)
-
Florian Müllner authored
node occasionally fails with an "Illegal instruction" error, which hopefully has been fixed by a package update. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/331>
-
Jakub Steiner authored
- Contemporary look. Fewer borders, thinner outlines for workspace indicators - Lacks the designed unfocused window separators. - Relies on https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/328 Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/421 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/330>
-
Florian Müllner authored
Based on an original "top-icons" extension by Adel Gadllah that is no longer maintained. The code has been heavily simplified and modernised, and adapted to integrate into the top bar more seemlessly. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/194>
-
Florian Müllner authored
For the window-list extension, it is important that the workspace previews extend to the bottom edge for easier click targets. That broke while merging the code with the workspace-indicator, fix it again by moving the padding from the parent box into the thumbnail children. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/327>
-
Florian Müllner authored
Update NEWS.
-
Jeremy Bícha authored