mirror of
https://github.com/morgan9e/gnome-shell-extension-freon
synced 2026-04-15 00:44:22 +09:00
@@ -483,14 +483,14 @@ const FreonMenuButton = GObject.registerClass(class Freon_FreonMenuButton extend
|
|||||||
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
|
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
|
||||||
|
|
||||||
let wiki = new PopupMenu.PopupBaseMenuItem();
|
let wiki = new PopupMenu.PopupBaseMenuItem();
|
||||||
wiki.actor.add(new St.Label({ text: _("Go to the Freon wiki") }), { expand: true, x_fill: false });
|
wiki.actor.add_child(new St.Label({ text: _("Go to the Freon wiki"), x_align: Clutter.ActorAlign.CENTER, x_expand: true }));
|
||||||
wiki.connect('activate', function () {
|
wiki.connect('activate', function () {
|
||||||
Util.spawn(["xdg-open", "https://github.com/UshakovVasilii/gnome-shell-extension-freon/wiki"]);
|
Util.spawn(["xdg-open", "https://github.com/UshakovVasilii/gnome-shell-extension-freon/wiki"]);
|
||||||
});
|
});
|
||||||
this.menu.addMenuItem(wiki);
|
this.menu.addMenuItem(wiki);
|
||||||
|
|
||||||
let settings = new PopupMenu.PopupBaseMenuItem();
|
let settings = new PopupMenu.PopupBaseMenuItem();
|
||||||
settings.actor.add(new St.Label({ text: _("Sensor Settings") }), { expand: true, x_fill: false });
|
settings.actor.add_child(new St.Label({ text: _("Sensor Settings"), x_align: Clutter.ActorAlign.CENTER, x_expand: true }));
|
||||||
settings.connect('activate', function () {
|
settings.connect('activate', function () {
|
||||||
Util.spawn(["gnome-extensions", "prefs", Me.metadata.uuid]);
|
Util.spawn(["gnome-extensions", "prefs", Me.metadata.uuid]);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user