Florian Müllner
3bc06bb78f
window-list: Set title and icon on prefs page
...
Like the workspace prefs page, the existing window list prefs
should set title and icon for the view switcher.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/344 >
2024-10-16 14:36:32 +02:00
Florian Müllner
832cf0fc84
workspace-indicator: Set title and icon on prefs page
...
The window-list extension will add the workspace prefs as
additional page, so it needs a title and icon for the
view switcher.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/344 >
2024-10-16 14:36:32 +02:00
Florian Müllner
fc265fbe59
workspace-indicator: Don't mention "top bar" in prefs
...
The preferences will be shared with the window-list extension,
so avoid mentioning a specific placement.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/344 >
2024-10-16 14:36:32 +02:00
Florian Müllner
1459e3d6f9
workspace-indicator: Use Adw.EntryRow for workspace rows
...
Entries in lists are tricky, so best stick with default
patterns provided by libadwaita than rolling our own.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/344 >
2024-10-16 14:36:32 +02:00
Florian Müllner
e6bc9fc2fc
workspace-indicator: Use Adw.ButtonRow for new-item row
...
libadwaita added a dedicated widget for button rows, so let's
use that instead of rolling our own. While at it, promote the
accessible label to the (visible) title to be more in line with
current design patterns.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/344 >
2024-10-16 14:36:32 +02:00
Florian Müllner
2b4db8095e
workspace-indicator: Split out workspaces prefs page
...
The window-list extension already uses the extension code for
its embedded workspace indicator, this will allow it to do the
same for the preference page.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/344 >
2024-10-16 14:36:32 +02:00
Florian Müllner
fa3f9bcaee
window-list: Save and restore positions as runtime state
...
While it doesn't make sense for window list positions to be truly
persistent like dash items, some persistence is desirable.
Otherwise any manually set position is lost when the extension
is disabled, for example when locking the screen.
To address this, serialize the positions as runtime state on drop,
and restore them when populating the list.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/338 >
2024-10-16 12:19:52 +00:00
Florian Müllner
3f660ee973
window-list: Add id property to buttons
...
A string ID that uniquely identifies a button will allow to
serialize/deserialize the positions in the next commit.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/338 >
2024-10-16 12:19:52 +00:00
Florian Müllner
f87a25e913
window-list: Handle DND events near the drop target
...
Even with the previous change, the dragged actor has the tendency
of obscuring the possible drop target. To alleviate this, handle
DND events near drop targets as if they occurred on the target.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/338 >
2024-10-16 12:19:52 +00:00
Florian Müllner
228811b873
window-list: Shrink drag-actor size during drags
...
Like the previous commit, this helps with putting the focus on
the target location instead of the dragged item.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/338 >
2024-10-16 12:19:52 +00:00
Florian Müllner
9b34ac1eea
window-list: Fade out drag source during drag
...
During a drag operation, the focus is on the where to drop the dragged
item, not to identify it or its origin.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/338 >
2024-10-16 12:19:52 +00:00
Jakub Steiner
a725361fc9
window-list: Indicate drop target more prominently
...
The drop target is the main focus of the drag operation, so make
its styling more prominent.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/338 >
2024-10-16 12:19:52 +00:00
Florian Müllner
3461a0523c
window-list: Allow rearranging window buttons
...
We currently sort buttons by the stable sequence to get a persistent
and predictable order. However some users want to customize that
order, and rearrange the buttons as they see fit.
Support that use case by implementing drag-and-drop behavior based
on the overview's dash.
Closes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/4
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/338 >
2024-10-16 12:19:52 +00:00
Florian Müllner
911387bc49
window-list: Rename XDND related methods and props
...
The window list buttons themselves will become draggable, so
include "xdnd" in the existing drag handling to disambiguate
it.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/338 >
2024-10-16 12:19:52 +00:00
Florian Müllner
93a75dccd7
window-list: Split out _createTitleActor() hook
...
This will allow creating a suitable drag actor that matches the
current title. In particular this allows for a drag actor that
isn't based on `ClutterClone`, and therefore doesn't inherit
focus/active/minimize/etc. styles that don't make sense outside
the actual window list.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/338 >
2024-10-16 12:19:52 +00:00
Florian Müllner
763d66b827
window-list: Add TitleWidget:abstract-label property
...
When true, the real label is replaced by a more abstract
representation. When used as drag actor, the focus is not
on identifying the window/app, but about picking a drop
location, and the reduced style helps with that.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/338 >
2024-10-16 12:19:52 +00:00
Florian Müllner
3c325c1562
window-list: Split out common TitleWidget class
...
Both app- and window title use the same structure, so add a shared
base class.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/338 >
2024-10-16 12:19:52 +00:00
Florian Müllner
dba3de2a8e
window-list: Split out some common code
...
Adding an app button and adding a window button involves some
shared steps, move those to a shared `_addButton()` method.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/338 >
2024-10-16 12:19:52 +00:00
Florian Müllner
f1671bc206
window-list: Remove outdated style
...
A long time ago, the window list used to embed the bottom message
tray, which caused notifications to inherit the window-list's
font style.
Since that's no longer the case, we have no business in messing
with notification styling, so stop doing that.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/338 >
2024-10-16 12:19:52 +00:00
Florian Müllner
824c2a5cee
reuse: Convert to REUSE.toml
...
The latest iteration of the spec deprecates .reuse/dep5 in favor
of REUSE.toml. Not a fan of the change (more in-your-face, makes
completing for README.md harder), but what do you do 🤷
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/343 >
2024-10-15 22:38:18 +02:00
Florian Müllner
548d7659e1
window-list: Switch to Adw.SwitchRow
...
libadwaita fixed the actionable implementation of Adw.SwitchRow,
so can use the convenience widget instead of composing our own.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/341 >
2024-10-07 19:17:54 +00:00
Florian Müllner
0162644041
window-list: Remove superfluous bindings
...
The setting is already bound to the switch via the corresponding action,
no need to also set up a binding.
In fact, the second binding is actively harmful, as it keeps the
connection alive until dispose, so the setting is reset on
garbage collection.
Closes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/511
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/341 >
2024-10-07 19:17:54 +00:00
Florian Müllner
062a3d21ab
window-list: Add missing action
...
Commit 24ba03fe9 added a new setting, but forgot to create the
corresponding action.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/341 >
2024-10-07 19:17:54 +00:00
Florian Müllner
a5a92026ac
window-list: Fix active state
...
Commit c72b8b21 fixed the styling of the active window's button,
but missed that the `active` property uses the style information
as well.
Adjust it to use the correct actor when checking for the style class.
Closes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/529
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/342 >
2024-10-07 18:51:32 +00:00
Florian Müllner
28fd210f28
window-list: Fix minimized styling
...
Commit 039c66e7b7 wrapped the button in a container to
animate transitions, but didn't adjust the `.minimized`
styling to still apply to the button (where it is
expected) rather than the wrapper.
Fix this just like commit c72b8b21 did for the
`.focused` styling.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/342 >
2024-10-07 18:51:32 +00:00
Fabio Tomat
b14f040386
Update Friulian translation
2024-10-07 15:05:58 +00:00
Florian Müllner
81aade6659
classic: Add missing top bar indicators
...
The only intended difference from the regular session is that the
date menu moves to the right. However in the meantime, gnome-shell
added a couple more (usually hidden) indicators, but we never
updated the session mode definition.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/339 >
2024-09-28 04:54:18 +02:00
Florian Müllner
9d7d52c1de
window-list: Simplify app button
...
Depending on the number of windows, the button either shows the
title of the lone window, or the app title for multiple windows.
While we always recreate the single-window title, we only create
the app title once and hide it as necessary. Avoiding re-creating
a simple actor 50% of mode transitions isn't worth the additional
complexity, so just handle both single- and multi-window titles
the same way.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/337 >
2024-09-25 16:44:48 +02:00
Florian Müllner
3830985fa9
window-list: Split out AppTitle class
...
Even though it's just a box with icon and label, it's cleaner to
have a dedicated class.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/337 >
2024-09-25 16:44:48 +02:00
Florian Müllner
d43abe0869
window-list: Don't recreate icons on theme changes
...
All icons use `StIcon`, which already updates itself correctly
on icon theme changes.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/337 >
2024-09-25 03:45:39 +02:00
Florian Müllner
860c56f83e
window-list: Small stylesheet cleanup
...
The light stylesheet duplicates some declarations, and the
last occurrence matches what we already inherit from the
dark stylesheet.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/337 >
2024-09-25 03:39:28 +02:00
Florian Müllner
2716cb0b98
Bump version to 47.0
...
Update NEWS.
47.0
2024-09-14 18:48:33 +02:00
Irénée THIRION
6048971663
Update French translation
2024-09-12 13:06:50 +00:00
Rūdolfs Mazurs
04cab9954b
Update Latvian translation
2024-09-10 19:45:49 +00:00
Dušan Kazik
cbb622a099
Update Slovak translation
2024-09-10 10:45:22 +00:00
Aefgh Threenine
f3b505867f
Update Thai translation
2024-09-10 09:19:08 +00:00
Ask Hjorth Larsen
7bee509ecd
Update Danish translation
2024-09-08 17:01:48 +00:00
Andi Chandler
b6ac158139
Update British English translation
2024-09-08 13:02:41 +00:00
Andika Triwidada
9af1a79434
Update Indonesian translation
2024-09-03 23:36:50 +00:00
Daniel
fa9e2dc71c
Updated Spanish translation
2024-09-03 11:26:45 +02:00
Aurimas Černius
e94f10ac16
Update Lithuanian translation
2024-09-02 19:41:25 +00:00
Fran Dieguez
0319c6e8cb
Update Galician translation
2024-09-02 18:16:21 +00:00
Alexander Shopov
fe1ae49dbe
Update Bulgarian translation
2024-09-02 08:50:17 +00:00
twlvnn kraftwerk
353598e6d8
Update Bulgarian translation
...
(cherry picked from commit a99515feef )
2024-09-02 08:47:25 +00:00
Florian Müllner
36266e5a5a
Bump version to 47.rc
...
Update NEWS.
47.rc
2024-09-01 13:55:50 +02:00
Florian Müllner
f7a371c0bf
ci: Update ci-fairy include
2024-09-01 13:55:50 +02:00
Sabri Ünal
018815d9e9
Update Turkish translation
2024-09-01 11:09:10 +00:00
Piotr Drąg
82fd82b30c
Update Polish translation
2024-08-31 13:42:26 +00:00
Daniel Șerbănescu
26f5e23faa
Update Romanian translation
2024-08-30 14:12:48 +00:00
Hugo Carvalho
0989cb3836
Update Portuguese translation
2024-08-30 10:28:12 +00:00