slytomcat / yandex-disk-indicator

Panel indicator (GTK+) for YandexDisk CLI client for Linux
GNU General Public License v3.0
238 stars 30 forks source link

Open Yandex.Disk folder when left click on tray icon #215

Closed ivangretsky closed 3 years ago

ivangretsky commented 4 years ago

Good day! Thanks for a wonderful tool! Благодарю за отличную и нужную программу!

I am using it on Linux Mint. When I left click on the icon in the taskbar, a pop up menu opens. This is the same behaviour as when I right click on it. The default behaviour on Windows is to open Yandex.Disk folder in the file browser. I think this would be awesome either by default or at least as a configurable option. This action is listed in the pop up menu and works as intended, so shoul not be hard to implement.

What do you think?

slytomcat commented 4 years ago

Left and right clicks are controlled by panel plugin for application icons. There is no so much control from AppIndicator side on the way how menu is opened. But let me check it. May be my current undestanding of it is not fully correct.

slytomcat commented 3 years ago

I checked the documentation for the GUI library I use. There is no way to control the left / right click in it.

So, unfortunately the requested change can be implemented.