16 Commits

Author SHA1 Message Date
Remco Burema
854921c002 Fix typo in property. Not sure why this didn't crash tbh.
done while investigating CURA-9196
2022-04-26 16:52:23 +02:00
c.lamboo
337e2aa4bb Update set deamon logic
`setDaemon(True)` has been deprecated

CURA-8640
2022-03-30 15:12:44 +02:00
luz paz
d68f375e38 Fix various typos
Found via `codespell -q 3 -S *.po,*.pot -L childs,initialy,lod,ned,te,slicable,sur,tutoriels,wont`
2021-09-07 11:33:54 -04:00
Ghostkeeper
b142a15266
Remove unused import
And fixed the header and documentation spelling.
2017-10-04 14:59:39 +02:00
Ghostkeeper
0fab6fcc21
Merge branch 'thopiekar-RemovableDrivePlugin-cleanup' 2017-10-04 14:55:36 +02:00
Mark
9a193ad5c5 Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
Thomas Karl Pietrowski
fc8cbedc82 Sorting imports and removing superfluous import
.. Logger has been imported twice..
2017-09-26 09:39:18 +02:00
fieldOfView
cdba3640a0 Move showing eject success message until after the safe to remove message is hidden
CURA-2341
2016-09-26 16:10:57 +02:00
fieldOfView
fcf89b79c6 Update wording of error messages 2016-09-06 08:55:32 +02:00
Jaime van Kessel
7a7b634108 Eject message is now hidden when eject is done
CURA-2200
2016-08-26 16:23:23 +02:00
daid
8980600292 CURA-1104: Fix the incorrect "failed to eject drive" message for windows.
The C windows API call was wrong. The lpBytesReturned parameter was set to
NULL. While the docmentation at:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa363406(v=vs.85).aspx
states that it CANNOT be NULL if lpOverlapped is NULL. Overlapped is for
async operations. So the easiest way to fix this is to supply a proper
pointer.

I've also removed unused includes. And supplied the DeviceIoControl with
proper ctypes calling information to prevent other python->c problems.
2016-03-11 15:13:09 +01:00
Jaime van Kessel
3b66e887b0 Added logging 2016-03-11 14:49:21 +01:00
Arjen Hiemstra
de533b660e Catch any exception that happens while trying to eject
This should prevent crashes on eject on any platform.

CURA-106 #done
2015-09-29 16:58:04 +02:00
Tamara Hogenhout
506180fff9 changing the i18n call so that the actual string is shown instead of the context ;)
fixes #369
2015-09-11 10:06:34 +02:00
Tamara Hogenhout
4a9bf2b4d6 adds/adapts translation context markers
all nescessary in folder: Cura/plugins

Contributes to: issue CURA-116
2015-09-08 15:26:49 +02:00
Arjen Hiemstra
825349b47b Add RemovableDrive plugin that has been moved from Uranium
Since it now depends on GCodeWriter we should put it somewhere where
GCodeWriter actually exists.
2015-07-30 17:14:22 +02:00