Florian Müllner
2ef6dba0a5
window-list: Fix resetting handler ID
...
This is embarrassing, although destroy() is expected to only run once,
so the bug shouldn't have an effect in practice.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/78
2019-06-29 02:56:33 +02:00
Florian Müllner
92db87f7cb
window-list: Add window picker button
...
With the latest changes, GNOME Classic has become so classic that it
is bordering dull. Salvage at least a tiny piece of GNOME 3 in form
of a window-pick button which toggles an exposé-like reduced overview.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/73
2019-06-28 23:02:58 +02:00
Florian Müllner
82d2011061
classic: Disable overview
...
The overview is one of the defining features of GNOME 3, and thus
almost by definition at odds with the classic session, which
emulates a traditional GNOME 2 desktop.
Even with the less prominent placement inside the application menu
it never quite fit in - it doesn't help that besides the different
UI paradigma, the overview keeps its "normal" styling which differs
greatly with classic's normal mode.
So besides removing the "Activities" button via the session mode
definition, now that the apps-menu extension doesn't replace it anymore,
disable the overview completely in the classic session.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/69
2019-06-28 20:55:28 +00:00
Florian Müllner
545b811562
apps-menu: Hide overview when launching app
...
Now that we no longer hide the overview when the menu is opened,
it is possible to activate menu entries from the overview. Start
hiding the overview in that case, which is consistent with app
launching elsewhere.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/69
2019-06-28 20:55:28 +00:00
Florian Müllner
d99d0a06bd
apps-menu: Stop hiding the overview when toggled
...
Now that the extension no longer doubles as the "Activities" button,
that behavior is confusing.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/69
2019-06-28 20:55:28 +00:00
Florian Müllner
6105eecff2
apps-menu: Stop taking over Activities button
...
We don't want the "Activities" button in GNOME Classic, but the current
way of handling it is confusing:
- the button is hidden, but the corresponding hot corner
sometimes works (when the application menu isn't open)
- the button is effectively moved inside the menu, although
it's clearly not an app or category
- the apps-menu can be used independent from classic mode, in
which case removing the "Activities" button may not be wanted
Address those points by removing any handling of the activities button
from the apps-menu extension. We will remove it again from the classic
session via a session mode tweak.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/69
2019-06-28 20:55:28 +00:00
Florian Müllner
d1254d9b57
places-menu: Don't hardcode position
...
The extension currently assumes that we have the "Activities" button
at the left of the top bar. This is currently true, not only in the
regular session, but also in GNOME classic where the button is hidden
(but still present).
However this is about to change: We will stop taking over the button
from the apps-menu extension, and instead disable "Activities" from
the session mode definition.
Prepare for this by adding the places menu before the application menu
instead of assuming a hardcoded position.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/69
2019-06-28 20:55:28 +00:00
Florian Müllner
2db4589dea
cleanup: Re-order imports
...
They should be grouped between external (GI/gjs) and shell and in
alphabetical order. Until commit bab4be1a ExtensionUtils was special
as it was required for some imports, but that's no longer the case
for most extensions.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/76
2019-06-28 21:51:38 +02:00
Florian Müllner
dfeb99fc0a
apps-menu: Add missing chain-up
...
PanelMenu.Button is a bit weird in that it also "contains" its parent
actor. That container is supposed to be destroyed with the button, but
as we currently don't chain up to the parent class' _onDestroy(), we
leave behind an empty container every time the extension is disabled.
Fix this by adding the missing chain-up.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/75
2019-06-27 04:26:35 +02:00
Florian Müllner
48ea80d391
Bump version to 3.33.3
...
Update NEWS.
3.33.3
2019-06-24 20:34:02 +02:00
Jakub Steiner
b138e218bb
classic: fix a broken build
...
- redesign of the default theme nuked some local variables
breaking the build.
2019-06-24 20:28:03 +02:00
Florian Müllner
829440f546
Update sass submodule
2019-06-24 20:02:18 +02:00
Marco Trevisan (Treviño)
14859b4009
window-list: Pass the actor as PopupMenuManager owner
...
PopupMenuManager's grabHelper starting from gnome-shell@7bb84da must be
an actor, so pass it explicitly instead of expecting the shell to do it
for us.
This fixes an error during pushModal that was causing a grab not to be
released.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/68
2019-05-29 14:45:43 -05:00
Florian Müllner
3a596054ad
places-menu: Adjust to GObject-ification of menu items
...
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/67
2019-05-29 09:38:21 +00:00
Florian Müllner
65191d83b4
drive-menu: Adjust to GObject-ification of menu items
...
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/67
2019-05-29 09:38:21 +00:00
Florian Müllner
8499b0e254
apps-menu: Adjust to GObject-ification of menu items
...
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/67
2019-05-29 09:38:21 +00:00
Florian Müllner
f166ca501f
window-list: Stop using deprecated actor property
...
Since PanelMenu.Button was changed to inherit from St.Widget, its actor
property is deprecated and points to itself. Stop using it to avoid the
corresponding warning.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/67
2019-05-29 09:38:21 +00:00
Florian Müllner
a36331522f
Bump version to 3.33.2
...
Update NEWS.
3.33.2
2019-05-22 18:58:31 +00:00
Florian Müllner
25e43a5d08
lint: Remove legacy configuration
...
After the last batch of indentation changes, the whole code base
conforms to the new style now, so we can drop the legacy eslint
configuration.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/66
2019-05-22 20:40:19 +02:00
Florian Müllner
ad914441a2
window-list: Reindent to conform with new style
...
Instead of aligning arguments like we used to do, use a consistent
four-space indent as mandated by gjs' current style guide.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/66
2019-05-22 20:40:19 +02:00
Florian Müllner
200d337769
apps-menu: Reindent to conform with new style
...
Instead of aligning arguments like we used to do, use a consistent
four-space indent as mandated by gjs' current style guide.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/66
2019-05-22 20:40:19 +02:00
Florian Müllner
e56f1a976e
native-window-placement: Reindent to conform with new style
...
Instead of aligning arguments like we used to do, use a consistent
four-space indent as mandated by gjs' current style guide.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/66
2019-05-22 20:40:19 +02:00
Florian Müllner
6a66cd4fa6
places-menu: Reindent to conform with new style
...
Instead of aligning arguments like we used to do, use a consistent
four-space indent as mandated by gjs' current style guide.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/66
2019-05-22 20:40:19 +02:00
Florian Müllner
55c493389a
auto-move-windows: Reindent to conform with new style
...
Instead of aligning arguments like we used to do, use a consistent
four-space indent as mandated by gjs' current style guide.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/66
2019-05-22 20:40:18 +02:00
Florian Müllner
06f1303834
drive-menu: Reindent to conform with new style
...
Instead of aligning arguments like we used to do, use a consistent
four-space indent as mandated by gjs' current style guide.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/66
2019-05-22 20:40:18 +02:00
Florian Müllner
3d5687ae3c
workspace-indicator: Reindent to conform with new style
...
Instead of aligning arguments like we used to do, use a consistent
four-space indent as mandated by gjs' current style guide.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/66
2019-05-22 20:40:18 +02:00
Florian Müllner
cdd3fba593
screenshot-window-sizer: Reindent to conform with new style
...
Instead of aligning arguments like we used to do, use a consistent
four-space indent as mandated by gjs' current style guide.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/66
2019-05-22 20:40:18 +02:00
Florian Müllner
f11c101878
Bump version to 3.33.1
...
Update NEWS.
3.33.1
2019-05-14 17:53:56 +00:00
Florian Müllner
7c412ca7d9
window-list: Don't use anchor point
...
It is deprecated and we can easily replace it with a translation.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/64
2019-04-28 11:08:02 +00:00
Florian Müllner
e3a6e8f82c
Bump version to 3.32.1
...
Update NEWS.
3.32.1
2019-04-17 22:09:40 +02:00
Florian Müllner
ce10ad64c4
Update sass submodule
2019-04-17 22:06:50 +02:00
Adrien Plazas
5b43d4733c
screenshot-window-sizer: Add phone screenshot sizes
...
This is going to be convenient to take fake screenshots for phones like
the Librem 5.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/65
2019-04-12 14:31:53 +02:00
Florian Müllner
3671d5a299
cleanup: Use an extension object instead of globals
...
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/143
2019-04-08 06:00:29 +00:00
Florian Müllner
a024d9f005
windowsNavigator: Use subclasses instead of injections
...
gnome-shell moved to ES6 classes, which means the constructor is
no longer a regular method that we can swap out with an injected
version.
Instead, do our modifications in subclasses and use them to replace
the original classes.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/143
2019-04-08 06:00:29 +00:00
Fabian P. Schmidt
d94a3500f6
README: Re-add extension alternate-tab with obsolescence notice
...
This commit adds a short notice about the former extension
alternate-tab to the README. This notice should be removed once
the traffic of users searching for this obsolete extension settled
down.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/62
2019-03-20 12:00:08 +01:00
Florian Müllner
78141e6433
Bump version to 3.32.0
...
Update NEWS.
3.32.0
2019-03-12 00:02:14 +01:00
Florian Müllner
dd53fb8eb7
Update sass submodule
2019-03-12 00:01:26 +01:00
Mart Raudsepp
6cd2be452b
Update Estonian translation
2019-03-10 17:27:41 +00:00
Kristjan SCHMIDT
36abd576b5
Update Esperanto translation
2019-03-06 21:15:21 +00:00
Victor Ibragimov
730547b3e1
Update Tajik Translation
2019-03-06 21:03:41 +05:00
Florian Müllner
e7e6b882a3
Bump version to 3.31.92
...
Update NEWS.
3.31.92
2019-03-05 06:07:01 +01:00
Florian Müllner
53f92f2910
Update sass submodule
2019-03-05 06:05:05 +01:00
Florian Müllner
a26380d56e
user-theme: Clarify some code
...
Commit 2582ab accidentally pointed out that the current theme loading code
obfuscates which directories are searched for themes. Rewrite it with modern
JS features to make it more obvious.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:18 +01:00
Florian Müllner
ab334d95e0
Revert "User theme: compatibility with XDG Base Directory"
...
We already handled themes in XDG_DATA_HOME before commit 2582ab
by prepending it to the system dirs.
This reverts commit 2582ab4fd0 .
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00
Florian Müllner
7e5726e632
apps-menu: Promisify marking file as trusted
...
Use async/await to make nested operations easier to read.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00
Florian Müllner
95b40069bf
apps-menu: Remove unnecessary check
...
The function is always called with an array parameter (albeit it may
be empty), so remove the unnecessary check and cut down on indentation.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00
Florian Müllner
bd9f1cfd91
apps-menu: Avoid deep nesting
...
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00
Florian Müllner
81548ced69
native-window-placement: Clarify some code
...
Add some intermediate variables for better legibility.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00
Florian Müllner
a378e5fc34
placesDisplay: Promisify launching
...
Use async/await to make nested async operations easier to read.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00
Florian Müllner
56d19ad480
placesMenu: Add early return to reduce indentation level
...
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00