jake-phy / WindowIconList

GNU General Public License v2.0
75 stars 26 forks source link

Add support for Cinnamon Menu Applet and PanelLauncher. #52

Closed ghost closed 9 years ago

ghost commented 10 years ago

This commit allow:

This commit remove:

Observation:

ghost commented 10 years ago

There are also a Cinnamon definition on a prototype class (LauncherDraggable.prototype), of what it's an application launcher. This class is define in dnd.js: https://github.com/linuxmint/Cinnamon/blob/9e065dd09ac5d8d4408fb51228c70b611441e9a7/js/ui/dnd.js

See the commit: https://github.com/linuxmint/Cinnamon/commit/9e065dd09ac5d8d4408fb51228c70b611441e9a7

So, if you want that your desklet can provide a mechanism, to be use for others, you need to extend of this prototype class (your application buttons(launchers) need to be instances of the prototype)... an then user can drag and drop the app of your extension to any places that allow add a launcher. Maybe for example drag and drop to desktop, could create a new instance of a launcher@cinnamon.org desklet.

I can not try to do any of this, because involve your perspective from what do you want to have in your applet, and also because some of this thing involve that i need to know well how the special buttons that you have it's constructed.

jake-phy commented 9 years ago

I have merged this still not quite sure what i want to do with the "add to panel" feature. I will probably use you suggestion though and tap into the Panel Launchers. I really like like the idea you have above there and will try to add it once i get done with the right click app menu.

ghost commented 9 years ago

Ahhh... I was changed the languages_install, will copy now in the case that do not exist, and i added the missing translation...

jake-phy commented 9 years ago

Ok thanks sorry bout that.

-----Original Message----- From: "Lester Carballo Pérez" notifications@github.com Sent: ‎9/‎13/‎2014 1:57 PM To: "jake-phy/WindowIconList" WindowIconList@noreply.github.com Cc: "jake-phy" jake.phy@gmail.com Subject: Re: [WindowIconList] Add support for Cinnamon Menu Applet andPanelLauncher. (#52)

Ahhh... I was changed the languages_install, will copy now in the case that do not exist, and i added the missing translation... — Reply to this email directly or view it on GitHub.=