Commit graph

82 commits

Author SHA1 Message Date
Aleix Pol
ecd4f81840 Don't block the process while showing the dialog
Otherwise it's not possible to interact with the system tray while the
dialog is open.
2017-05-25 00:16:05 +02:00
Aleix Pol
3e794dd4c7 Fix name 2017-05-24 23:25:18 +02:00
Albert Vaca
e3c4592577 Doesn't seem to like starting a process in the callback 2017-05-24 23:22:30 +02:00
Albert Vaca
cd3341ecc0 Add icon to executable for Windows and Mac 2017-05-24 22:57:37 +02:00
Albert Vaca
9f95d8c4d3 Launch daemon with indicator on Windows
Since Dbus activation doesn't work on Windows
2017-05-24 22:57:36 +02:00
Albert Vaca
58f9045bfa Don't allow more than one indicator 2017-05-24 22:57:36 +02:00
Albert Vaca
35a9bde458 Get the correct icon 2017-05-24 22:57:36 +02:00
Aleix Pol
139bac55bc Fix desktop file
Have it open kdeconnect-indicator rather than plasmawindowed
2017-05-24 21:57:06 +02:00
Aleix Pol
a30adbe465 Hardcode a path to find the icon in on Windows 2017-05-24 20:53:12 +02:00
Albert Astals Cid
f01f751708 Use a KCMultiDialog instead of calling kcmshell directly
Reviewed by Aleix
2017-05-24 19:59:04 +02:00
Aleix Pol
32002e3c46 Use KStatusNotifierItem on the indicator
Seems to work a bit better than QSystemTrayIcon
2017-03-27 20:44:36 +02:00
Albert Vaca
636a4507cc Actually, just set the tooltip to the icon
The tooltip within the menus behaved weird, and didn't add any info.
2017-02-28 22:08:40 +01:00
Albert Vaca
44aec35996 Use the device name as tooltip 2017-02-28 22:04:20 +01:00
Albert Vaca
51e4116886 Fixed crash 2017-02-21 00:08:03 +01:00
Aleix Pol
1cbc067205 Remove disabled plugins
No need to show it's not available
2017-02-20 23:27:42 +01:00
Aleix Pol
a000f82475 Remove unpair from the indicator menu
It's never an urgent action, should be done from the KCM
2017-02-20 23:27:03 +01:00
Albert Vaca
1d09ee78a5 Naming 2017-02-05 15:54:38 +01:00
Albert Astals Cid
c2739f94f1 Do not create a new menu on every refreshMenu call
Seems to work better under Unity

Reviewed by Aleix Pol
2017-01-31 00:53:26 +01:00
Aleix Pol
b416c18916 Make sure that the menu is initialized upon start.
Otherwise it won't be initialized until some devices are added.
2017-01-27 00:54:57 +01:00
Aleix Pol
80a12e506a Let the indicator accept and reject pairings 2017-01-25 01:19:44 +01:00
Aleix Pol
c822ef8104 Set the device's announcedName when it's available
No need to block on it
2017-01-13 17:48:37 +01:00
Aleix Pol
8ac7922252 Implement send file for kdeconnect-indicator 2017-01-11 18:04:01 +01:00
Aleix Pol
d517dcea48 Only make actions enabled if they're available 2017-01-11 18:03:44 +01:00
Aleix Pol
e83c707ad2 Recreate the menu when devices change
Instead of trying to be overly smart.
Qt wasn't updating the StatusNotifier properly anyway, this makes the
whole thing work.
2017-01-11 17:19:17 +01:00
Albert Vaca
3a558984b9 Fix for qt 5.6 2016-11-23 20:27:09 +01:00
Aleix Pol
89d6152b3b Install kdeconnect-indicator 2016-11-23 19:45:35 +01:00
Aleix Pol
7960cb2ca7 Have a tooltip with the number of connected devices 2016-11-23 19:45:35 +01:00
Aleix Pol
7b87af16df Properly iterate over devices 2016-11-23 19:45:35 +01:00
Aleix Pol
6aa41a6ab9 Display a configure entry on the menu 2016-11-23 19:45:35 +01:00
Aleix Pol
afa299266e Only display connected devices 2016-11-23 19:45:35 +01:00
Aleix Pol
22e08095ce Let the menu actually do things 2016-11-23 19:45:35 +01:00
Aleix Pol
b67b0e6c2c First approach to a tool that sits on the system tray
Hopefully will better integrate in all platforms
2016-11-23 19:45:35 +01:00