Skip to content

Commit

Permalink
xampp-panel@backids99: Fix for Cinnamon 3.8 (#1676)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaszhix committed Mar 15, 2018
1 parent dd2ad12 commit 51b6e8a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions xampp-panel@backids99/files/xampp-panel@backids99/applet.js
Expand Up @@ -3,10 +3,9 @@ const PopupMenu = imports.ui.popupMenu;
const Gettext = imports.gettext;
const UUID = "xampp-panel@backids99";
const Util = imports.misc.util;
const Lang = imports.lang;
const Lang = imports.lang;
const GLib = imports.gi.GLib;
const Gio = imports.gi.Gio;
const AppletMeta = imports.ui.appletManager.applets['xampp-panel@backids99'];
const AppletDir = imports.ui.appletManager.appletMeta['xampp-panel@backids99'].path;

Gettext.bindtextdomain(UUID, GLib.get_home_dir() + "/.local/share/locale")
Expand Down Expand Up @@ -40,7 +39,7 @@ MyApplet.prototype = {
Applet.IconApplet.prototype._init.call(this, orientation);
this.set_applet_icon_path( AppletDir + "/" + "xampp.png");
this.set_applet_tooltip(_("Xampp Panel"));

//setup a new menuManager and add the main context main to the manager

this.menuManager = new PopupMenu.PopupMenuManager(this);
Expand Down Expand Up @@ -88,7 +87,7 @@ MyApplet.prototype = {
on_applet_clicked: function(){
this.menu.toggle();
},

}


Expand Down

0 comments on commit 51b6e8a

Please sign in to comment.