Permalink
Browse files

Change the name of the panel launcher editor to be more in line with

other Cinnamon utilities.  Give it a .desktop file so it gets the nice
rendering.
  • Loading branch information...
1 parent 512d2a3 commit 0741477d2da54c5dd124a003711566133b32b4e4 @mtwebster committed Nov 8, 2012
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Panel Launcher Editor
+Comment=Add or edit panel launcher applet entries
+Exec=/usr/share/cinnamon/applets/panel-launchers@cinnamon.org/cinnamon-add-panel-launcher.py
+Icon=gnome-panel-launcher
+Terminal=false
+NoDisplay=true
+Type=Application
+Categories=GNOME;GTK;Settings;DesktopSettings;
+StartupNotify=false
@@ -370,14 +370,14 @@ MyApplet.prototype = {
showAddLauncherDialog: function(timestamp, launcher){
if (launcher) {
- let cl = APPLET_DIR.get_child('add-panel-launcher.py').get_path() + ' ';
+ let cl = APPLET_DIR.get_child('cinnamon-add-panel-launcher.py').get_path() + ' ';
cl += '"' + launcher.getId() + '" ';
cl += '"' + launcher.getAppname() + '" ';
cl += '"' + launcher.getCommand() + '" ';
cl += '"' + launcher.getIcon() + '"';
Util.spawnCommandLine(cl);
} else {
- Util.spawnCommandLine(APPLET_DIR.get_child('add-panel-launcher.py').get_path());
+ Util.spawnCommandLine(APPLET_DIR.get_child('cinnamon-add-panel-launcher.py').get_path());
}
},
@@ -119,7 +119,7 @@ def onIconChanged(self, *args):
custom_launchers_path = userhome + "/.cinnamon/panel-launchers"
applet_dir = os.path.dirname(inspect.getfile(inspect.currentframe()))
-builder.add_from_file(applet_dir + "/add-panel-launcher.glade")
+builder.add_from_file(applet_dir + "/cinnamon-add-panel-launcher.glade")
window = builder.get_object("add-panel-launcher-dialog")
builder.connect_signals(Handler())

0 comments on commit 0741477

Please sign in to comment.