Compare commits

...

123 Commits

Author SHA1 Message Date
Jeremy Bícha e4183488d9 New upstream version 45.2 2023-12-05 10:03:40 -05:00
Florian Müllner b02e43d84c Bump version to 45.2
Update NEWS.
2023-12-01 20:15:09 +01:00
Florian Müllner 8ed3b72a56 workspace-indicator: Update visibility on window-type changes
The visibility depends on the type, so we should listen for
changes (even if the property is unlikely to change).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/292>
(cherry picked from commit 30a15387b5)
2023-12-01 20:03:38 +01:00
Florian Müllner a929cf9370 workspace-indicator: Don't hide previews on other monitors
Workspace thumbnails are clipped, so there's no major benefit
of hiding the actors explicitly.

On the other hand, the check is useful on size/position changes
to avoid unnecessary relayouts.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/292>
(cherry picked from commit b5b841dd38)
2023-12-01 20:03:38 +01:00
Florian Müllner a5343c33ec window-list: Update visibility on window-type changes
The visibility depends on the type, so we should listen for
changes (even if the property is unlikely to change).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/292>
(cherry picked from commit 071584621e)
2023-12-01 20:03:15 +01:00
Florian Müllner 8efd73c50e window-list: Don't hide previews on other monitors
Workspace thumbnails are clipped, so there's no major benefit
of hiding the actors explicitly.

On the other hand, the check is useful on size/position changes
to avoid unnecessary relayouts.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/292>
(cherry picked from commit 5c57f44838)
2023-12-01 20:03:15 +01:00
Florian Müllner d5f617b3e2 window-list: Move additional padding into buttons
Commit ca1c4b0f9e added additional padding, which means that the
interactive area of buttons no longer extends to the bottom of
the screen.

Address this by moving the new padding into the buttons themselves.
That restores the Fittsability of the bottom bar, without affecting
the cleaner visual appearance.

Close https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/453

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/291>
2023-12-01 20:02:51 +01:00
Florian Müllner d1ff099200 window-list: Clean up stylesheet indent
Replaces tabs with spaces.

Part-of:
<https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/291>
2023-12-01 20:02:49 +01:00
Florian Müllner 6bbc329e7b apps-menu: Use customized layout manager to limit height
To avoid continuous height changes while browsing through categories,
we let the list of categories determine the overall height, and rely
on scrolling for the list of apps within a category.

We currently achieve this by assigning a fixed height via the
`style` property. This has been found to trigger a crash when
running headless, as we end up querying an actor's height request
before a valid resource scale is available.

Instead, use a custom layout manager, which seems more elegant anyway.

Close: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/472
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/290>
(cherry picked from commit 5652182fb3)
2023-12-01 19:48:04 +01:00
Florian Müllner ed31f08f2f apps-menu: Remove vertical separator
Ever since gnome-shell stopped using a stippled separator in the
calendar menu, the styling required by the separator has been
missing.

There haven't been any complaints about the invisible separator,
so we can just as well drop it altogether.

Part-of:
<https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/290>
(cherry picked from commit c3cbef19ac)
2023-12-01 19:48:03 +01:00
Florian Müllner ed60502f10 apps-menu: Use stylesheet to set width
The `style` property is useful for computed CSS declarations,
but for regular styling the stylesheet is preferable.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/290>
(cherry picked from commit 8c8f990a28)
2023-12-01 19:47:16 +01:00
Florian Müllner 0fa592a516 apps-menu: Adjust to events API changes
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/290>
(cherry picked from commit f6a6bdda99)
2023-12-01 19:47:16 +01:00
Jeremy Bícha cb7b8e7c5a New upstream version 45.1 2023-11-04 12:30:40 +02:00
Florian Müllner f27b239f55 Bump version to 45.1
Update NEWS.
2023-11-01 00:28:14 +01:00
Florian Müllner 7f192d0208 screenshot-window-sizer: Handle wrapping around backwards
The mod takes care of wrapping at the top, but not when
decrementing 0. Fix this by using Array.prototype.at(),
which handles negative indexes.

Close https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/467

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/284>
(cherry picked from commit dd8ee2931a)
2023-11-01 00:24:47 +01:00
Florian Müllner eff6f6ef88 screenshot-window-sizer: Use built-in support for reversed bindings
Mutter has had explicit support for reversed bindings for a while now.
Use that, as it's more reliably than examining the modifiers manually.

Close https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/467

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/284>
(cherry picked from commit f530acbf9e)
2023-11-01 00:24:47 +01:00
Brage Fuglseth 7d296d2fd2 Update Norwegian Bokmål translation 2023-10-12 20:28:03 +00:00
Florian Müllner fb858ed0e4 window-list: Complete move to connectObject()
Commit 3bfaf6f88a removed the explicit disconnect, but forgot
to use connectObject() to connect the handler.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/459
Fixes: 3bfaf6f8 ("js: Use connectObject()")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/281>
2023-10-09 15:36:39 +02:00
Florian Müllner f576f1b1b6 window-list: Initialize preview visibility
Otherwise we can end up showing window previews in the workspace
thumbnail that shouldn't be visible, if none of the properties we
track for updates changes.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/280>
2023-09-29 21:35:33 +02:00
Florian Müllner b9d2a445b2 workspace-indicator: Initialize preview visibility
Otherwise we can end up showing windows that shouldn't be visible
if none of the properties we track for updates changes.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/280>
2023-09-29 21:33:04 +02:00
Florian Müllner 092b268823 drive-menu: Remove left-over signal connection
The handler itself was removed in commit 3bfaf6f88a, so the
code now fails.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/455
Fixes: 3bfaf6f8 ("js: Use connectObject()")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/278>
2023-09-29 12:33:13 +00:00
Kristjan SCHMIDT b64cb0f195 Update Esperanto translation 2023-09-27 20:47:58 +00:00
Florian Müllner 2510bb3625 extensions: Stop using run_dispose()
It is considered bad practice, and mainly a lazy way of disconnecting
signal handlers without tracking individual handler IDs.

We can do better by using connectObject(), which provides the same
level of convenience without the dodginess of getting behind the
garbage collector's back.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/275>
2023-09-26 15:21:41 +00:00
Florian Müllner 4fbd878208 lint: Sync with gnome-shell
gnome-shell itself no longer requires parameter descriptions in
doc comments (just type annotations). The requirement makes even
less sense for extensions, so sync up the configuration.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/276>
2023-09-26 14:30:27 +02:00
Florian Müllner e8840da00c doap: Actually remove defunct mailing list
Fixes: e405d09c ("DOAP: Remove defunct mailing list; add Discourse")
2023-09-20 13:30:42 +02:00
Jeremy Bícha a6131bd00b New upstream version 45.0 2023-09-18 08:45:37 -04:00
Jeremy Bícha e864d0d1cc New upstream version 45~beta 2023-08-16 22:55:57 -04:00
Jeremy Bicha 930595003d New upstream version 44.0 2023-03-27 08:47:18 -04:00
Jeremy Bicha 51df22adcf New upstream version 44~rc 2023-03-07 12:19:33 -05:00
Jeremy Bicha 6ff6eb2c22 New upstream version 44~beta 2023-02-15 10:59:26 -05:00
Jeremy Bicha 6bee46bf1a New upstream version 43.1 2022-11-22 14:13:08 -05:00
Jeremy Bicha f4347d240a New upstream version 43.0 2022-09-19 10:57:25 -04:00
Jeremy Bicha 81b8ad4499 New upstream version 43~rc 2022-09-06 14:38:13 -04:00
Jeremy Bicha aeee81a82c New upstream version 43~beta 2022-08-21 10:59:16 -04:00
Jeremy Bicha fcefdc3271 New upstream version 42.3 2022-07-13 17:46:10 +02:00
Jeremy Bicha 7a017c1e76 New upstream version 42.2 2022-06-03 09:19:21 -04:00
Jeremy Bicha b2455f0ecd New upstream version 42.1 2022-05-09 08:02:09 -04:00
Jeremy Bicha 573aba17d7 New upstream version 42.0 2022-03-14 11:29:53 -04:00
Jeremy Bicha 2117c42d74 New upstream version 42~rc 2022-03-08 09:32:26 -05:00
Marco Trevisan (Treviño) 5edffcd859 New upstream version 42~beta 2022-02-23 02:57:09 +01:00
Jeremy Bicha d8b526a715 New upstream version 41.1 2021-12-12 20:28:55 -05:00
Florian Müllner a5b6871562 Bump version to 41.1
Update NEWS.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/200>
2021-12-11 14:20:23 +01:00
Florian Müllner deb6031381 window-list: Fix OSK
The reveal animation moved from Main.layoutManager.keyboardBox to
the keyboard itself, so instead of applying an additional translation
for the bottom panel, we override the translation that would reveal
the keyboard (and thus prevent it from showing altogether).

Fix this by moving our translation to the keyboardBox instead.

(cherry picked from commit 02e5029eb6)

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/202>
2021-12-11 14:04:21 +01:00
Sebastian Keller 486cb59aff native-window-placement: Remove custom styling
The window-picker padding was causing it to become smaller in the
overview resulting in a jump when opening it and caused sizing issues
with the workspace view in the app picker. However it is not needed
anymore with the new overview, so this can be fixed by simply removing
it.

The horizontal- and vertical-spacing properties got replaced with a
spacing property a while ago. However this is only used in
WorkspaceLayout::_createBestLayout() which gets overridden by this
extension which does not use it. So they can simply be removed.

The shell-caption-spacing property got removed when the window captions
got changed to always use the full length and has not been doing
anything since.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/301
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/309
(cherry picked from commit 4a26cecd7d)

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/202>
2021-12-11 14:04:07 +01:00
Neal Gompa de9a3df7bd classic: Add X-GNOME-SessionRegisters
GDM has supported sessions registering with it for a few years now so
it can know when to shut down the greeter. Having the GNOME Classic
session declare that it will register itself allows GDM to avoid
executing a fallback codepath.

This has been supported with the regular GNOME session for a while,
and this session was likely forgotten about when it was added there.

(cherry picked from commit a79d2afb2d)

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/202>
2021-12-11 14:03:33 +01:00
Jeremy Bicha db131fc7da New upstream version 41.0 2021-10-03 20:42:40 -04:00
Jeremy Bicha 80c6656c4f New upstream version 40.4 2021-08-29 08:50:41 -04:00
Florian Müllner a5a3523df8 Bump version to 40.4
Update NEWS.
2021-08-18 01:18:19 +02:00
Florian Müllner 06acd9ff25 build: Rewrite gettext domain when exporting zips
Now that every extension picks up its gettext domain from
its metadata, we can easily change it when exporting the
zips.

That ensures that every extension only binds its own domain
instead of messing up other extension's translations.

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

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/179>
2021-08-12 04:17:46 +02:00
Florian Müllner 1a1d45d9e4 build: Remove unused variable
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/335

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/179>
2021-08-12 04:17:46 +02:00
Florian Müllner 1d3775b3d1 extensions: Pick up gettext domain from metadata
Since commit a6ee142f21, the extension archives that are uploaded
to extensions.gnome.org only contain strings that are relevant for
the extension, not all translations from all extensions.

Unfortunately all extensions still share a common gettext domain,
so the extension with the last bind_textdomain() call wins and
leaves the others without translations.

We'll address this by using distinct domains when not installed
system-wide. That becomes easier if there is a canonical place
for the text domain, with the existing metadata key being the
natural choice.

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

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/179>
2021-08-12 04:17:46 +02:00
Florian Müllner 15c83db793 drive-menu: Hide items initially
Now that the check for network mounts is non-blocking, the initial
sync doesn't take effect immediately. We don't want hidden items
to briefly flash the indicator, so create them initially hidden.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/176>
2021-07-19 16:44:37 +02:00
Florian Müllner cc021589b8 drive-menu: Fix indicator visibility
Commit 519269be9d made the check for network mounts non-blocking, and
we now update the indicator's visibility before a newly-added network
mount is hidden.

Address this by monitoring the item itself for visibility changes.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/176>
2021-07-19 16:44:37 +02:00
Florian Müllner 5e316d37cb Bump version to 40.3
Update NEWS.
2021-07-12 18:18:45 +02:00
Florian Müllner 28dbb47937 window-list: Init translations
Whoops, we are missing the bindtextdomain() call, which means translations
won't work when no other extension that shares the same domain is used
(like in GNOME Classic for instance).

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/340
(cherry picked from commit c9d7f99d50f96d29c38380d9f0e3c9ddc660db9f)
2021-07-12 18:06:31 +02:00
Florian Müllner 619de9d5ee drive-menu: Avoid blocking I/O when querying filesystem
The last commit improved the heuristics for detecting network mounts,
but at the price of potentially blocking the shell. Avoid that drawback
by making the code in question async.

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

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/27>
(cherry picked from commit 519269be9d)
2021-07-12 18:06:31 +02:00
Florian Müllner 561b8aeb03 drive-menu: Don't assume mounts without volume are local
The intention of the code is to only expose actually plugged in
devices rather than network mounts, but the existing heuristics are
based on GVolume and simply assume a local mount where there's no
associated volume. Fill that gap by querying the ::remote filesystem
attribute in that case.

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

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/27>
(cherry picked from commit 7d6670ce3c)
2021-07-12 18:06:31 +02:00
Florian Müllner 4286fd1bcc Tag release 40.2
Update NEWS.
2021-06-10 13:41:34 +02:00
Adam Goode 3bb0897bc1 window-list: Don't use panel-button class for the workspace indicator
The panel-button introduces some horizontal padding which is insensitive
to scroll events. Without this change, there is a small dead zone in the
corner that cannot be used to switch workspaces with the mouse wheel.

For useMenu mode, this has the effect of removing all of the horizontal
space to the edge of the screen, so I add some back with the
status-label-bin margin.

This a is similar change to 8bad8a3b63.

Fixes #315.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/171>
(cherry picked from commit d6648b0b5c)
2021-06-10 13:38:47 +02:00
Juliano de Souza Camargo 12eedcf6f7 Update Portuguese translation 2021-06-07 10:22:02 +00:00
Hugo Carvalho 08d382facc Update Portuguese translation 2021-06-02 16:09:54 +00:00
Marco Trevisan (Treviño) d9ae9a023a New upstream version 40.1 2021-05-30 17:53:15 +02:00
Florian Müllner 96a1de92db build: Only use major version in shell-versions
The website changed its version handling again, and now takes "40.0"
to mean "40.0, and only 40.0".

Not complaining though, as "40" is more correct in my opinion anyway ...

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/172>
2021-05-25 19:26:08 +02:00
Florian Müllner cc2f46b837 Post-release version bump 2021-05-14 17:00:35 +02:00
Simon McVittie 9f25047e24 New upstream version 3.38.2 2020-12-03 10:11:14 +00:00
Florian Müllner fb66afbf71 Bump version to 3.38.2
Update NEWS.
2020-12-03 00:14:49 +01:00
Florian Müllner 365fa6abc9 Update sass submodule 2020-12-03 00:14:49 +01:00
Florian Müllner d7a824f35f workspace-indicator: Use overlap to determine preview visibility
In order to better reflect the actual workspace, show any preview
that is at least partially located on the monitor, not only those
that have the major part on that monitor.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/142>

(cherry picked from commit 50d3ee5703)
2020-12-03 00:09:21 +01:00
Florian Müllner 0d8e412220 window-list: Use overlap to determine preview visibility
In order to better reflect the actual workspace, show any preview
that is at least partially located on the monitor, not only those
that have the major part on that monitor.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/142>

(cherry picked from commit 08dfb78815)
2020-12-03 00:09:19 +01:00
Florian Müllner 991f6ef508 workspace-indicator: Account for monitor offset in window previews
Windows' frame rects are in screen coordinates, while the workspace
thumbnails are based on the monitor work area. Unless we account
for the difference, previews end up mispositioned in multi-monitor
setups.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/142>

(cherry picked from commit 6949a5d075)
2020-12-03 00:09:16 +01:00
Florian Müllner 37f03f5e2e window-list: Account for monitor offset in window previews
Windows' frame rects are in screen coordinates, while the workspace
thumbnails are based on the monitor work area. Unless we account
for the difference, previews end up mispositioned in multi-monitor
setups.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/142>

(cherry picked from commit 893d3b0473)
2020-12-03 00:09:12 +01:00
Florian Müllner b4a4ff0a06 workspace-indicator: Round calculated preview sizes
While not strictly necessary, there's no reason to differ from the
copy in the window-list extension ...

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/142>

(cherry picked from commit f5128e13f2)
2020-12-03 00:09:09 +01:00
Ray Strode de8876bd5e window-list: Stop monitoring drag operation if window list is destroyed
If a user is in the middle of a drag in the window list and the
window list associated with the drag gets destroyed, the drag
monitor gets leaked.

Later when the drag motion is processed, spew goes to the log:

clutter_actor_contains: assertion 'CLUTTER_IS_ACTOR (self)' failed

Examples of triggers for this bug:

- The monitor topology changes
- The screen gets locked during the drag

This commit fixes the spew and the leak by ensuring any pending
drag monitoring is disabled when the window lists are destroyed.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/145>

(cherry picked from commit 8318ea919f)
2020-12-03 00:08:57 +01:00
Thun Pin 5ad272e628 window-navigator: Adjust to 3.38 overview changes
gnome-shell's overview code changed significantly in 3.38,
adjust the extension to work without the separate overlay.

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

(cherry picked from commit 737c897624)
2020-12-03 00:08:30 +01:00
Florian Müllner 3b22582752 auto-move-windows: Exclude sticky windows from empty-check
We modify gnome-shell's workspace tracker to only remove empty
workspaces from the end. However we currently don't take into
account that sticky windows appear on all workspaces, so those
are preventing any workspace from getting removed at the moment.

Exclude them when determining whether a workspace is empty to
get the expected behavior.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/135

(cherry picked from commit 61cf679b8c)
2020-12-03 00:08:07 +01:00
Florian Müllner e734fcbd21 window-list: Adjust to overview changes
Window DND in the overview is now based on the metaWindow,
not the window actor (misnamed as "real window").

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/133
2020-11-19 04:54:07 +01:00
Florian Müllner 435879c121 workspace-indicator: Adjust to overview changes
Window DND in the overview is now based on the metaWindow,
not the window actor (misnamed as "real window").

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/133
2020-11-19 04:54:07 +01:00
Florian Müllner ed81650f55 window-list: Use custom layout manager for thumbnails
The current code positions window previews explicitly using a fixed
layout manager. For that it relies on a valid parent allocation,
which is error-prone and frequently results in warnings.

Address this by moving the positioning code into a custom layout
manager, and only update the visibility from the window preview.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/260
2020-10-21 13:44:44 +02:00
Florian Müllner 1276a880de workspace-indicator: Use custom layout manager for thumbnails
The current code positions window previews explicitly using a fixed
layout manager. For that it relies on a valid parent allocation,
which is error-prone and frequently results in warnings.

Address this by moving the positioning code into a custom layout
manager, and only update the visibility from the window preview.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/260
2020-10-21 13:44:44 +02:00
Sergio Costas 584016c291 window-list: Honor changes in skip-taskbar property
Although window-list checks the 'skip-taskbar' property when a
window is added to the desktop to decide wether it should be
shown in the bar or not, it doesn't honor that when the property
is changed after a window has already been added. Since the new
WaylandClient API allows to change this property for already
mapped windows, supporting this is a good idea.

This patch fixes this.

Fix https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/130


(cherry picked from commit b65f362f0d)
2020-10-08 21:50:07 +00:00
Jeremy Bicha 41664b152c New upstream version 3.38.1 2020-10-06 17:36:33 -04:00
Simon McVittie 8957c277a1 New upstream version 3.38.0 2020-09-22 09:16:27 +01:00
Marco Trevisan (Treviño) 8b9be8f120 New upstream version 3.37.91 2020-08-27 08:18:07 +02:00
Laurent Bigonville d3b687df8b New upstream version 3.36.2 2020-05-03 10:01:14 +02:00
Florian Müllner df463177e7 Bump version to 3.36.2
Update NEWS.
2020-04-29 22:45:40 +02:00
Florian Müllner 62af36ebfa Update sass submodule 2020-04-29 22:44:25 +02:00
Kristjan SCHMIDT c5246b7415 Update Esperanto translation 2020-04-18 09:00:46 +00:00
Xiaoguang Wang d39c1fd685 windowPicker: Wrong signal ID _nWorkspacesNotifyId
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/106


(cherry picked from commit f9aaa732b2)
2020-04-10 14:31:24 +00:00
Florian Müllner 665a7fbbcb ci: Update URL check
Gitlab started inserting a /-/ in its URLs, account for that.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/113


(cherry picked from commit 7b82c5e12b)
2020-04-10 14:30:49 +00:00
Simon McVittie a4987d03b8 New upstream version 3.36.1 2020-04-02 10:14:07 +01:00
Yosef Or Boczko c477f10bfb Update Hebrew translation 2020-04-01 15:22:37 +00:00
Florian Müllner 2ae0f368b9 Bump version to 3.36.1
Update NEWS.
2020-03-31 00:58:41 +02:00
Iain Lane ac33058086 New upstream version 3.36.0 2020-03-16 12:13:26 +00:00
Marco Trevisan (Treviño) c7a08aaf74 New upstream version 3.35.91 2020-02-24 14:48:45 +01:00
Laurent Bigonville 8c1d6d88cf New upstream version 3.34.2 2019-12-30 00:41:31 +01:00
Florian Müllner 33b16681c6 Bump version to 3.34.2
Update NEWS.
2019-12-11 22:56:08 +01:00
Umarzuki Bin Mochlis Moktar 3c51716268 Update Malay translation 2019-12-09 11:59:58 +00:00
Willy Stadnick e5421b6cc6 screenshot-window-sizer: Fix cycling through all valid sizes
When cycling through window sizes, we should skip any sizes that are
bigger than the available area. We do that, but the current code
assumes that the possible sizes are sorted, which is no longer the
case since the addition of "phone" sizes in commit 5b43d4733c.

As a result, we may now skip sizes that would fit perfectly fine.
Address this by filtering out invalid sizes beforehand instead of
assuming a certain order (wich no longer work due to the addition
of a portrait format).

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/97
2019-11-27 20:56:55 +01:00
Florian Müllner f1e7ae1010 workspace-indicator: Exclude DESKTOP windows from window previews
While nautilus removed its desktop support a while ago in favor of an
extension, it's still possible that some external X11 desktop icon app
is used. As DESKTOP windows cannot be moved between workspaces or stacked,
and aren't perceived as regular windows, it doesn't make sense to show
them as previews in the workspace switcher.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/93
2019-11-21 22:47:01 +01:00
Florian Müllner 10fe907c83 window-list: Exclude DESKTOP windows from window previews
While nautilus removed its desktop support a while ago in favor of an
extension, it's still possible that some external X11 desktop icon app
is used. As DESKTOP windows cannot be moved between workspaces or stacked,
and aren't perceived as regular windows, it doesn't make sense to show
them as previews in the workspace switcher.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/93
2019-11-21 22:47:01 +01:00
Stas Solovey ae9809caba Update Russian translation 2019-11-13 18:42:24 +00:00
Jeremy Bicha c95d197c5c New upstream version 3.34.1 2019-10-08 22:45:42 -04:00
Iain Lane ae8749b7e1 New upstream version 3.34.0 2019-09-10 10:53:04 +01:00
Iain Lane 84a548c0b9 New upstream version 3.33.92 2019-09-05 18:21:22 +01:00
Marco Trevisan (Treviño) f047cb0baf New upstream version 3.33.90 2019-08-13 04:25:54 +02:00
Iain Lane 28494941e1 New upstream version 3.32.0 2019-03-12 16:33:30 +00:00
Iain Lane b70059ac4d New upstream version 3.31.92 2019-03-06 15:39:47 +00:00
Iain Lane eb567c1120 New upstream version 3.31.90 2019-02-21 10:08:46 +00:00
Simon McVittie b1eb9b9080 New upstream version 3.30.1 2018-11-02 09:22:09 +00:00
Jeremy Bicha a0b6535210 New upstream version 3.30.0 2018-09-05 12:32:25 -04:00
Simon McVittie 9a9b3afa31 New upstream version 3.29.91 2018-08-20 19:55:42 +01:00
Simon McVittie 59bc054ef6 New upstream version 3.29.90 2018-08-02 10:32:10 +01:00
Simon McVittie 57e9dfe722 Merge remote-tracking branch 'origin/upstream/latest' into upstream/latest 2018-07-27 09:14:56 +01:00
Simon McVittie f17a519c38 New upstream version 3.29.3 2018-07-27 08:43:26 +01:00
Jeremy Bicha 8223ca9739 New upstream version 3.28.1 2018-05-14 21:50:46 -04:00
Jeremy Bicha fe20c27b60 New upstream version 3.28.0 2018-03-15 21:28:20 -04:00
Jeremy Bicha 5ba59d1096 New upstream version 3.27.92 2018-03-05 20:55:43 -05:00
Jeremy Bicha 0ad1e9bbc1 New upstream version 3.27.91 2018-02-23 19:30:14 -05:00
Jeremy Bicha 5ea14f063f New upstream version 3.26.2 2017-12-15 15:11:42 -05:00
Jeremy Bicha 3cc3d03f0b Initial upstream branch 2017-12-15 15:11:26 -05:00
Florian Müllner 057e5bb0c1 Bump version to 3.26.2
Update NEWS.
2017-11-02 19:51:10 +01:00
Florian Müllner 07fc66765d auto-move: Remove unused imports 2017-10-27 14:45:09 +02:00
Xavi Ivars daa7b9b6ab [l10n] Updated Catalan (Valencian) translation 2017-10-05 14:02:06 +02:00
20 changed files with 382 additions and 381 deletions
-12
View File
@@ -1,12 +0,0 @@
# SPDX-FileCopyrightText: 2011 Giovanni Campagna <gcampagna@src.gnome.org>
# SPDX-FileCopyrightText: 2023 Florian Müllner <fmuellner@gnome.org>
#
# SPDX-License-Identifier: CC0-1.0
po/gnome-shell-extensions.pot
zip-files/
*~
*.patch
*.sw?
.buildconfig
.vscode
+23
View File
@@ -1,3 +1,26 @@
45.2
====
* window-list: Fix buttons not being clickable at the screen edge
[Florian; !291]
* window-list: Really fix initial preview visibility [Florian; !292]
* workspace-indicator: Really fix initial preview visibility [Florian; !292]
* Misc. bug fixes and cleanups [Florian; !290]
Contributors:
Florian Müllner
45.1
====
* workspace-indicator: Fix initial preview visibility [Florian; !280]
* screenshot-window-sizer: Fix cycling between sizes backwards [Florian; !284]
* Misc. bug fixes and cleanups [Florian; !276, !275, !278, !281]
Contributors:
Florian Müllner
Translators:
Kristjan SCHMIDT [eo], Brage Fuglseth [nb]
45.0 45.0
==== ====
+18 -36
View File
@@ -214,9 +214,9 @@ class CategoryMenuItem extends PopupMenu.PopupBaseMenuItem {
this._grab?.dismiss(); this._grab?.dismiss();
delete this._grab; delete this._grab;
let source = event.get_source(); const targetActor = global.stage.get_event_actor(event);
if (source instanceof St.Widget) if (targetActor instanceof St.Widget)
source.sync_hover(); targetActor.sync_hover();
return false; return false;
} }
@@ -363,6 +363,20 @@ class DesktopTarget extends EventEmitter {
} }
} }
class MainLayout extends Clutter.BoxLayout {
static {
GObject.registerClass(this);
}
vfunc_get_preferred_height(container, forWidth) {
const [mainChild] = container;
const [minHeight, natHeight] =
mainChild.get_preferred_height(forWidth);
return [minHeight, natHeight + MENU_HEIGHT_OFFSET];
}
}
class ApplicationsButton extends PanelMenu.Button { class ApplicationsButton extends PanelMenu.Button {
static { static {
GObject.registerClass(this); GObject.registerClass(this);
@@ -432,15 +446,6 @@ class ApplicationsButton extends PanelMenu.Button {
} }
} }
_createVertSeparator() {
let separator = new St.DrawingArea({
style_class: 'calendar-vertical-separator',
pseudo_class: 'highlighted',
});
separator.connect('repaint', this._onVertSepRepaint.bind(this));
return separator;
}
_onDestroy() { _onDestroy() {
super._onDestroy(); super._onDestroy();
@@ -462,21 +467,6 @@ class ApplicationsButton extends PanelMenu.Button {
return super._onMenuKeyPress(actor, event); return super._onMenuKeyPress(actor, event);
} }
_onVertSepRepaint(area) {
let cr = area.get_context();
let themeNode = area.get_theme_node();
let [width, height] = area.get_surface_size();
let stippleColor = themeNode.get_color('-stipple-color');
let stippleWidth = themeNode.get_length('-stipple-width');
let x = Math.floor(width / 2) + 0.5;
cr.moveTo(x, 0);
cr.lineTo(x, height);
Clutter.cairo_set_source_color(cr, stippleColor);
cr.setDash([1, 3], 1); // Hard-code for now
cr.setLineWidth(stippleWidth);
cr.stroke();
}
_onOpenStateChanged(menu, open) { _onOpenStateChanged(menu, open) {
if (open) { if (open) {
if (this.reloadFlag) { if (this.reloadFlag) {
@@ -554,7 +544,7 @@ class ApplicationsButton extends PanelMenu.Button {
_createLayout() { _createLayout() {
let section = new PopupMenu.PopupMenuSection(); let section = new PopupMenu.PopupMenuSection();
this.menu.addMenuItem(section); this.menu.addMenuItem(section);
this.mainBox = new St.BoxLayout({vertical: false}); this.mainBox = new St.BoxLayout({layoutManager: new MainLayout()});
this.leftBox = new St.BoxLayout({vertical: true}); this.leftBox = new St.BoxLayout({vertical: true});
this.applicationsScrollBox = new St.ScrollView({ this.applicationsScrollBox = new St.ScrollView({
style_class: 'apps-menu vfade', style_class: 'apps-menu vfade',
@@ -583,14 +573,12 @@ class ApplicationsButton extends PanelMenu.Button {
this.categoriesScrollBox.add_actor(this.categoriesBox); this.categoriesScrollBox.add_actor(this.categoriesBox);
this.mainBox.add(this.leftBox); this.mainBox.add(this.leftBox);
this.mainBox.add_child(this._createVertSeparator());
this.mainBox.add_child(this.applicationsScrollBox); this.mainBox.add_child(this.applicationsScrollBox);
section.actor.add_actor(this.mainBox); section.actor.add_actor(this.mainBox);
} }
_display() { _display() {
this._applicationsButtons.clear(); this._applicationsButtons.clear();
this.mainBox.style = 'width: 35em;';
this.mainBox.hide(); this.mainBox.hide();
// Load categories // Load categories
@@ -620,12 +608,6 @@ class ApplicationsButton extends PanelMenu.Button {
// Load applications // Load applications
this._displayButtons(this._listApplications(null)); this._displayButtons(this._listApplications(null));
let themeContext = St.ThemeContext.get_for_stage(global.stage);
let scaleFactor = themeContext.scale_factor;
let categoriesHeight = this.categoriesBox.height / scaleFactor;
let height = Math.round(categoriesHeight) + MENU_HEIGHT_OFFSET;
this.mainBox.style += `height: ${height}px`;
} }
selectCategory(dir) { selectCategory(dir) {
+2
View File
@@ -4,6 +4,8 @@
* SPDX-License-Identifier: GPL-2.0-or-later * SPDX-License-Identifier: GPL-2.0-or-later
*/ */
.apps-menu {width: 26em;}
.apps-menu:ltr { .apps-menu:ltr {
padding-right: 3px; padding-right: 3px;
} }
+4 -6
View File
@@ -22,7 +22,8 @@ class WindowMover {
this._appSystem.connectObject('installed-changed', this._appSystem.connectObject('installed-changed',
() => this._updateAppData(), this); () => this._updateAppData(), this);
this._settings.connect('changed', this._updateAppConfigs.bind(this)); this._settings.connectObject('changed',
this._updateAppConfigs.bind(this), this);
this._updateAppConfigs(); this._updateAppConfigs();
} }
@@ -58,11 +59,8 @@ class WindowMover {
destroy() { destroy() {
this._appSystem.disconnectObject(this); this._appSystem.disconnectObject(this);
this._settings.disconnectObject(this);
if (this._settings) { this._settings = null;
this._settings.run_dispose();
this._settings = null;
}
this._appConfigs.clear(); this._appConfigs.clear();
this._updateAppData(); this._updateAppData();
-2
View File
@@ -39,8 +39,6 @@ class MountMenuItem extends PopupMenu.PopupBaseMenuItem {
this.mount = mount; this.mount = mount;
this.connect('destroy', this._onDestroy.bind(this));
let ejectIcon = new St.Icon({ let ejectIcon = new St.Icon({
icon_name: 'media-eject-symbolic', icon_name: 'media-eject-symbolic',
style_class: 'popup-menu-icon', style_class: 'popup-menu-icon',
+4 -6
View File
@@ -141,8 +141,8 @@ class RootInfo extends PlaceInfo {
return; return;
this._proxy = obj; this._proxy = obj;
this._proxy.connect('g-properties-changed', this._proxy.connectObject('g-properties-changed',
this._propertiesChanged.bind(this)); this._propertiesChanged.bind(this), this);
this._propertiesChanged(obj); this._propertiesChanged(obj);
}); });
} }
@@ -161,10 +161,8 @@ class RootInfo extends PlaceInfo {
} }
destroy() { destroy() {
if (this._proxy) { this._proxy?.disconnectObject(this);
this._proxy.run_dispose(); this._proxy = null;
this._proxy = null;
}
super.destroy(); super.destroy();
} }
} }
@@ -65,10 +65,7 @@ export default class ScreenshotWindowSizerExtension extends Extension {
* @param {Meta.KeyBinding} binding - the key binding * @param {Meta.KeyBinding} binding - the key binding
*/ */
_cycleScreenshotSizes(display, window, binding) { _cycleScreenshotSizes(display, window, binding) {
// Probably this isn't useful with 5 sizes, but you can decrease instead const backwards = binding.is_reversed();
// of increase by holding down shift.
let modifiers = binding.get_modifiers();
let backwards = (modifiers & Meta.VirtualModifier.SHIFT_MASK) !== 0;
// Unmaximize first // Unmaximize first
if (window.get_maximized() !== 0) if (window.get_maximized() !== 0)
@@ -99,7 +96,7 @@ export default class ScreenshotWindowSizerExtension extends Extension {
// get the next size up or down from ideal // get the next size up or down from ideal
let newIndex = (nearestIndex + (backwards ? -1 : 1)) % scaledSizes.length; let newIndex = (nearestIndex + (backwards ? -1 : 1)) % scaledSizes.length;
let [newWidth, newHeight] = scaledSizes[newIndex]; let [newWidth, newHeight] = scaledSizes.at(newIndex);
// Push the window onscreen if it would be resized offscreen // Push the window onscreen if it would be resized offscreen
let newX = outerRect.x; let newX = outerRect.x;
+3 -2
View File
@@ -21,12 +21,13 @@ const SETTINGS_KEY = 'name';
export default class ThemeManager extends Extension { export default class ThemeManager extends Extension {
enable() { enable() {
this._settings = this.getSettings(); this._settings = this.getSettings();
this._settings.connect(`changed::${SETTINGS_KEY}`, this._changeTheme.bind(this)); this._settings.connectObject(`changed::${SETTINGS_KEY}`,
this._changeTheme.bind(this), this);
this._changeTheme(); this._changeTheme();
} }
disable() { disable() {
this._settings?.run_dispose(); this._settings?.disconnectObject();
this._settings = null; this._settings = null;
Main.setThemeStylesheet(null); Main.setThemeStylesheet(null);
+1 -1
View File
@@ -36,7 +36,7 @@ class UserThemePrefsWidget extends Adw.PreferencesGroup {
this._actionGroup.add_action( this._actionGroup.add_action(
this._settings.create_action('name')); this._settings.create_action('name'));
this.connect('destroy', () => this._settings.run_dispose()); this.connect('destroy', () => (this._settings = null));
this._rows = new Map(); this._rows = new Map();
this._addTheme(''); // default this._addTheme(''); // default
+8 -6
View File
@@ -828,8 +828,8 @@ class WindowList extends St.Widget {
}, this); }, this);
this._windowSignals = new Map(); this._windowSignals = new Map();
this._windowCreatedId = global.display.connect( global.display.connectObject(
'window-created', (dsp, win) => this._addWindow(win)); 'window-created', (dsp, win) => this._addWindow(win), this);
Main.xdndHandler.connectObject( Main.xdndHandler.connectObject(
'drag-begin', () => this._monitorDrag(), 'drag-begin', () => this._monitorDrag(),
@@ -844,8 +844,8 @@ class WindowList extends St.Widget {
this._dndWindow = null; this._dndWindow = null;
this._settings = settings; this._settings = settings;
this._settings.connect('changed::grouping-mode', this._settings.connectObject('changed::grouping-mode',
() => this._groupingModeChanged()); () => this._groupingModeChanged(), this);
this._grouped = undefined; this._grouped = undefined;
this._groupingModeChanged(); this._groupingModeChanged();
} }
@@ -1092,7 +1092,8 @@ class WindowList extends St.Widget {
this._stopMonitoringDrag(); this._stopMonitoringDrag();
this._settings.run_dispose(); this._settings.disconnectObject();
this._settings = null;
let windows = global.get_window_actors(); let windows = global.get_window_actors();
for (let i = 0; i < windows.length; i++) for (let i = 0; i < windows.length; i++)
@@ -1144,8 +1145,9 @@ export default class WindowListExtension extends Extension {
if (!this._windowLists) if (!this._windowLists)
return; return;
this._settings.disconnectObject(this);
Main.layoutManager.disconnectObject(this); Main.layoutManager.disconnectObject(this);
this._settings.disconnectObject(this);
this._settings = null;
this._windowLists.forEach(windowList => { this._windowLists.forEach(windowList => {
windowList.hide(); windowList.hide();
+43 -43
View File
@@ -6,115 +6,115 @@
*/ */
.window-list { .window-list {
spacing: 2px; spacing: 2px;
font-size: 10pt; font-size: 10pt;
} }
.bottom-panel { .bottom-panel {
background-color: #000000; background-color: #000000;
border-top-width: 0px; border-top-width: 0px;
padding: 2px; height: 2.45em;
} }
.window-button { .window-button {
padding: 2px, 1px; padding: 4px, 3px;
} }
.window-button:first-child:ltr { .window-button:first-child:ltr {
padding-left: 2px; padding-left: 2px;
} }
.window-button:last-child:rtl { .window-button:last-child:rtl {
padding-right: 2px; padding-right: 2px;
} }
.window-button-box { .window-button-box {
spacing: 4px; spacing: 4px;
} }
.window-button > StWidget, .window-button > StWidget,
.window-picker-toggle > StWidget { .window-picker-toggle > StWidget {
color: #bbb; color: #bbb;
background-color: #1d1d1d; background-color: #1d1d1d;
border-radius: 4px; border-radius: 4px;
padding: 3px 6px 1px; padding: 3px 6px 1px;
transition: 100ms ease; transition: 100ms ease;
} }
.window-button > StWidget { .window-button > StWidget {
-st-natural-width: 18.75em; -st-natural-width: 18.75em;
max-width: 18.75em; max-width: 18.75em;
} }
.window-button:hover > StWidget, .window-button:hover > StWidget,
.window-picker-toggle:hover > StWidget { .window-picker-toggle:hover > StWidget {
color: #fff; color: #fff;
background-color: #303030; background-color: #303030;
} }
.window-button:active > StWidget, .window-button:active > StWidget,
.window-button:focus > StWidget { .window-button:focus > StWidget {
color: #fff; color: #fff;
background-color: #3f3f3f; background-color: #3f3f3f;
} }
.window-button.focused > StWidget, .window-button.focused > StWidget,
.window-picker-toggle:checked > StWidget { .window-picker-toggle:checked > StWidget {
color: #fff; color: #fff;
background-color: #3f3f3f; background-color: #3f3f3f;
} }
.window-button.focused:active > StWidget, .window-button.focused:active > StWidget,
.window-picker-toggle:checked:active > StWidget { .window-picker-toggle:checked:active > StWidget {
color: #fff; color: #fff;
background-color: #3f3f3f; background-color: #3f3f3f;
} }
.window-button.minimized > StWidget { .window-button.minimized > StWidget {
color: #666; color: #666;
background-color: #161616; background-color: #161616;
} }
.window-button.minimized:active > StWidget { .window-button.minimized:active > StWidget {
color: #666; color: #666;
background-color: #161616; background-color: #161616;
} }
.window-button-icon { .window-button-icon {
width: 24px; width: 24px;
height: 24px; height: 24px;
} }
.window-list-workspace-indicator .status-label-bin { .window-list-workspace-indicator .status-label-bin {
background-color: rgba(200, 200, 200, 0.3); background-color: rgba(200, 200, 200, 0.3);
padding: 0 3px; padding: 5px;
margin: 3px; margin: 3px;
} }
.window-list-workspace-indicator .workspaces-box { .window-list-workspace-indicator .workspaces-box {
spacing: 3px; spacing: 3px;
padding: 3px; padding: 5px;
} }
.window-list-workspace-indicator .workspace { .window-list-workspace-indicator .workspace {
width: 52px; width: 52px;
border-radius: 4px; border-radius: 4px;
background-color: #1e1e1e; background-color: #1e1e1e;
} }
.window-list-workspace-indicator .workspace.active { .window-list-workspace-indicator .workspace.active {
background-color: #3f3f3f; background-color: #3f3f3f;
} }
.window-list-window-preview { .window-list-window-preview {
background-color: #bebebe; background-color: #bebebe;
border-radius: 1px; border-radius: 1px;
} }
.window-list-window-preview.active { .window-list-window-preview.active {
background-color: #d4d4d4; background-color: #d4d4d4;
} }
.notification { .notification {
font-weight: normal; font-weight: normal;
} }
+1 -2
View File
@@ -10,8 +10,7 @@
#panel.bottom-panel { #panel.bottom-panel {
border-top-width: 1px; border-top-width: 1px;
border-bottom-width: 0px; border-bottom-width: 0px;
height: 2.25em ; height: 2.5em;
padding: 2px;
} }
.bottom-panel .window-button > StWidget, .bottom-panel .window-button > StWidget,
+11 -8
View File
@@ -36,13 +36,12 @@ class WindowPreview extends St.Button {
this._window = window; this._window = window;
this._window.connectObject( this._window.connectObject(
'size-changed', () => this.queue_relayout(), 'size-changed', () => this._checkRelayout(),
'position-changed', () => { 'position-changed', () => this._checkRelayout(),
this._updateVisible();
this.queue_relayout();
},
'notify::minimized', this._updateVisible.bind(this), 'notify::minimized', this._updateVisible.bind(this),
'notify::window-type', this._updateVisible.bind(this),
this); this);
this._updateVisible();
global.display.connectObject('notify::focus-window', global.display.connectObject('notify::focus-window',
this._onFocusChanged.bind(this), this); this._onFocusChanged.bind(this), this);
@@ -61,11 +60,15 @@ class WindowPreview extends St.Button {
this.remove_style_class_name('active'); this.remove_style_class_name('active');
} }
_updateVisible() { _checkRelayout() {
const monitor = Main.layoutManager.findIndexForActor(this); const monitor = Main.layoutManager.findIndexForActor(this);
const workArea = Main.layoutManager.getWorkAreaForMonitor(monitor); const workArea = Main.layoutManager.getWorkAreaForMonitor(monitor);
this.visible = this._window.get_frame_rect().overlap(workArea) && if (this._window.get_frame_rect().overlap(workArea))
this._window.window_type !== Meta.WindowType.DESKTOP && this.queue_relayout();
}
_updateVisible() {
this.visible = this._window.window_type !== Meta.WindowType.DESKTOP &&
this._window.showing_on_its_workspace(); this._window.showing_on_its_workspace();
} }
} }
+11 -8
View File
@@ -42,13 +42,12 @@ class WindowPreview extends St.Button {
this._window = window; this._window = window;
this._window.connectObject( this._window.connectObject(
'size-changed', () => this.queue_relayout(), 'size-changed', () => this._checkRelayout(),
'position-changed', () => { 'position-changed', () => this._checkRelayout(),
this._updateVisible();
this.queue_relayout();
},
'notify::minimized', this._updateVisible.bind(this), 'notify::minimized', this._updateVisible.bind(this),
'notify::window-type', this._updateVisible.bind(this),
this); this);
this._updateVisible();
global.display.connectObject('notify::focus-window', global.display.connectObject('notify::focus-window',
this._onFocusChanged.bind(this), this); this._onFocusChanged.bind(this), this);
@@ -67,11 +66,15 @@ class WindowPreview extends St.Button {
this.remove_style_class_name('active'); this.remove_style_class_name('active');
} }
_updateVisible() { _checkRelayout() {
const monitor = Main.layoutManager.findIndexForActor(this); const monitor = Main.layoutManager.findIndexForActor(this);
const workArea = Main.layoutManager.getWorkAreaForMonitor(monitor); const workArea = Main.layoutManager.getWorkAreaForMonitor(monitor);
this.visible = this._window.get_frame_rect().overlap(workArea) && if (this._window.get_frame_rect().overlap(workArea))
this._window.window_type !== Meta.WindowType.DESKTOP && this.queue_relayout();
}
_updateVisible() {
this.visible = this._window.window_type !== Meta.WindowType.DESKTOP &&
this._window.showing_on_its_workspace(); this._window.showing_on_its_workspace();
} }
} }
-1
View File
@@ -18,7 +18,6 @@ Most extensions can be installed by configuring --prefix=$HOME/.local,
and will be picked automatically at next login. and will be picked automatically at next login.
</description> </description>
<homepage rdf:resource="https://wiki.gnome.org/Projects/GnomeShell/Extensions" /> <homepage rdf:resource="https://wiki.gnome.org/Projects/GnomeShell/Extensions" />
<mailing-list rdf:resource="http://mail.gnome.org/mailman/listinfo/gnome-shell-list" />
<support-forum rdf:resource="https://discourse.gnome.org/tag/shell" /> <support-forum rdf:resource="https://discourse.gnome.org/tag/shell" />
<download-page rdf:resource="https://download.gnome.org/sources/gnome-shell-extensions/" /> <download-page rdf:resource="https://download.gnome.org/sources/gnome-shell-extensions/" />
<bug-database rdf:resource="https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues" /> <bug-database rdf:resource="https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues" />
+6
View File
@@ -12,6 +12,12 @@ rules:
- error - error
- smart - smart
prefer-arrow-callback: error prefer-arrow-callback: error
jsdoc/require-param-description: off
jsdoc/require-jsdoc:
- error
- exemptEmptyFunctions: true
publicOnly:
esm: true
globals: globals:
global: readonly global: readonly
parserOptions: parserOptions:
+1 -1
View File
@@ -3,7 +3,7 @@
# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-License-Identifier: GPL-2.0-or-later
project('gnome-shell-extensions', project('gnome-shell-extensions',
version: '45.0', version: '45.2',
meson_version: '>= 0.58.0', meson_version: '>= 0.58.0',
license: 'GPL2+' license: 'GPL2+'
) )
+56 -47
View File
@@ -3,39 +3,48 @@
# This file is distributed under the same license as the gnome-shell-extensions package. # This file is distributed under the same license as the gnome-shell-extensions package.
# Ryan LORTIE <desrt@desrt.ca>, 2013. # Ryan LORTIE <desrt@desrt.ca>, 2013.
# Daniel PUENTES <blatberk@openmailbox.org>, 2015. # Daniel PUENTES <blatberk@openmailbox.org>, 2015.
# Kristjan SCHMIDT <kristjan.schmidt@googlemail.com>, 2011-2019.
# Carmen Bianca BAKKER <carmen@carmenbianca.eu>, 2021. # Carmen Bianca BAKKER <carmen@carmenbianca.eu>, 2021.
# Kristjan SCHMIDT <kristjan.schmidt@googlemail.com>, 2011-2023.
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: gnome-shell-extensions master\n" "Project-Id-Version: gnome-shell-extensions master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/" "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/"
"issues\n" "issues\n"
"POT-Creation-Date: 2021-03-27 20:14+0000\n" "POT-Creation-Date: 2023-08-05 15:58+0000\n"
"PO-Revision-Date: 2021-03-29 17:24+0200\n" "PO-Revision-Date: 2023-09-27 22:47+0200\n"
"Last-Translator: Carmen Bianca BAKKER <carmen@carmenbianca.eu>\n" "Last-Translator: Kristjan SCHMIDT <kristjan.schmidt@googlemail.com>\n"
"Language-Team: Esperanto <gnome-eo-list@gnome.org>\n" "Language-Team: Esperanto <gnome-eo-list@gnome.org>\n"
"Language: eo\n" "Language: eo\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n"
"X-Generator: Gtranslator 3.38.0\n" "X-Generator: Gtranslator 42.0\n"
"X-Project-Style: gnome\n" "X-Project-Style: gnome\n"
#: data/gnome-classic.desktop.in:3 #: data/gnome-classic.desktop.in:3
msgid "GNOME Classic" msgid "GNOME Classic"
msgstr "GNOME-klasika" msgstr "GNOME-klasika"
#: data/gnome-classic.desktop.in:4 #: data/gnome-classic.desktop.in:4 data/gnome-classic-wayland.desktop.in:4
#: data/gnome-classic-xorg.desktop.in:4
msgid "This session logs you into GNOME Classic" msgid "This session logs you into GNOME Classic"
msgstr "Ĉi tiu seanco ensalutas vin GNOME-klasiken" msgstr "Ĉi tiu seanco ensalutas vin GNOME-klasiken"
#: extensions/apps-menu/extension.js:113 #: data/gnome-classic-wayland.desktop.in:3
msgid "GNOME Classic on Wayland"
msgstr "GNOME-klasika je Vajlando"
#: data/gnome-classic-xorg.desktop.in:3
msgid "GNOME Classic on Xorg"
msgstr "GNOME-klasika je Xorg"
#: extensions/apps-menu/extension.js:121
msgid "Favorites" msgid "Favorites"
msgstr "Plej ŝatataj" msgstr "Plej ŝatataj"
#: extensions/apps-menu/extension.js:367 #: extensions/apps-menu/extension.js:378
msgid "Applications" msgid "Applications"
msgstr "Aplikaĵoj" msgstr "Aplikaĵoj"
@@ -51,26 +60,26 @@ msgstr ""
"Listo de ĉenoj, ĉiu enhavas aplikaĵan identigilon ('desktop' dosiernomo), " "Listo de ĉenoj, ĉiu enhavas aplikaĵan identigilon ('desktop' dosiernomo), "
"sevkita per dupunkto kaj la laborspaca numero" "sevkita per dupunkto kaj la laborspaca numero"
#: extensions/auto-move-windows/prefs.js:35 #: extensions/auto-move-windows/prefs.js:155
msgid "Workspace Rules" msgid "Workspace Rules"
msgstr "Laborspacaj reguloj" msgstr "Laborspacaj reguloj"
#: extensions/auto-move-windows/prefs.js:237 #: extensions/auto-move-windows/prefs.js:309
msgid "Add Rule" msgid "Add Rule"
msgstr "Aldoni regulon" msgstr "Aldoni regulon"
#. TRANSLATORS: %s is the filesystem name #. TRANSLATORS: %s is the filesystem name
#: extensions/drive-menu/extension.js:112 #: extensions/drive-menu/extension.js:122
#: extensions/places-menu/placeDisplay.js:233 #: extensions/places-menu/placeDisplay.js:213
#, javascript-format #, javascript-format
msgid "Ejecting drive “%s” failed:" msgid "Ejecting drive “%s” failed:"
msgstr "Elĵeto de volumo “%s” malsukcesis:" msgstr "Elĵeto de volumo “%s” malsukcesis:"
#: extensions/drive-menu/extension.js:128 #: extensions/drive-menu/extension.js:141
msgid "Removable devices" msgid "Removable devices"
msgstr "Demeteblaj aparatoj" msgstr "Demeteblaj aparatoj"
#: extensions/drive-menu/extension.js:152 #: extensions/drive-menu/extension.js:163
msgid "Open Files" msgid "Open Files"
msgstr "Malfermi dosierojn" msgstr "Malfermi dosierojn"
@@ -102,31 +111,31 @@ msgstr ""
"estas meti ĝin malsupre). Si vi ŝanĝas ĉi agordon tiam vi devas restartigi " "estas meti ĝin malsupre). Si vi ŝanĝas ĉi agordon tiam vi devas restartigi "
"la ŝelon." "la ŝelon."
#: extensions/places-menu/extension.js:89 #: extensions/places-menu/extension.js:85
#: extensions/places-menu/extension.js:92 #: extensions/places-menu/extension.js:88
msgid "Places" msgid "Places"
msgstr "Lokoj" msgstr "Lokoj"
#: extensions/places-menu/placeDisplay.js:46 #: extensions/places-menu/placeDisplay.js:53
#, javascript-format #, javascript-format
msgid "Failed to launch “%s”" msgid "Failed to launch “%s”"
msgstr "Malsukcesis lanĉi “%s”" msgstr "Malsukcesis lanĉi “%s”"
#: extensions/places-menu/placeDisplay.js:61 #: extensions/places-menu/placeDisplay.js:68
#, javascript-format #, javascript-format
msgid "Failed to mount volume for “%s”" msgid "Failed to mount volume for “%s”"
msgstr "Ne eblis munti datumportilon por “%s”" msgstr "Ne eblis munti datumportilon por “%s”"
#: extensions/places-menu/placeDisplay.js:148 #: extensions/places-menu/placeDisplay.js:128
#: extensions/places-menu/placeDisplay.js:171 #: extensions/places-menu/placeDisplay.js:151
msgid "Computer" msgid "Computer"
msgstr "Komputilo" msgstr "Komputilo"
#: extensions/places-menu/placeDisplay.js:359 #: extensions/places-menu/placeDisplay.js:328
msgid "Home" msgid "Home"
msgstr "Domo" msgstr "Domo"
#: extensions/places-menu/placeDisplay.js:404 #: extensions/places-menu/placeDisplay.js:373
msgid "Browse Network" msgid "Browse Network"
msgstr "Foliumi reton" msgstr "Foliumi reton"
@@ -146,47 +155,47 @@ msgstr "Etosnomo"
msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell" msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell"
msgstr "La nomo de la etoso, malfermigi de ~/.themes/name/gnome-shell" msgstr "La nomo de la etoso, malfermigi de ~/.themes/name/gnome-shell"
#: extensions/window-list/extension.js:98 #: extensions/window-list/extension.js:71
msgid "Close" msgid "Close"
msgstr "Fermi" msgstr "Fermi"
#: extensions/window-list/extension.js:118 #: extensions/window-list/extension.js:98
msgid "Unminimize" msgid "Unminimize"
msgstr "Malminimumigi" msgstr "Malminimumigi"
#: extensions/window-list/extension.js:118 #: extensions/window-list/extension.js:98
msgid "Minimize" msgid "Minimize"
msgstr "Minimumigi" msgstr "Minimumigi"
#: extensions/window-list/extension.js:125 #: extensions/window-list/extension.js:105
msgid "Unmaximize" msgid "Unmaximize"
msgstr "Malmaksimumigi" msgstr "Malmaksimumigi"
#: extensions/window-list/extension.js:125 #: extensions/window-list/extension.js:105
msgid "Maximize" msgid "Maximize"
msgstr "Maksimumigi" msgstr "Maksimumigi"
#: extensions/window-list/extension.js:432 #: extensions/window-list/extension.js:468
msgid "Minimize all" msgid "Minimize all"
msgstr "Minimumigi ĉiujn" msgstr "Minimumigi ĉiujn"
#: extensions/window-list/extension.js:438 #: extensions/window-list/extension.js:474
msgid "Unminimize all" msgid "Unminimize all"
msgstr "Malminimumigi ĉiujn" msgstr "Malminimumigi ĉiujn"
#: extensions/window-list/extension.js:444 #: extensions/window-list/extension.js:480
msgid "Maximize all" msgid "Maximize all"
msgstr "Maksimumigi ĉiujn" msgstr "Maksimumigi ĉiujn"
#: extensions/window-list/extension.js:452 #: extensions/window-list/extension.js:488
msgid "Unmaximize all" msgid "Unmaximize all"
msgstr "Malmaksimumigi ĉiujn" msgstr "Malmaksimumigi ĉiujn"
#: extensions/window-list/extension.js:460 #: extensions/window-list/extension.js:496
msgid "Close all" msgid "Close all"
msgstr "Fermi ĉiujn" msgstr "Fermi ĉiujn"
#: extensions/window-list/extension.js:737 #: extensions/window-list/extension.js:776
msgid "Window List" msgid "Window List"
msgstr "Fenestra listo" msgstr "Fenestra listo"
@@ -203,7 +212,7 @@ msgstr ""
"Validaj valoroj estas “neniam”, “aŭtomate” kaj ĉiam”." "Validaj valoroj estas “neniam”, “aŭtomate” kaj ĉiam”."
#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:20 #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:20
#: extensions/window-list/prefs.js:100 #: extensions/window-list/prefs.js:76
msgid "Show windows from all workspaces" msgid "Show windows from all workspaces"
msgstr "Montri la fenestrojn de ĉiuj laborspacoj" msgstr "Montri la fenestrojn de ĉiuj laborspacoj"
@@ -222,41 +231,41 @@ msgid ""
msgstr "" msgstr ""
"Ĉu montri la fenestroliston en ĉiuj konektitaj ekranoj aŭ nur en la ĉefa." "Ĉu montri la fenestroliston en ĉiuj konektitaj ekranoj aŭ nur en la ĉefa."
#: extensions/window-list/prefs.js:29 #: extensions/window-list/prefs.js:32
msgid "Window Grouping" msgid "Window Grouping"
msgstr "Fenestra grupigo" msgstr "Fenestra grupigo"
#: extensions/window-list/prefs.js:58 #: extensions/window-list/prefs.js:37
msgid "Never group windows" msgid "Never group windows"
msgstr "Neniam grupigi fenestrojn" msgstr "Neniam grupigi fenestrojn"
#: extensions/window-list/prefs.js:59 #: extensions/window-list/prefs.js:38
msgid "Group windows when space is limited" msgid "Group windows when space is limited"
msgstr "Grupigi fenestrojn kiam spaco limitas" msgstr "Grupigi fenestrojn kiam spaco limitas"
#: extensions/window-list/prefs.js:60 #: extensions/window-list/prefs.js:39
msgid "Always group windows" msgid "Always group windows"
msgstr "Ĉiam grupigi fenestrojn" msgstr "Ĉiam grupigi fenestrojn"
#: extensions/window-list/prefs.js:94 #: extensions/window-list/prefs.js:63
msgid "Show on all monitors" msgid "Show on all monitors"
msgstr "Montri en ĉiuj ekranoj" msgstr "Montri en ĉiuj ekranoj"
#: extensions/window-list/workspaceIndicator.js:249 #: extensions/window-list/workspaceIndicator.js:248
#: extensions/workspace-indicator/extension.js:255 #: extensions/workspace-indicator/extension.js:252
msgid "Workspace Indicator" msgid "Workspace Indicator"
msgstr "Laborspaco Indikilo" msgstr "Laborspaco Indikilo"
#: extensions/workspace-indicator/prefs.js:34 #: extensions/workspace-indicator/prefs.js:65
msgid "Workspace Names"
msgstr "Laborspacaj nomoj"
#: extensions/workspace-indicator/prefs.js:67
#, javascript-format #, javascript-format
msgid "Workspace %d" msgid "Workspace %d"
msgstr "Laborspaco %d" msgstr "Laborspaco %d"
#: extensions/workspace-indicator/prefs.js:208 #: extensions/workspace-indicator/prefs.js:132
msgid "Workspace Names"
msgstr "Laborspacaj nomoj"
#: extensions/workspace-indicator/prefs.js:258
msgid "Add Workspace" msgid "Add Workspace"
msgstr "Aldoni laborspacon" msgstr "Aldoni laborspacon"
+188 -195
View File
@@ -6,178 +6,81 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: gnome-shell-extensions 3.26.x\n" "Project-Id-Version: gnome-shell-extensions 3.26.x\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&keywords=I18N+L10N&component=extensions\n" "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/"
"POT-Creation-Date: 2017-10-04 18:03+0000\n" "issues\n"
"PO-Revision-Date: 2017-11-06 13:40+0100\n" "POT-Creation-Date: 2023-08-05 15:58+0000\n"
"Last-Translator: Kjartan Maraas <kmaraas@gnome.org>\n" "PO-Revision-Date: 2023-10-12 22:27+0200\n"
"Last-Translator: Brage <bragefuglseth@gnome.org>\n"
"Language-Team: Norwegian bokmål <i18n-nb@lister.ping.uio.no>\n" "Language-Team: Norwegian bokmål <i18n-nb@lister.ping.uio.no>\n"
"Language: nb\n" "Language: nb\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.4\n" "X-Generator: Poedit 3.4\n"
#: data/gnome-classic.desktop.in:3 data/gnome-classic.session.desktop.in:3 #: data/gnome-classic.desktop.in:3
msgid "GNOME Classic" msgid "GNOME Classic"
msgstr "Klassisk GNOME" msgstr "Klassisk GNOME"
#: data/gnome-classic.desktop.in:4 #: data/gnome-classic.desktop.in:4 data/gnome-classic-wayland.desktop.in:4
#: data/gnome-classic-xorg.desktop.in:4
msgid "This session logs you into GNOME Classic" msgid "This session logs you into GNOME Classic"
msgstr "Denne økten logger inn i klassisk GNOME" msgstr "Denne økten logger inn i klassisk GNOME"
#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:7 #: data/gnome-classic-wayland.desktop.in:3
msgid "Attach modal dialog to the parent window" msgid "GNOME Classic on Wayland"
msgstr "Fest modal dialog til opphavsvindu" msgstr "Klassisk GNOME med Wayland"
#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:8 #: data/gnome-classic-xorg.desktop.in:3
#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:25 msgid "GNOME Classic on Xorg"
#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:33 msgstr "Klassisk GNOME med Xorg"
#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:41
msgid ""
"This key overrides the key in org.gnome.mutter when running GNOME Shell."
msgstr ""
"Denne nøkkelen overstyrer nøkkelen i org.gnome.mutter når GNOME Shell kjører."
#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:16 #: extensions/apps-menu/extension.js:121
msgid "Arrangement of buttons on the titlebar"
msgstr "Plassering av knapper på tittellinjen"
#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:17
msgid ""
"This key overrides the key in org.gnome.desktop.wm.preferences when running "
"GNOME Shell."
msgstr ""
"Denne nøkkelen overstyrer nøkkelen i org.gnome.desktop.wm.preferences når "
"GNOME Shell kjører."
#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:24
msgid "Enable edge tiling when dropping windows on screen edges"
msgstr ""
"Del opp skjermkantene i fliser når brukeren drar og slipper vinduer på dem"
#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:32
msgid "Workspaces only on primary monitor"
msgstr "Arbeidsområder kun på hovedskjerm"
#: data/org.gnome.shell.extensions.classic-overrides.gschema.xml:40
msgid "Delay focus changes in mouse mode until the pointer stops moving"
msgstr "Vent med å endre fokus i mus-modus til pekeren holdes i ro"
#: extensions/alternate-tab/prefs.js:20
msgid "Thumbnail only"
msgstr "Kun miniatyr"
#: extensions/alternate-tab/prefs.js:21
msgid "Application icon only"
msgstr "Kun programikon"
#: extensions/alternate-tab/prefs.js:22
msgid "Thumbnail and application icon"
msgstr "Miniatyr og programikon"
#: extensions/alternate-tab/prefs.js:38
msgid "Present windows as"
msgstr "Vis vinduer som"
#: extensions/alternate-tab/prefs.js:69
msgid "Show only windows in the current workspace"
msgstr "Vis kun vinduer i aktivt arbeidsområde"
#: extensions/apps-menu/extension.js:41
msgid "Activities Overview"
msgstr "Aktivitetsoversikt"
#: extensions/apps-menu/extension.js:141
msgid "Favorites" msgid "Favorites"
msgstr "Favoritter" msgstr "Favoritter"
#: extensions/apps-menu/extension.js:436 #: extensions/apps-menu/extension.js:378
msgid "Applications" msgid "Applications"
msgstr "Programmer" msgstr "Apper"
#: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:6 #: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:6
msgid "Application and workspace list" msgid "Application and workspace list"
msgstr "Liste med programmer og arbeidsområder" msgstr "Liste over apper og områder"
#: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:7 #: extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml:7
msgid "" msgid ""
"A list of strings, each containing an application id (desktop file name), " "A list of strings, each containing an application id (desktop file name), "
"followed by a colon and the workspace number" "followed by a colon and the workspace number"
msgstr "" msgstr ""
"En liste med strenger som inneholder en ID for et program (navn på .desktop-" "En liste hvor hvert element inneholder en app-ID (navn på skrivebordsfil), "
"fil), fulgt av et kolon og arbeidsområdenummeret" "fulgt av et kolon og et områdenummer"
#: extensions/auto-move-windows/prefs.js:60 #: extensions/auto-move-windows/prefs.js:155
msgid "Application" msgid "Workspace Rules"
msgstr "Program" msgstr "Områderegler"
#: extensions/auto-move-windows/prefs.js:69 #: extensions/auto-move-windows/prefs.js:309
#: extensions/auto-move-windows/prefs.js:127
msgid "Workspace"
msgstr "Arbeidsområde"
#: extensions/auto-move-windows/prefs.js:85
msgid "Add Rule" msgid "Add Rule"
msgstr "Legg til regel" msgstr "Legg til regel"
#: extensions/auto-move-windows/prefs.js:106
msgid "Create new matching rule"
msgstr "Lag en ny regel for treff"
#: extensions/auto-move-windows/prefs.js:111
msgid "Add"
msgstr "Legg til"
#. TRANSLATORS: %s is the filesystem name #. TRANSLATORS: %s is the filesystem name
#: extensions/drive-menu/extension.js:107 #: extensions/drive-menu/extension.js:122
#: extensions/places-menu/placeDisplay.js:213
#, javascript-format #, javascript-format
msgid "Ejecting drive “%s” failed:" msgid "Ejecting drive “%s” failed:"
msgstr "Utløsing av stasjon «%s» feilet:" msgstr "Løsning av lagringsenheten %s” mislyktes:"
#: extensions/drive-menu/extension.js:125 #: extensions/drive-menu/extension.js:141
msgid "Removable devices" msgid "Removable devices"
msgstr "Avtagbare enheter" msgstr "Flyttbare enheter"
#: extensions/drive-menu/extension.js:150 #: extensions/drive-menu/extension.js:163
msgid "Open Files" msgid "Open Files"
msgstr "Åpne fil" msgstr "Åpne filer"
#: extensions/example/extension.js:17
msgid "Hello, world!"
msgstr "Hallo verden!"
#: extensions/example/org.gnome.shell.extensions.example.gschema.xml:5
msgid "Alternative greeting text."
msgstr "Alternativ velkomsttekst."
#: extensions/example/org.gnome.shell.extensions.example.gschema.xml:6
msgid ""
"If not empty, it contains the text that will be shown when clicking on the "
"panel."
msgstr ""
"Hvis denne ikke er tom, inneholder den tekst som vises når brukeren klikker "
"på panelet."
#: extensions/example/prefs.js:30
msgid "Message"
msgstr "Melding"
#. TRANSLATORS: Example is the name of the extension, should not be
#. translated
#: extensions/example/prefs.js:43
msgid ""
"Example aims to show how to build well behaved extensions for the Shell and "
"as such it has little functionality on its own.\n"
"Nevertheless its possible to customize the greeting message."
msgstr ""
"Example har som hensikt å vise hvordan du kan bygge godt fungerende "
"utvidelser til Gnome-skallet, og byr dermed på lite funksjonalitet i seg "
"selv.\n"
"Hvis du likevel har lyst, kan du tilpasse velkomstmeldingen."
#: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:5 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:5
msgid "Use more screen for windows" msgid "Use more screen for windows"
msgstr "Bruk mer skjerm til vinduer" msgstr "Bruk mer av skjermen til vinduer"
#: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:6 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:6
msgid "" msgid ""
@@ -185,14 +88,14 @@ msgid ""
"aspect ratio, and consolidating them further to reduce the bounding box. " "aspect ratio, and consolidating them further to reduce the bounding box. "
"This setting applies only with the natural placement strategy." "This setting applies only with the natural placement strategy."
msgstr "" msgstr ""
"Prøv å bruke mer skjermplass for å plassere miniatyrvinduer ved å tilpasse " "Prøv å bruke mer av skjermen til miniatyrvinduer ved å tilpasse dem til "
"dem til skjermens høyde- og breddeforhold, og slå dem sammen ytterligere for " "skjermens høyde- og breddeforhold, og ved å samle dem tettere sammen for å "
"å redusere avgrensingsboksen. Denne innstillinga gjelder bare med naturlig " "redusere tomrom. Denne innstillingen virker bare når naturlig plassering er "
"plassering-strategien." "i bruk."
#: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:11 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:11
msgid "Place window captions on top" msgid "Place window captions on top"
msgstr "Plasser vindutekster i toppen" msgstr "Plasser vindustekster i toppen"
#: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:12 #: extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml:12
msgid "" msgid ""
@@ -200,103 +103,97 @@ msgid ""
"shell default of placing it at the bottom. Changing this setting requires " "shell default of placing it at the bottom. Changing this setting requires "
"restarting the shell to have any effect." "restarting the shell to have any effect."
msgstr "" msgstr ""
"Hvis verdien av denne er «true» (sann), plasseres vindutekster i toppen av " "Hvis denne innstillingen er slått på, plasseres vindustekster toppen av "
"gjeldende miniatyr og overstyrer skallets standard bunnplassering. Hvis du " "sine respektive miniatyrbilder i stedet for på bunnen. For at denne "
"endrer denne innstillinga, må du starte skallet på nytt for at den skal tre " "innstillingen skal tre i kraft, må GNOME Shell startes på nytt."
"i kraft."
#: extensions/places-menu/extension.js:78 #: extensions/places-menu/extension.js:85
#: extensions/places-menu/extension.js:81 #: extensions/places-menu/extension.js:88
msgid "Places" msgid "Places"
msgstr "Steder" msgstr "Steder"
#: extensions/places-menu/placeDisplay.js:65 #: extensions/places-menu/placeDisplay.js:53
#, javascript-format
msgid "Failed to mount volume for “%s”"
msgstr "Klarte ikke å montere volum for «%s»"
#: extensions/places-menu/placeDisplay.js:78
#, javascript-format #, javascript-format
msgid "Failed to launch “%s”" msgid "Failed to launch “%s”"
msgstr "Klarte ikke å starte «%s»" msgstr "Oppstart av “%s” mislyktes"
#: extensions/places-menu/placeDisplay.js:137 #: extensions/places-menu/placeDisplay.js:68
#: extensions/places-menu/placeDisplay.js:160 #, javascript-format
msgid "Failed to mount volume for “%s”"
msgstr "Klarte ikke å montere dataområde for “%s”"
#: extensions/places-menu/placeDisplay.js:128
#: extensions/places-menu/placeDisplay.js:151
msgid "Computer" msgid "Computer"
msgstr "Datamaskin" msgstr "Datamaskin"
#: extensions/places-menu/placeDisplay.js:303 #: extensions/places-menu/placeDisplay.js:328
msgid "Home" msgid "Home"
msgstr "Hjem" msgstr "Hjem"
#: extensions/places-menu/placeDisplay.js:347 #: extensions/places-menu/placeDisplay.js:373
msgid "Browse Network" msgid "Browse Network"
msgstr "Bla gjennom nettverk" msgstr "Bla gjennom nettverk"
#: extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml:7 #: extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml:7
msgid "Cycle Screenshot Sizes" msgid "Cycle Screenshot Sizes"
msgstr "Bla gjennom størrelser på skjermdump" msgstr "Bla gjennom skjermbildestørrelser"
#: extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml:11 #: extensions/screenshot-window-sizer/org.gnome.shell.extensions.screenshot-window-sizer.gschema.xml:11
msgid "Cycle Screenshot Sizes Backward" msgid "Cycle Screenshot Sizes Backward"
msgstr "Bla gjennom størrelser på skjermdump baklengs" msgstr "Bla gjennom skjermbildestørrelser baklengs"
#: extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml:5 #: extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml:5
msgid "Theme name" msgid "Theme name"
msgstr "Navn på tema" msgstr "Stilnavn"
#: extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml:6 #: extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml:6
msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell" msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell"
msgstr "Navn på tema som skal lastes fra ~/.themes/name/gnome-shell" msgstr "Navn på stil, som vil bli lastet fra ~/.themes/{navn}/gnome-shell"
#: extensions/window-list/extension.js:110 #: extensions/window-list/extension.js:71
msgid "Close" msgid "Close"
msgstr "Lukk" msgstr "Lukk"
#: extensions/window-list/extension.js:129 #: extensions/window-list/extension.js:98
msgid "Unminimize" msgid "Unminimize"
msgstr "Gjenopprett" msgstr "Gjenopprett"
#: extensions/window-list/extension.js:130 #: extensions/window-list/extension.js:98
msgid "Minimize" msgid "Minimize"
msgstr "Minimer" msgstr "Minimer"
#: extensions/window-list/extension.js:136 #: extensions/window-list/extension.js:105
msgid "Unmaximize" msgid "Unmaximize"
msgstr "Gjenopprett" msgstr "Demaksimer"
#: extensions/window-list/extension.js:137 #: extensions/window-list/extension.js:105
msgid "Maximize" msgid "Maximize"
msgstr "Maksimer" msgstr "Maksimer"
#: extensions/window-list/extension.js:420 #: extensions/window-list/extension.js:468
msgid "Minimize all" msgid "Minimize all"
msgstr "Minimer alle" msgstr "Minimer alle"
#: extensions/window-list/extension.js:428 #: extensions/window-list/extension.js:474
msgid "Unminimize all" msgid "Unminimize all"
msgstr "Gjenopprett alle" msgstr "Gjenopprett alle"
#: extensions/window-list/extension.js:436 #: extensions/window-list/extension.js:480
msgid "Maximize all" msgid "Maximize all"
msgstr "Maksimer alle" msgstr "Maksimer alle"
#: extensions/window-list/extension.js:445 #: extensions/window-list/extension.js:488
msgid "Unmaximize all" msgid "Unmaximize all"
msgstr "Gjenopprett alle" msgstr "Demaksimer alle"
#: extensions/window-list/extension.js:454 #: extensions/window-list/extension.js:496
msgid "Close all" msgid "Close all"
msgstr "Lukk alle" msgstr "Lukk alle"
#: extensions/window-list/extension.js:678 #: extensions/window-list/extension.js:776
#: extensions/workspace-indicator/extension.js:30
msgid "Workspace Indicator"
msgstr "Arbeidsområdeindikator"
#: extensions/window-list/extension.js:842
msgid "Window List" msgid "Window List"
msgstr "Vinduliste" msgstr "Vindusliste"
#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:12 #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:12
msgid "When to group windows" msgid "When to group windows"
@@ -307,50 +204,146 @@ msgid ""
"Decides when to group windows from the same application on the window list. " "Decides when to group windows from the same application on the window list. "
"Possible values are “never”, “auto” and “always”." "Possible values are “never”, “auto” and “always”."
msgstr "" msgstr ""
"Avgjør når vinduer fra samme program skal grupperes i vindulista. Mulige " "Avgjør når vinduer som tilhører samme app skal grupperes i vindulista. "
"verdier er «never» (aldri), «auto» og «always» (alltid)." "Mulige verdier er never (aldri), auto og always (alltid)."
#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:20 #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:20
msgid "Show the window list on all monitors" #: extensions/window-list/prefs.js:76
msgstr "Vis vindulisten på alle skjermer" msgid "Show windows from all workspaces"
msgstr "Vis vinduer fra alle områder"
#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:21 #: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:21
msgid "Whether to show windows from all workspaces or only the current one."
msgstr "Om det skal vises vinduer fra alle områder eller bare det nåværende."
#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:27
msgid "Show the window list on all monitors"
msgstr "Vis vinduslisten på alle skjermer"
#: extensions/window-list/org.gnome.shell.extensions.window-list.gschema.xml:28
msgid "" msgid ""
"Whether to show the window list on all connected monitors or only on the " "Whether to show the window list on all connected monitors or only on the "
"primary one." "primary one."
msgstr "" msgstr ""
"Hvorvidt vindulisten skal vises på alle tilkoblede skjermer eller bare " "Om vinduslisten skal vises på alle tilkoblede skjermer eller bare "
"primærskjerm." "hovedskjermen."
#: extensions/window-list/prefs.js:32 #: extensions/window-list/prefs.js:32
msgid "Window Grouping" msgid "Window Grouping"
msgstr "Gruppering av vinduer" msgstr "Vindusgruppering"
#: extensions/window-list/prefs.js:50 #: extensions/window-list/prefs.js:37
msgid "Never group windows" msgid "Never group windows"
msgstr "Aldri grupper vinduer" msgstr "Aldri grupper vinduer"
#: extensions/window-list/prefs.js:51 #: extensions/window-list/prefs.js:38
msgid "Group windows when space is limited" msgid "Group windows when space is limited"
msgstr "Grupper vinduer når det er begrenset med plass" msgstr "Grupper vinduer når det er begrenset med plass"
#: extensions/window-list/prefs.js:52 #: extensions/window-list/prefs.js:39
msgid "Always group windows" msgid "Always group windows"
msgstr "Alltid grupper vinduer" msgstr "Alltid grupper vinduer"
#: extensions/window-list/prefs.js:75 #: extensions/window-list/prefs.js:63
msgid "Show on all monitors" msgid "Show on all monitors"
msgstr "Vis på alle skjermer" msgstr "Vis på alle skjermer"
#: extensions/workspace-indicator/prefs.js:141 #: extensions/window-list/workspaceIndicator.js:248
msgid "Workspace Names" #: extensions/workspace-indicator/extension.js:252
msgstr "Navn på arbeidsområder" msgid "Workspace Indicator"
msgstr "Områdeindikator"
#: extensions/workspace-indicator/prefs.js:157 #: extensions/workspace-indicator/prefs.js:65
msgid "Name"
msgstr "Navn"
#: extensions/workspace-indicator/prefs.js:198
#, javascript-format #, javascript-format
msgid "Workspace %d" msgid "Workspace %d"
msgstr "Arbeidsområde %d" msgstr "Område %d"
#: extensions/workspace-indicator/prefs.js:132
msgid "Workspace Names"
msgstr "Områdenavn"
#: extensions/workspace-indicator/prefs.js:258
msgid "Add Workspace"
msgstr "Legg til område"
#~ msgid "Attach modal dialog to the parent window"
#~ msgstr "Fest modal dialog til opphavsvindu"
#~ msgid ""
#~ "This key overrides the key in org.gnome.mutter when running GNOME Shell."
#~ msgstr ""
#~ "Denne nøkkelen overstyrer nøkkelen i org.gnome.mutter når GNOME Shell "
#~ "kjører."
#~ msgid "Arrangement of buttons on the titlebar"
#~ msgstr "Plassering av knapper på tittellinjen"
#~ msgid ""
#~ "This key overrides the key in org.gnome.desktop.wm.preferences when "
#~ "running GNOME Shell."
#~ msgstr ""
#~ "Denne nøkkelen overstyrer nøkkelen i org.gnome.desktop.wm.preferences når "
#~ "GNOME Shell kjører."
#~ msgid "Enable edge tiling when dropping windows on screen edges"
#~ msgstr ""
#~ "Del opp skjermkantene i fliser når brukeren drar og slipper vinduer på dem"
#~ msgid "Workspaces only on primary monitor"
#~ msgstr "Arbeidsområder kun på hovedskjerm"
#~ msgid "Delay focus changes in mouse mode until the pointer stops moving"
#~ msgstr "Vent med å endre fokus i mus-modus til pekeren holdes i ro"
#~ msgid "Thumbnail only"
#~ msgstr "Kun miniatyr"
#~ msgid "Application icon only"
#~ msgstr "Kun programikon"
#~ msgid "Thumbnail and application icon"
#~ msgstr "Miniatyr og programikon"
#~ msgid "Present windows as"
#~ msgstr "Vis vinduer som"
#~ msgid "Activities Overview"
#~ msgstr "Aktivitetsoversikt"
#~ msgid "Application"
#~ msgstr "Program"
#~ msgid "Create new matching rule"
#~ msgstr "Lag en ny regel for treff"
#~ msgid "Add"
#~ msgstr "Legg til"
#~ msgid "Hello, world!"
#~ msgstr "Hallo verden!"
#~ msgid "Alternative greeting text."
#~ msgstr "Alternativ velkomsttekst."
#~ msgid ""
#~ "If not empty, it contains the text that will be shown when clicking on "
#~ "the panel."
#~ msgstr ""
#~ "Hvis denne ikke er tom, inneholder den tekst som vises når brukeren "
#~ "klikker på panelet."
#~ msgid "Message"
#~ msgstr "Melding"
#~ msgid ""
#~ "Example aims to show how to build well behaved extensions for the Shell "
#~ "and as such it has little functionality on its own.\n"
#~ "Nevertheless its possible to customize the greeting message."
#~ msgstr ""
#~ "Example har som hensikt å vise hvordan du kan bygge godt fungerende "
#~ "utvidelser til Gnome-skallet, og byr dermed på lite funksjonalitet i seg "
#~ "selv.\n"
#~ "Hvis du likevel har lyst, kan du tilpasse velkomstmeldingen."
#~ msgid "Name"
#~ msgstr "Navn"