Skip to content

Commit

Permalink
Merge pull request #130 from prapooskur/gnome-46
Browse files Browse the repository at this point in the history
Update to GNOME 46
  • Loading branch information
qwreey committed Mar 26, 2024
2 parents 64ebebb + d5566c4 commit 79e3013
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default class QstExtension extends Extension {
})

// load menu item added tracker
this.menuItemAddedTracker = QuickSettingsGrid.connect("actor-added",()=>{
this.menuItemAddedTracker = QuickSettingsGrid.connect("child-added",()=>{
if (this.updating) return
this.updating = true
for (const feature of this.features) {
Expand Down
8 changes: 4 additions & 4 deletions src/libs/volumeMixerHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,16 @@ export const VolumeMixer = class VolumeMixer extends PopupMenu.PopupMenuSection
let sliderObj = sliderBox.get_children()[1]
sliderBox.remove_child(sliderObj)
sliderBox.remove_child(lastObj)
sliderBox.add(slider._vbox)
sliderBox.add_child(slider._vbox)

slider._label = new St.Label({ x_expand: true })
slider._label.style_class = "QSTWEAKS-volume-mixer-label"
slider._label.text = name && this._showStreamDesc ? `${name} - ${description}` : (name || description)
slider._vbox.add(slider._label)
slider._vbox.add(sliderObj)
slider._vbox.add_child(slider._label)
slider._vbox.add_child(sliderObj)
}

this.actor.add(slider)
this.actor.add_child(slider)
slider.visible = true
}

Expand Down
2 changes: 1 addition & 1 deletion src/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"description": "Let's tweak gnome 43's quick settings! You can add Media Controls, Notifications, Volume Mixer on quick settings and remove useless buttons!",
"name": "[QSTweak] Quick Setting Tweaker",
"url": "https://github.com/qwreey75/quick-settings-tweaks",
"shell-version": ["45"],
"shell-version": ["45", "46"],
"uuid": "quick-settings-tweaks@qwreey",
"settings-schema": "org.gnome.shell.extensions.quick-settings-tweaks",
"gettext-domain": "quick-settings-tweaks"
Expand Down

0 comments on commit 79e3013

Please sign in to comment.