Commit Graph
28 Commits
Author SHA1 Message Date
drwtsn32x 9d07bc8fac add trayicon warning state 2019-10-07 21:14:24 -07:00
Kenneth Hsu 70be230c29 Remove unused IMenuItem.SetEnabled method. 2019-04-27 16:42:48 -07:00
Francois Lafleur a491204932 try to fix codacy issues 2019-04-06 09:29:10 -04:00
Francois Lafleur b407f80eb1 added static to fix codacy issue 2019-04-06 09:23:42 -04:00
Francois Lafleur 3224c77949 try fix codacy/pr problem 2019-04-06 09:02:51 -04:00
Francois Lafleur a5c629fe29 fix code standards 2019-04-06 08:47:05 -04:00
Francois Lafleur 8f47123fb5 Open web interface when click on Windows notification
Fix notification appears like error when they are warning only

#2612
2019-04-06 07:51:05 -04:00
Kenneth Hsu e91e79e884 Convert write-only IMenuItem.Icon property to method.
Write-only properties are confusing and the behavior is better
implemented as a method, which more clearly conveys the write-only
semantics.
2018-12-09 20:23:05 -08:00
Kenneth Hsu 97dbfadfb2 Convert write-only IMenuItem.Default property to method.
Write-only properties are confusing and the behavior is better
implemented as a method, which more clearly conveys the write-only
semantics.
2018-12-09 20:23:05 -08:00
Kenneth Hsu ee9df1bf75 Convert write-only IMenuItem.Enabled property to method.
Write-only properties are confusing and the behavior is better
implemented as a method, which more clearly conveys the write-only
semantics.
2018-12-09 20:23:05 -08:00
Kenneth Hsu 3718a8deda Convert write-only IMenuItem.Text property to method.
Write-only properties are confusing and the behavior is better
implemented as a method, which more clearly conveys the write-only
semantics.
2018-12-09 20:23:05 -08:00
Kenneth Hsu cd72cc4bd5 Convert write-only TrayIconBase.Icon property to method.
Write-only properties are confusing and the behavior is better
implemented as a method, which more clearly conveys the write-only
semantics.
2018-12-08 10:39:06 -08:00
Kenneth Hsu f12858e6a5 Mark fields that shouldn't be reassigned as readonly.
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2018-05-25 10:04:52 -07:00
Kenneth Skovhede d399068451 Added title to Windows tray icon.
This fixes #2652
2017-08-23 11:59:03 +02:00
Kenneth Skovhede c5c0c1eb27 Removed Windows TrayIcon redundant re-entrance check 2017-06-27 15:05:00 +02:00
Kenneth Skovhede a029890409 Implemented better default error messsages 2017-01-09 11:35:38 +01:00
Kenneth Skovhede 8302fd41e8 Added action to left-click tray-icon in windows 2016-10-04 01:19:26 +02:00
Kenneth Skovhede c2b9574ea2 Removed unused icon size call 2016-03-22 21:17:10 +01:00
Kenneth Skovhede 58042d4b7f Merge branch 'master' into feature/fix_windows_icon_sizes
# Conflicts:
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/ImageLoader.cs

Fixed the imageloader so it actually respects the size
2016-03-22 21:12:23 +01:00
FootStark ad43349a03 Use SmallIconSize from SystemInformation in Win-Tray 2016-03-22 01:15:54 +01:00
Kenneth Skovhede 46a3d51507 Changed the way icons are loaded to hopefully get pretty icons on Windows.
This should fix #1646
2016-03-21 23:52:04 +01:00
Kenneth Skovhede 8d13e698eb Updated copyright notices 2015-01-20 21:44:52 +01:00
Kenneth Skovhede 4310844961 Implemented desktop notifications 2014-08-04 22:16:15 +02:00
Kenneth Skovhede d74730cbba Changed name of event in trayicon 2014-08-04 20:38:43 +02:00
Kenneth Skovhede ba44869231 Reworked the way the OSX app is loaded so it can be launched from a unified executable 2014-07-07 01:33:19 +02:00
kenneth@hexad.dk ba44c96a0c There is now basic UI functionality for windows, complete with callbacks from the UI to the tray icon, and a connection to the server.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1194 59da171f-624f-0410-aa54-27559c288bec
2012-03-29 18:02:07 +00:00
kenneth@hexad.dk eeee931ea0 All tray icons are now working.
This changes all implementations to run off the TrayIconBase, so there is only a single place to maintain the tray icon and menus.
WinForms and Gtk has been updated to use this new implementation.
The ApplicationIndicator has been added so the TrayIcon now shows under Ubuntu Unity as well.
Cocoa support has been added so there is now a NSStatusItem. In order to debug this, a special MonoDevelop-MonoMac project has been added, but this is not used in the solution. The project just loads the regular implementation, but the project builds a .app package and debugs from it. Everything should build on a stock Windows machine with VS, and Ubuntu/OSX with MonoDevelop (needs WinForms to build, but not to run).

The TrayIcon icons are now limited to Idle,Paused,Running and an Error/Warning notifier overlay, giving a total of six icons.
The graphics needs to be updated to reflect this, and the server SuggestedStatusIcon should be changed to only output one of these states.

git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1039 59da171f-624f-0410-aa54-27559c288bec
2011-11-28 11:05:42 +00:00
kenneth@hexad.dk 7432401bc1 Fixed a Gtk tray icon running of the http server, simplified some reporting from the server to reduce the amount of logic in each tray icon implementation.
Cocoa -> You are next!

git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1032 59da171f-624f-0410-aa54-27559c288bec
2011-11-23 20:52:28 +00:00