Skip to content

Commit

Permalink
Addedd support for older Gnome (3.36, 3.38)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihpled committed May 27, 2022
1 parent 7af652f commit 11092ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ const Mainloop = imports.mainloop;
const PanelMenu = imports.ui.panelMenu;
const PopupMenu = imports.ui.popupMenu;
const Volume = imports.ui.status.volume;
const _ = ExtensionUtils.gettext;
const Gettext = imports.gettext;
const Domain = Gettext.domain(GETTEXT_DOMAIN);
const _ = Domain.gettext;

const DEFAULT_OUTPUT_ICON = 'audio-speakers-symbolic';

Expand Down Expand Up @@ -136,4 +138,4 @@ class Extension {

function init(meta) {
return new Extension(meta.uuid);
}
}
5 changes: 3 additions & 2 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"_generated": "Generated by SweetTooth, do not edit",
"description": "Add Mute/Unmute functionality to audio output icon remembering unmuted volume level",
"name": "Mute/Unmute",
"shell-version": [
"3.36",
"3.38",
"40",
"41",
"42"
],
"url": "https://github.com/ihpled/mute-unmute",
"uuid": "[email protected]",
"version": 4
"version": 5
}

0 comments on commit 11092ae

Please sign in to comment.