Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
tofutech authored May 7, 2021
1 parent 6d18709 commit 0c9e2a0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ function _aboutThisDistro() {
Util.spawn(['gnome-control-center', 'info-overview'])
}

function _terminal() {
Util.spawn(['gnome-terminal'])
}

function _systemPreferences() {
Util.spawn(['gnome-control-center'])
}
Expand Down Expand Up @@ -77,18 +81,20 @@ const MenuButton = new Lang.Class({
this.actor.add_actor(this.icon)

// Menu
this.item1 = new PopupMenu.PopupMenuItem('About Fedora')
this.item1 = new PopupMenu.PopupMenuItem('About My System')
this.item2 = new PopupMenu.PopupMenuItem('System Preferences')
this.item3 = new PopupMenu.PopupMenuItem('App Store')
this.item3 = new PopupMenu.PopupMenuItem('Software Center')
this.item4 = new PopupMenu.PopupMenuItem('Activities')
this.item5 = new PopupMenu.PopupMenuItem('Extensions')
this.item5 = new PopupMenu.PopupMenuItem('Terminal')
this.item6 = new PopupMenu.PopupMenuItem('Extensions')


this.item1.connect('activate', Lang.bind(this, _aboutThisDistro))
this.item2.connect('activate', Lang.bind(this, _systemPreferences))
this.item3.connect('activate', Lang.bind(this, _appStore))
this.item4.connect('activate', Lang.bind(this, _missionControl))
this.item5.connect('activate', Lang.bind(this, _extensions))
this.item5.connect('activate', Lang.bind(this, _terminal))
this.item6.connect('activate', Lang.bind(this, _extensions))
this.menu.addMenuItem(this.item1)
this.menu.addMenuItem(this.item2)
this.menu.addMenuItem(this.item3)
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
],
"url": "",
"uuid": "fedoramenu@tofu",
"version": 1.0
"version": 1.1-testing1
}

0 comments on commit 0c9e2a0

Please sign in to comment.