diff options
| author | Papoteur <papoteur@mageia.org> | 2026-04-06 15:08:03 +0200 |
|---|---|---|
| committer | Papoteur <papoteur@mageia.org> | 2026-04-06 15:08:03 +0200 |
| commit | 247b32593070679d7fa8fc206dc33fd0570e99a6 (patch) | |
| tree | e650c7a1a3d06bf0a45a6cd8d373f22c56e50ad9 /lib/isodumper.py | |
| parent | c528c422c2df383d29bfc20f92dbbab26555826f (diff) | |
| download | isodumper-247b32593070679d7fa8fc206dc33fd0570e99a6.tar isodumper-247b32593070679d7fa8fc206dc33fd0570e99a6.tar.gz isodumper-247b32593070679d7fa8fc206dc33fd0570e99a6.tar.bz2 isodumper-247b32593070679d7fa8fc206dc33fd0570e99a6.tar.xz isodumper-247b32593070679d7fa8fc206dc33fd0570e99a6.zip | |
Improve size of popup windows
Diffstat (limited to 'lib/isodumper.py')
| -rwxr-xr-x | lib/isodumper.py | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py index 7ed2800..e64105a 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -476,6 +476,7 @@ class IsoDumper(basedialog.BaseDialog): info = { "title": _("Formatting confirmation in {}".format(self.partition_cb.value())), "text": self.warning, "richtext" : True, + "size": [200, 120], } if common.askYesOrNo(info): self.progress.setEnabled() @@ -601,6 +602,7 @@ class IsoDumper(basedialog.BaseDialog): info = { "title":_("Backup confirmation"), "text": _("Do you want to overwrite the file?"), "richtext": True, + "size": [200, 120], } if not (common.askYesOrNo(info)): self.returncode = 1 @@ -812,12 +814,13 @@ class IsoDumper(basedialog.BaseDialog): self.close() else: # writing , backup or format running info = { "title": _("Warning"), - "richtext": True, - "text": _( - "Writing is in progress. Exiting during writing \n\ - will make the device or the backup unusable.\n\ - Are you sure you want to quit during writing?" - ), + "richtext": True, + "text": _( + "Writing is in progress. Exiting during writing \n\ + will make the device or the backup unusable.\n\ + Are you sure you want to quit during writing?" + ), + "size": [250, 150], } if common.askYesOrNo(info): return True @@ -831,6 +834,7 @@ class IsoDumper(basedialog.BaseDialog): info = { "title":_("Error"), "richtext": True, "text": message, + "size": [250, 200], } common.warningMsgBox(info) @@ -1230,6 +1234,7 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog ) + "\n" + _("Do you want to continue?"), + "size": [200, 120], } if common.askYesOrNo(info): pass @@ -1246,6 +1251,7 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog "text": _( "No GPG signature has been found. Are you sure you want to use this image?" ), + "size": [200, 120], } if common.askYesOrNo(info): pass @@ -1350,7 +1356,8 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog if self.image_is_selected: info = { "title": _("Writing confirmation"), "richtext": True, - "text": self.warning + "text": self.warning, + "size": [250, 150], } if common.askYesOrNo(info): if self.deviceSize > 1024 * 1024 * 1024 * 32: @@ -1359,6 +1366,7 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog "text": _( "The device is bigger than 32 Gbytes. Are you sure you want use it?" ), + "size": [200, 120], } if not common.askYesOrNo(info): return @@ -1382,6 +1390,7 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog "text": _( "Label length will be shorten to {} characters. Do you want to continue?".format(self.label_length[format_type]) ), + "size": [200, 120], } if not common.askYesOrNo(info): return |
