mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-24 05:29:12 +08:00
Fix the path to the pop up images in the monitor tab.
This commit is contained in:
parent
6143906fa4
commit
3ad916b565
@ -455,7 +455,7 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
|
||||
self._start_cloud_flow_message = Message(
|
||||
text = i18n_catalog.i18nc("@info:status", "Send and monitor print jobs from anywhere using your Ultimaker account."),
|
||||
lifetime = 0,
|
||||
image_source = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "resources", "svg",
|
||||
image_source = "file:///" + os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "resources", "svg",
|
||||
"cloud-flow-start.svg"),
|
||||
image_caption = i18n_catalog.i18nc("@info:status", "Connect to Ultimaker Cloud"),
|
||||
option_text = i18n_catalog.i18nc("@action", "Don't ask me again for this printer."),
|
||||
@ -477,7 +477,7 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
|
||||
self._cloud_flow_complete_message = Message(
|
||||
text = i18n_catalog.i18nc("@info:status", "You can now send and monitor print jobs from anywhere using your Ultimaker account."),
|
||||
lifetime = 30,
|
||||
image_source = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "resources", "svg",
|
||||
image_source = "file:///" + os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "resources", "svg",
|
||||
"cloud-flow-completed.svg"),
|
||||
image_caption = i18n_catalog.i18nc("@info:status", "Connected!")
|
||||
)
|
||||
@ -522,4 +522,4 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
|
||||
self._cloud_flow_complete_message.hide()
|
||||
self._cloud_flow_complete_message = None
|
||||
|
||||
self.checkCloudFlowIsPossible()
|
||||
self.checkCloudFlowIsPossible()
|
||||
|
Loading…
x
Reference in New Issue
Block a user