Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 63e6fec602 | |||
| 27d463f572 | |||
| f4e044b4fe | |||
| 3b4e241b26 |
@@ -1,3 +1,11 @@
|
|||||||
|
48.0
|
||||||
|
====
|
||||||
|
* apps-menu: Fix scrolling items into view on keynav [Victor; !391]
|
||||||
|
* Misc. bug fixes and cleanups [Florian, Stuart; !390, !392]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Stuart Hayhurst, Victor Kareh, Florian Müllner
|
||||||
|
|
||||||
48.rc
|
48.rc
|
||||||
=====
|
=====
|
||||||
* Misc. bug fixes and cleanups [Florian; !385, !388]
|
* Misc. bug fixes and cleanups [Florian; !385, !388]
|
||||||
|
|||||||
@@ -44,8 +44,9 @@ class ApplicationMenuItem extends PopupMenu.PopupBaseMenuItem {
|
|||||||
this._app = app;
|
this._app = app;
|
||||||
this._button = button;
|
this._button = button;
|
||||||
|
|
||||||
this._iconBin = new St.Bin();
|
this._icon = this.getDragActor();
|
||||||
this.add_child(this._iconBin);
|
this._icon.style_class = 'icon-dropshadow';
|
||||||
|
this.add_child(this._icon);
|
||||||
|
|
||||||
let appLabel = new St.Label({
|
let appLabel = new St.Label({
|
||||||
text: app.get_name(),
|
text: app.get_name(),
|
||||||
@@ -55,11 +56,6 @@ class ApplicationMenuItem extends PopupMenu.PopupBaseMenuItem {
|
|||||||
this.add_child(appLabel);
|
this.add_child(appLabel);
|
||||||
this.label_actor = appLabel;
|
this.label_actor = appLabel;
|
||||||
|
|
||||||
let textureCache = St.TextureCache.get_default();
|
|
||||||
textureCache.connectObject('icon-theme-changed',
|
|
||||||
() => this._updateIcon(), this);
|
|
||||||
this._updateIcon();
|
|
||||||
|
|
||||||
this._delegate = this;
|
this._delegate = this;
|
||||||
let draggable = DND.makeDraggable(this);
|
let draggable = DND.makeDraggable(this);
|
||||||
|
|
||||||
@@ -69,6 +65,8 @@ class ApplicationMenuItem extends PopupMenu.PopupBaseMenuItem {
|
|||||||
return maybeStartDrag.call(draggable, event);
|
return maybeStartDrag.call(draggable, event);
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
this.connect('notify::active', this._onActiveChanged.bind(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
activate(event) {
|
activate(event) {
|
||||||
@@ -80,10 +78,11 @@ class ApplicationMenuItem extends PopupMenu.PopupBaseMenuItem {
|
|||||||
Main.overview.hide();
|
Main.overview.hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
setActive(active, params) {
|
_onActiveChanged() {
|
||||||
if (active)
|
if (!this.active)
|
||||||
this._button.scrollToButton(this);
|
return;
|
||||||
super.setActive(active, params);
|
|
||||||
|
this._button.scrollToButton(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
setDragEnabled(enabled) {
|
setDragEnabled(enabled) {
|
||||||
@@ -95,13 +94,7 @@ class ApplicationMenuItem extends PopupMenu.PopupBaseMenuItem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getDragActorSource() {
|
getDragActorSource() {
|
||||||
return this._iconBin;
|
return this._icon;
|
||||||
}
|
|
||||||
|
|
||||||
_updateIcon() {
|
|
||||||
let icon = this.getDragActor();
|
|
||||||
icon.style_class = 'icon-dropshadow';
|
|
||||||
this._iconBin.set_child(icon);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"uuid": "@uuid@",
|
"uuid": "@uuid@",
|
||||||
"settings-schema": "@gschemaname@",
|
"settings-schema": "@gschemaname@",
|
||||||
"gettext-domain": "@gettext_domain@",
|
"gettext-domain": "@gettext_domain@",
|
||||||
"name": "Launch new instance",
|
"name": "Launch New Instance",
|
||||||
"description": "Always launch a new instance when clicking in the dash or the application view.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME's GitLab instance instead.",
|
"description": "Always launch a new instance when clicking in the dash or the application view.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME's GitLab instance instead.",
|
||||||
"shell-version": [ "@shell_current@" ],
|
"shell-version": [ "@shell_current@" ],
|
||||||
"url": "@url@"
|
"url": "@url@"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"settings-schema": "@gschemaname@",
|
"settings-schema": "@gschemaname@",
|
||||||
"gettext-domain": "@gettext_domain@",
|
"gettext-domain": "@gettext_domain@",
|
||||||
"original-author": "zaspire@rambler.ru",
|
"original-author": "zaspire@rambler.ru",
|
||||||
"name": "windowNavigator",
|
"name": "Window Navigator",
|
||||||
"description": "Allow keyboard selection of windows and workspaces in overlay mode. <Ctrl>number selects a workspace, and <Alt>number selects a window.",
|
"description": "Allow keyboard selection of windows and workspaces in overlay mode. <Ctrl>number selects a workspace, and <Alt>number selects a window.",
|
||||||
"url": "@url@"
|
"url": "@url@"
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
project(
|
project(
|
||||||
'gnome-shell-extensions',
|
'gnome-shell-extensions',
|
||||||
version: '48.rc',
|
version: '48.0',
|
||||||
meson_version: '>= 1.1.0',
|
meson_version: '>= 1.1.0',
|
||||||
license: 'GPL-2.0-or-later',
|
license: 'GPL-2.0-or-later',
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user