Commit Graph

2408 Commits

Author SHA1 Message Date
Florian Müllner 83d7ae031b workspace-indicator: Refine preview settings
Add a group title, and change the single switch row to radio rows
to explicitly choose between "Previews" and "Workspace Name".

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/405>
2025-06-17 17:02:11 +02:00
Florian Müllner 17b37ff577 workspace-indicator: Add background when using name label
Panel buttons are flat, so the name+arrow are not immediately
recognizable as a single control. Address this by adding a
background to the button when using the name label.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/405>
2025-06-17 17:02:11 +02:00
Florian Müllner ee2c76de1d workspace-indicator: Show full name when using menu
With workspace names becoming a more prominent feature, it makes
sense to expose them without opening the menu.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/405>
2025-06-17 17:02:11 +02:00
Florian Müllner 01d8d4871e workspace-indicator: Expose active workspace name on menu
When not using previews, we currently use a numerical presentation
like "1 / 4" for the top bar button. We will change that to use
the active workspace name instead.

As the menu already has to track workspace switches and name changes,
expose the active workspace name there, so that the button doesn't
have to duplicate the tracking.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/405>
2025-06-17 17:02:11 +02:00
Florian Müllner 1186b2a7a0 workspace-indicator: Include menu with previews
The menu is currently only used when previews are disabled. But
as we are going to use the menu for changing workspace names, it
should be always available. So add it unconditionally, and show
it on right-click when using previews.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/405>
2025-06-17 17:02:11 +02:00
Florian Müllner 2840a6b364 workspace-indicator: Remove preview labels
Previews are no longer used in the menu, so they are never
shown with labels.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/405>
2025-06-17 17:02:11 +02:00
Florian Müllner 990e340366 workspace-indicator: Add back plain workspaces menu
Unlike in the top bar, the previews in the menu were not too
successful. Change back to a regular menu with a list of workspace
names.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/405>
2025-06-17 17:02:11 +02:00
Florian Müllner c9678e89d2 workspace-indicator: Split out WorkspacesMenu
The menu currently only contains the previews without any logic
on its own. This is about to change, so split the menu into a
separate class.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/405>
2025-06-17 17:02:11 +02:00
Florian Müllner 53ba3ce620 workspace-indicator: Remove left-over variable
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/405>
2025-06-17 17:02:11 +02:00
Florian Müllner 301017904b lint: Require dangling comma in multi-line imports
This keeps the config in line with gjs, which added the option
in gjs@f7d3b5d4c8.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/411>
2025-06-17 15:59:58 +02:00
Florian Müllner 0ad959de1e window-list: Only remove fullscreen tracking in overview
Since commit 981e8e42e2, we untrack chrome in the overview to avoid
fullscreen tracking interfering with hiding the window list in the
overview.

However this also means that we no longer contribute to the struts
while in the overview, which can lead to unwanted window resizes
around the transition.

So instead of fully untracking the actor, retrack without fullscreen
tracking.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/409>
2025-06-17 13:13:09 +02:00
Florian Müllner a3ff3c79b2 Revert "window-list: Fix initial visibility"
Since we no longer track fullscreen state in the overview,
the workaround is no longer necessary.

This reverts commit 6ee4205f1e.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/409>
2025-06-17 13:13:09 +02:00
Florian Müllner 8819ed01c8 Bump version to 49.alpha.0
Update NEWS.
49.alpha.0
2025-06-08 13:40:14 +02:00
Florian Müllner 59e6aefd5e build: Use build-aux for auxiliary build scripts
This is the name most projects have settled on, so let's use that
as well.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/406>
2025-06-08 13:22:39 +02:00
Emilio Sepúlveda 7c6c4f0ef9 Update Interlingua translation 2025-05-27 00:22:06 +00:00
Neal Gompa 2552c92fe1 build: Do not install anything in xsessions when X11 is disabled
Fixes: b05eb4eb6d ("build: Allow disabling the X11 session")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/400>
2025-05-12 21:45:26 +00:00
Jordan Petridis d6b605e801 meson: Switch the x11 default value to false
We might remove it completely this cycle, but till then we certainly want
to disable it by default regardless

Mirror change of gnome-session [1]

[1] https://gitlab.gnome.org/GNOME/gnome-session/-/commit/21f10a9edac66a8e03419b03032ad7895b577d32

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/399>
2025-05-12 22:49:54 +03:00
Florian Müllner b0b0f527be screenshot-window-sizer: Adapt to maximization changes
Mutter now exposes the is_maximized() method for checking for
full maximization, and the plain (un)maximize() methods no
longer cover partial maximization.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/398>
2025-05-07 13:17:56 +02:00
Florian Müllner 30f4beb3e1 window-list: Adapt to maximization changes
Mutter now exposes the is_maximized() method for checking for
full maximization, and the plain (un)maximize() methods no
longer cover partial maximization.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/398>
2025-05-07 13:16:34 +02:00
Neal Gompa b05eb4eb6d build: Allow disabling the X11 session
This is consistent with gnome-session and the rest of the GNOME
session stack.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/396>
2025-04-24 09:40:01 -04:00
Daniel Buch Hansen e06b1e8236 windowsNavigator: Adjust to get_key_focus() changes in Clutter
Clutter.Stage.get_key_focus() now always returns the value of
the Clutter.Stage.keyFocus property, whereas previously it
would return the stage itself when no explicit focus was set.

Adjust the code accordingly.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/561
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/395>
2025-04-14 18:57:14 +02:00
Florian Müllner 76e4dbae3f Bump version to 48.1
Update NEWS.
48.1
2025-04-13 17:06:43 +02:00
Danial Behzadi 1d2155b446 Update Persian translation 2025-04-01 03:45:27 +00:00
Hugo Carvalho f68d61eeca Update Portuguese translation 2025-03-29 14:54:30 +00:00
Florian Müllner 63e6fec602 Bump version to 48.0
Update NEWS.
48.0
2025-03-16 13:25:14 +01:00
Stuart Hayhurst 27d463f572 meta: Correct case and styling for "Launch new instance" and "windowNavigator"
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/392>
2025-03-15 15:31:02 +00:00
Victor Kareh f4e044b4fe apps-menu: Scroll application into view when active
When an ApplicationMenuItem becomes active, scroll the application
scroll box so that it becomes visible. This stopped working when the
gnome-shell API changed from getActive()/setActive() to the active
GObject property.

Closes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/562

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/391>
2025-03-13 18:56:07 -04:00
Florian Müllner 3b4e241b26 apps-menu: Stop tracking icon-theme changes
St.Icon already tracks theme change, so this is no longer necessary.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/390>
2025-03-13 22:46:51 +01:00
Florian Müllner 019c935647 Bump version to 48.rc
Update NEWS.
48.rc
2025-03-03 17:23:22 +01:00
Florian Müllner 29d11e5879 screenshot-window-sizer: Adjust to mutter change
Mutter no longer hides the `event` parameter in Meta.KeyHandlerFuncs,
so update the function to account for the additional parameter.

Closes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/559

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/388>
2025-03-03 16:18:52 +01:00
Jiri Grönroos 662fe8e144 Update Finnish translation 2025-03-02 10:02:51 +00:00
Luming Zh 8bf1132bec Update Chinese (China) translation 2025-03-02 06:20:42 +00:00
Aurimas Černius c989fa165c Update Lithuanian translation 2025-02-24 20:27:18 +00:00
Yuri Chornoivan 881d5aae59 Update Ukrainian translation 2025-02-23 20:17:24 +00:00
Ekaterine Papava d9ff138f9e Update Georgian translation 2025-02-23 05:58:19 +00:00
Anders Jonsson fcf8892bf7 Update Swedish translation 2025-02-22 22:01:50 +00:00
Piotr Drąg 082b585ae6 Update Polish translation 2025-02-22 12:55:50 +01:00
Daniel Rusek 898f7b0d6f Update Czech translation 2025-02-20 22:44:26 +00:00
Mathews M fecd26851f Update Malayalam translation 2025-02-15 02:37:36 +00:00
Emilio Sepúlveda 8a7d2fd86d Update Interlingua translation 2025-02-14 13:38:39 +00:00
Florian Müllner f1f05b58b9 ci: Pull in defaults/workflow from template
The template was added recently, so the same rules don't have
to be replicated by every project.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/385>
2025-02-06 02:06:02 +01:00
Florian Müllner c9838125a1 ci: Includes templates from project
Now that the freedesktop templates are mirrored on GNOME infrastructure,
we don't have to include them via HTTPS anymore.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/385>
2025-02-06 01:59:40 +01:00
Florian Müllner af35772b72 Actually bump version
Fixes: 61b5bdb4 ("Bump version to 48.beta")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/384>
48.beta
2025-02-05 12:11:54 +01:00
Florian Müllner 61b5bdb4e9 Bump version to 48.beta
Update NEWS.
2025-02-05 00:43:25 +01:00
Florian Müllner aa5df48c45 apps-menu: Set BoxLayout orientation
Use the new `orientation` property instead of `vertical`, as the
latter is deprecated.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/380>
2025-01-27 20:02:36 +01:00
Florian Müllner 3929dd86bc workspace-indicator: Set BoxLayout orientation
Use the new `orientation` property instead of `vertical`, as the
latter is deprecated.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/380>
2025-01-27 20:02:36 +01:00
Emilio Sepúlveda b1b16bcfe1 Add Interlingua translation 2025-01-20 21:45:01 +00:00
Rafael Fontenelle e2b1503acd Update Brazilian Portuguese translation 2025-01-20 00:13:23 +00:00
Florian Müllner 01f7df1e8a window-list: Use correct params when re-tracking chrome
Since commit 981e8e42, we temporarily untrack the window-list actor
while in the overview.

However as we don't pass pass the chrome parameters when re-tracking
chrome, the window-list no longer contributes to struts or tracks
fullscreen changes, whoops.

Make sure to pass the original parameters when re-tracking chrome
to restore the expected behavior.

Fixes: 981e8e42 ("window-list: Untrack chrome while in overview")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/550
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/379>
2025-01-15 12:39:22 +01:00
Florian Müllner b7de680805 Bump version to 48.alpha
Update NEWS.
48.alpha
2025-01-13 17:21:40 +01:00