Skip to content

Commit 444ab85

Browse files
authored
Merge pull request #11 from kamilprusko/master
Fix deprecation warning on GNOME Shell 3.34
2 parents bc02b98 + 23e892c commit 444ab85

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

extension.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ function init()
132132

133133
function enable()
134134
{
135-
Main.panel.actor.get_children().forEach(
135+
let panelActor = Main.panel instanceof Clutter.Actor ? Main.panel : Main.panel.actor;
136+
137+
panelActor.get_children().forEach(
136138
function(actor)
137139
{
138140
signalConnections.push({

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"name": "Remove Dropdown Arrows",
55
"description": "Removes the dropdown arrows which were introduced in Gnome 3.10 from the App Menu, System Menu, Input Menu, Access Menu, Places Menu, Applications Menu and any other extension that wants to add dropdown arrows.",
66
"url": "http://github.com/mpdeimos/gnome-shell-remove-dropdown-arrows",
7-
"shell-version": ["3.12","3.14", "3.16", "3.18", "3.20", "3.22", "3.24", "3.26", "3.28", "3.30"]
7+
"shell-version": ["3.12","3.14", "3.16", "3.18", "3.20", "3.22", "3.24", "3.26", "3.28", "3.30", "3.32", "3.34"]
88
}

0 commit comments

Comments
 (0)