Commit Graph

29 Commits

Author SHA1 Message Date
luzpaz 8a995cb097 Fix various typos
Found via `codespell -q 3 -S *.po -L bloc,extracter,parms`
2023-07-14 12:13:50 +00:00
Teemu Ikonen 6bd0bb0530 Remove unused imports and pass statements
Fixes flake8 error F401.
Most errors were fixed by running

autoflake -i -r --remove-all-unused-imports .

which also removes unnecessary 'pass' statements, some by hand-editing.
2022-11-14 18:32:09 +02:00
auouymous 7e459c0101 Remove executable bit for files that shouldn't be executable. 2020-01-13 00:53:59 -07:00
Hiltronix b6889c0eb3 Update notification-win32.py 2019-08-24 15:55:30 -05:00
Hiltronix 232b3b8b28 Update notification-win32.py 2019-08-24 15:52:36 -05:00
Hiltronix 8e2368e6ab Fix Win32 Powershell Notifications
On Windows 7, the Powershell notifications that gPodder  3.x is using are never deleted from the desktop.  The notification icons permanently stay visible in the taskbar system tray, untill your manually roll over them with the mouse cursor.

Changing the subprocess  from "run" to "Popen" so the fuction is non-blocking.

Non Win 10 Windows script will create it's own time delay, after which it removes the taskbar system tray icon, and then deletes it's own script file.

Removing the Python delete file, and have the Powershell script delete itself when it's done, because we want the script to be non-blocking and be removed from the temp folder after use.

I have not tested on Win 10 as I use Win 7, so I don't know if Win 10 has the same issues with Powershell permant  taskbar system tray icons.  So this fix is just for <Win10 script notifications.
2019-08-24 15:34:29 -05:00
Eric Le Lay 1fd7dd6481 fix missing import in notification-win32 2018-09-08 18:55:47 +02:00
MarkusHackspacher f4c075c334 fix E127 continuation line over-indented for visual indent 2018-08-25 09:42:10 +02:00
Eric Le Lay a769429039 fix #503 Missing translatable content 2018-08-02 22:42:42 +02:00
Eric Le Lay e9ab9ceb46 run isort on make lint 2018-07-29 14:45:34 +02:00
Eric Le Lay a321db85e3 working windows notifications based on powershell
- fix powershell console briefly displayed on notifications
 - use win10 toast notification instead of balloon if available
 - win10 notifications show as gPodder if it's installed, as
   powershell otherwise (but with gPodder icon)
 - removing notifu from appveyor build since it won't be necessary

See #485
2018-07-29 12:54:36 +02:00
Eric Le Lay 403af81e85 use powershell script to implement windows notifications
the issue is that when running gpodder.exe, the powershell
window shows for a brief instant, because it's a console app.
There is no issue when running gpodder-cmd.exe
see #485.
2018-07-28 21:17:32 +02:00
MarkusHackspacher 735ec25fb7 not sort import gi and add isort to travis 2018-07-28 17:04:41 +02:00
MarkusHackspacher 3ce9cd55e7 remove too many blank lines 2018-07-24 14:11:05 +02:00
MarkusHackspacher 82f41f4c21 sorting imports
with isort -y -rc
see #393
2018-07-24 11:08:10 +02:00
Eric Le Lay 0f88112905 notifications as Gtk.MessageDialog on windows 2018-05-02 10:59:03 +02:00
MarkusHackspacher a90fa0b521 fix W391 blank line at end of file 2018-02-11 21:51:40 +01:00
MarkusHackspacher 0c18a43d13 fix E302 and E303, only blank line change 2018-02-11 00:22:00 +01:00
Thomas Perl 98ec45a712 Update copyright years (2018) 2018-01-28 19:39:53 +01:00
Thomas Perl 17112ee247 Update copyright years (2017) 2017-12-16 13:52:51 +01:00
Thomas Perl 36eefc8a30 Update copyright years (2016) 2016-01-15 15:22:52 +01:00
Thomas Perl aa72634950 Update copyright years (2015) 2015-05-24 19:33:39 +02:00
Thomas Perl 553e35f219 Update copyright years (2014) 2014-02-27 21:55:13 +01:00
Sean Munkel 6b87dd7755 Windows: Mandatory notification extension (pull request 72) 2013-03-27 12:03:07 +01:00
Thomas Perl bda982be02 Update copyright years for 2013 2013-03-05 16:38:48 +01:00
Sean Munkel e2253a94a3 Windows: Encoding issue in notifications (bug 1744)
See also: https://github.com/gpodder/gpodder/pull/70
2013-02-17 10:47:01 +01:00
Thomas Perl 83e4823eeb Extensions: Cleanup Windows notification extension 2012-12-29 14:42:52 +01:00
Thomas Perl c704e1fc48 Win32: Remove execute bit on notification-win32 extension 2012-12-29 14:35:54 +01:00
Sean Munkel 2440e5ae1a Added notification bubbles on Windows (bug 426) 2012-12-29 14:22:09 +01:00