screenfreeze / deskcon-desktop

Integrates your Smartphone in your Desktop
GNU General Public License v3.0
97 stars 27 forks source link

use menu.prepend instead of menu.insert #19

Closed michz closed 9 years ago

michz commented 9 years ago

The problem with "insert(..., 0)" is that on some(?) systems, the size of the menu is not adjusted automatically. For example, on Linux Mint 17 Qiana (with Cinnamon as desktop environment) I can not really use the menu, because only one item is displayed at the same time and the menu has to be scrolled. prepend() implements the same functionality but assures that the size of the menu is adjustic accordingly.

This is a neat way to run the unity-indicator in another desktop environment (namely Cinnamon).

michz commented 9 years ago

Seems not to work reliably, sorry for this too-early-commit...