1
0

Compare commits

..

12 Commits

Author SHA256 Message Date
Ana Guerrero
49da1d335d Accepting request 1237901 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1237901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-shell-extensions?expand=0&rev=143
2025-01-16 17:31:10 +00:00
74184bf34d New stable rel
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=301
2025-01-14 17:41:52 +00:00
Dominique Leuenberger
8a64ae0006 Accepting request 1232634 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1232634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-shell-extensions?expand=0&rev=142
2024-12-20 14:24:22 +00:00
57fde6d148 - Update gnome-shell-add-app-to-desktop.patch: (bsc#1234648).
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=299
2024-12-19 15:40:49 +00:00
Ana Guerrero
ecc6c74d1b Accepting request 1226514 from GNOME:Factory
- Update to version 47.2:
  + places-menu: Fix a11y labelling
  + screenshot-window-sizer: Mention shortcut in description
  + Misc. bug fixes and cleanups
  + Updated translations. (forwarded request 1226348 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/1226514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-shell-extensions?expand=0&rev=141
2024-11-27 21:05:16 +00:00
f3c04997fe - Update to version 47.2:
+ places-menu: Fix a11y labelling
  + screenshot-window-sizer: Mention shortcut in description
  + Misc. bug fixes and cleanups
  + Updated translations.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=297
2024-11-26 13:02:40 +00:00
Ana Guerrero
412e2f4205 Accepting request 1223880 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1223880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-shell-extensions?expand=0&rev=140
2024-11-14 15:07:37 +00:00
16b6c1e7e8 - Split out gnome-shell-classic-xsession sub-package.
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=295
2024-11-13 09:02:03 +00:00
Ana Guerrero
250613c0d2 Accepting request 1216803 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1216803
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-shell-extensions?expand=0&rev=139
2024-10-22 12:50:58 +00:00
f094db0265 New rel
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=293
2024-10-21 18:09:08 +00:00
Ana Guerrero
853411715d Accepting request 1205458 from GNOME:Factory
SCripted push of GNOME 47

OBS-URL: https://build.opensuse.org/request/show/1205458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-shell-extensions?expand=0&rev=138
2024-10-08 15:17:50 +00:00
3318880f58 Scripted push of GNOME 47
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=291
2024-09-30 07:46:43 +00:00
7 changed files with 135 additions and 59 deletions

View File

@ -3,7 +3,7 @@
<service name="obs_scm" mode="manual"> <service name="obs_scm" mode="manual">
<param name="scm">git</param> <param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/gnome-shell-extensions.git</param> <param name="url">https://gitlab.gnome.org/GNOME/gnome-shell-extensions.git</param>
<param name="revision">46.2</param> <param name="revision">47.3</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param> <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param> <param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param> <param name="versionrewrite-replacement">\1</param>

View File

@ -1,60 +1,55 @@
Index: gnome-shell-extensions-43.rc/extensions/apps-menu/extension.js Index: gnome-shell-extensions-47.2/extensions/apps-menu/extension.js
=================================================================== ===================================================================
--- gnome-shell-extensions-43.rc.orig/extensions/apps-menu/extension.js --- gnome-shell-extensions-47.2.orig/extensions/apps-menu/extension.js
+++ gnome-shell-extensions-43.rc/extensions/apps-menu/extension.js +++ gnome-shell-extensions-47.2/extensions/apps-menu/extension.js
@@ -5,6 +5,8 @@ const { @@ -23,6 +23,8 @@ import * as DND from 'resource:///org/gn
Atk, Clutter, Gio, GLib, GMenu, GObject, Gtk, Meta, Shell, St, import * as Main from 'resource:///org/gnome/shell/ui/main.js';
} = imports.gi; import * as PanelMenu from 'resource:///org/gnome/shell/ui/panelMenu.js';
const {EventEmitter} = imports.misc.signals; import * as PopupMenu from 'resource:///org/gnome/shell/ui/popupMenu.js';
+const BoxPointer = imports.ui.boxpointer; +import * as AppFavorites from 'resource:///org/gnome/shell/ui/appFavorites.js';
+const AppFavorites = imports.ui.appFavorites; +import * as BoxPointer from 'resource:///org/gnome/shell/ui/boxpointer.js';
const appSys = Shell.AppSystem.get_default();
@@ -60,6 +62,9 @@ class ApplicationMenuItem extends PopupM
() => this._updateIcon(), this);
this._updateIcon();
const DND = imports.ui.dnd;
const ExtensionUtils = imports.misc.extensionUtils;
@@ -48,8 +50,19 @@ class ApplicationMenuItem extends PopupM
let textureCache = St.TextureCache.get_default();
let iconThemeChangedId = textureCache.connect('icon-theme-changed',
this._updateIcon.bind(this));
+
+ this.actor.connect('button-press-event', this._onButtonPress.bind(this));
+ this.actor.connect('popup-menu', this._onKeyboardPopupMenu.bind(this));
+ this._menu = null; + this._menu = null;
+ this._menuManager = new PopupMenu.PopupMenuManager(this); + this._menuManager = new PopupMenu.PopupMenuManager(this);
+ +
this.connect('destroy', () => { this._delegate = this;
textureCache.disconnect(iconThemeChangedId); let draggable = DND.makeDraggable(this);
+ if (this._menu) {
+ this._menu.destroy();
+ this._menu = null;
+ this._menuManager = null;
+ }
});
this._updateIcon();
@@ -64,6 +77,107 @@ class ApplicationMenuItem extends PopupM @@ -72,6 +77,24 @@ class ApplicationMenuItem extends PopupM
};
} }
+ _onKeyboardPopupMenu() { activate(event) {
+ this.popupMenu();
+ this._menu.actor.navigate_focus(null, Gtk.DirectionType.TAB_FORWARD, false);
+ }
+
+ _onButtonPress(actor, event) {
+ // close any opened menu to avoid input focus grab + // close any opened menu to avoid input focus grab
+ if (this._menu && this._menu.isOpen) { + if (this._menu && this._menu.isOpen) {
+ this._menu.close(); + this._menu.close();
+ return Clutter.EVENT_STOP; + return;
+ } + }
+ +
+ let button = event.get_button(); + let button = event.get_button();
+ if (button == 3) { + if (button == 3) {
+ this.popupMenu(); + this.popupMenu();
+ return Clutter.EVENT_STOP; + return;
+ }
+ return Clutter.EVENT_PROPAGATE
+ } + }
+ +
+ let symbol = event.get_key_symbol();
+ if (symbol === Clutter.KEY_space) {
+ this.popupMenu();
+ return;
+ }
+
this._app.open_new_window(-1);
this._button.selectCategory(null);
this._button.menu.toggle();
@@ -80,6 +103,87 @@ class ApplicationMenuItem extends PopupM
Main.overview.hide();
}
+ popupMenu() { + popupMenu() {
+ if (!this._menu) { + if (!this._menu) {
+ this._menu = new PopupMenu.PopupMenu(this.actor, 0.0, St.Side.TOP, 0); + this._menu = new PopupMenu.PopupMenu(this.actor, 0.0, St.Side.TOP, 0);
@ -125,7 +120,7 @@ Index: gnome-shell-extensions-43.rc/extensions/apps-menu/extension.js
+ this._button.menu.toggle(); + this._button.menu.toggle();
+ }); + });
+ +
+ Main.uiGroup.add_actor(this._menu.actor); + Main.uiGroup.add_child(this._menu.actor);
+ +
+ this._menuManager.addMenu(this._menu); + this._menuManager.addMenu(this._menu);
+ } + }
@ -136,6 +131,6 @@ Index: gnome-shell-extensions-43.rc/extensions/apps-menu/extension.js
+ return false; + return false;
+ } + }
+ +
activate(event) { setActive(active, params) {
this._app.open_new_window(-1); if (active)
this._button.selectCategory(null); this._button.scrollToButton(this);

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0eeca39a287d07b470500f0cba10f9ab6e4a5d5a4df9856e2cee274890d7c7f0
size 1534988

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5b2a0f098ceda38fb62e4e2d8b529be0c0577280ddeb690cf15e3c4cd4fe7bf7
size 1545228

View File

@ -1,3 +1,69 @@
-------------------------------------------------------------------
Mon Jan 13 12:54:20 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 47.3:
+ places-menu: Fix opening drives with mount operations
+ window-list: Fix hiding when entering overview with gestures
+ workspace-indicator: Only show previews of regular windows
+ Misc. bug fixes and cleanups
+ Updated translations.
-------------------------------------------------------------------
Thu Dec 19 06:02:21 UTC 2024 - Xiaoguang Wang <xiaoguang.wang@suse.com>
- Update gnome-shell-add-app-to-desktop.patch: (bsc#1234648).
-------------------------------------------------------------------
Mon Nov 25 20:03:12 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 47.2:
+ places-menu: Fix a11y labelling
+ screenshot-window-sizer: Mention shortcut in description
+ Misc. bug fixes and cleanups
+ Updated translations.
-------------------------------------------------------------------
Thu Oct 31 08:53:35 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Split out gnome-shell-classic-xsession sub-package.
-------------------------------------------------------------------
Sat Oct 19 08:54:08 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 47.1:
+ classic: Add missing top-bar indicators
+ window-list:
- Fix window state styling
- Fix "ignore-workspace" setting getting reset
+ Misc. bug fixes and cleanups
-------------------------------------------------------------------
Sun Sep 15 06:57:27 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 47.0:
+ Updated translations.
-------------------------------------------------------------------
Sun Sep 1 13:16:32 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 47.rc:
+ Misc. bug fixes and cleanups.
+ Updated translations.
- Changes from version 47.beta:
+ window-list: Modernize styling
+ Include "status-icons" extension
+ Misc. bug fixes and cleanups
+ Updated translations.
- Changes from version 47.alpha:
+ Improve workspace previews in window-list and
workspace-indicator
+ apps-menu: Fix a11y of category labels
+ window-list: Fix long-press support
+ window-list: Animate transitions
+ Misc. bug fixes and cleanups
+ Updated translations.
- Build the new status-icons extension.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 27 07:03:29 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org> Mon May 27 07:03:29 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,4 +1,4 @@
name: gnome-shell-extensions name: gnome-shell-extensions
version: 46.2 version: 47.3
mtime: 1716673202 mtime: 1736715555
commit: ae9411a23d3e4b1872087587c284ac80644c8e15 commit: c815e506dd40678e50fe2b727caef8d1e429db5c

View File

@ -1,7 +1,7 @@
# #
# spec file for package gnome-shell-extensions # spec file for package gnome-shell-extensions
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands # Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -19,7 +19,7 @@
%global __requires_exclude typelib\\(Meta\\) %global __requires_exclude typelib\\(Meta\\)
Name: gnome-shell-extensions Name: gnome-shell-extensions
Version: 46.2 Version: 47.3
Release: 0 Release: 0
Summary: A collection of extensions for GNOME Shell Summary: A collection of extensions for GNOME Shell
License: GPL-2.0-or-later License: GPL-2.0-or-later
@ -82,6 +82,17 @@ menu, and provides the ability to hibernate.
This package provides the extensions required to switch to This package provides the extensions required to switch to
gnome-shell classic. gnome-shell classic.
%package -n gnome-shell-classic-xsession
Summary: Xsession(X11) desktop session
Requires: gnome-session-xsession
Requires: gnome-shell-classic
Requires: gnome-shell-extensions-common
Provides: gnome-shell-classic:%{_datadir}/xsessions/gnome-classic-xorg.desktop
BuildArch: noarch
%description -n gnome-shell-classic-xsession
This package allows GNOME Shell to run the session on Xorg (X11).
%package -n gnome-shell-extension-user-theme %package -n gnome-shell-extension-user-theme
Summary: Allow the user to change GNOME Shell Themes Summary: Allow the user to change GNOME Shell Themes
Group: System/GUI/GNOME Group: System/GUI/GNOME
@ -103,9 +114,7 @@ This GNOME Shell extension displays system usage information in the top bar.
%lang_package -n %{name}-common %lang_package -n %{name}-common
%prep %prep
%autosetup -N %autosetup -p1
# Needs rebase
#patch1 -p1
# In openSUSE GNOME, we don't launch gnome-session directly, but wrap this through a shell script, /usr/bin/gnome # In openSUSE GNOME, we don't launch gnome-session directly, but wrap this through a shell script, /usr/bin/gnome
sed -i "s:Exec=gnome-session:Exec=gnome:g" data/gnome-classic.desktop.in sed -i "s:Exec=gnome-session:Exec=gnome:g" data/gnome-classic.desktop.in
@ -118,7 +127,7 @@ sed -i -e 's/openSUSE/SUSE Linux Enterprise/g' README.SUSE
%meson \ %meson \
-D classic_mode=true \ -D classic_mode=true \
-D extension_set=classic \ -D extension_set=classic \
-D enable_extensions="apps-menu,places-menu,launch-new-instance,window-list,workspace-indicator,user-theme,system-monitor" -D enable_extensions="apps-menu,places-menu,launch-new-instance,window-list,workspace-indicator,user-theme,system-monitor,status-icons"
%meson_build %meson_build
%install %install
@ -144,25 +153,31 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_
%{_datadir}/glib-2.0/schemas/00_org.gnome.shell.extensions.classic.gschema.override %{_datadir}/glib-2.0/schemas/00_org.gnome.shell.extensions.classic.gschema.override
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.apps-menu.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.apps-menu.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.workspace-indicator.gschema.xml
%dir %{_datadir}/gnome-shell/extensions %dir %{_datadir}/gnome-shell/extensions
%{_datadir}/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com/ %{_datadir}/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com/
%{_datadir}/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com/ %{_datadir}/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com/
%{_datadir}/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com/ %{_datadir}/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com/
%{_datadir}/gnome-shell/extensions/workspace-indicator@gnome-shell-extensions.gcampax.github.com/ %{_datadir}/gnome-shell/extensions/workspace-indicator@gnome-shell-extensions.gcampax.github.com/
%{_datadir}/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com/ %{_datadir}/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com/
%{_datadir}/gnome-shell/extensions/status-icons@gnome-shell-extensions.gcampax.github.com/
%dir %{_datadir}/gnome-shell/modes %dir %{_datadir}/gnome-shell/modes
%{_datadir}/gnome-shell/modes/classic.json %{_datadir}/gnome-shell/modes/classic.json
%dir %{_datadir}/wayland-sessions %dir %{_datadir}/wayland-sessions
%{_datadir}/wayland-sessions/gnome-classic-wayland.desktop %{_datadir}/wayland-sessions/gnome-classic-wayland.desktop
%{_datadir}/wayland-sessions/gnome-classic.desktop %{_datadir}/wayland-sessions/gnome-classic.desktop
%if 0%{?sle_version}
%dir %{_datadir}/wayland-sessions
%{_datadir}/wayland-sessions/default.desktop
%ghost %{_sysconfdir}/alternatives/default-waylandsession.desktop
%endif
%files -n gnome-shell-classic-xsession
%{_datadir}/xsessions/gnome-classic-xorg.desktop %{_datadir}/xsessions/gnome-classic-xorg.desktop
%{_datadir}/xsessions/gnome-classic.desktop %{_datadir}/xsessions/gnome-classic.desktop
%if 0%{?sle_version} %if 0%{?sle_version}
%dir %{_datadir}/wayland-sessions
%{_datadir}/xsessions/default.desktop %{_datadir}/xsessions/default.desktop
%{_datadir}/wayland-sessions/default.desktop
%ghost %{_sysconfdir}/alternatives/default-xsession.desktop %ghost %{_sysconfdir}/alternatives/default-xsession.desktop
%ghost %{_sysconfdir}/alternatives/default-waylandsession.desktop
%endif %endif
%files -n gnome-shell-extension-user-theme %files -n gnome-shell-extension-user-theme