Expand the details pane when showing unformatted DASDs (#580463)
We are using DetailMessageWindow. Make sure the details are expanded by
default when showing unformatted DASDs. Other uses of this dialog
(e.g., traceback) do not want to have the details expanded by default,
so keep it False unless the use passes the expanded=True parameter.
---
cmdline.py | 2 +-
gui.py | 8 +++++---
installinterfacebase.py | 3 ++-
rescue.py | 2 +-
text.py | 2 +-
5 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/cmdline.py b/cmdline.py
index ca9abca..88f520f 100644
--- a/cmdline.py
+++ b/cmdline.py
@@ -108,7 +108,7 @@ class InstallInterface(InstallInterfaceBase):
def detailedMessageWindow(self, title, text, longText=None, type="ok",
default=None, custom_buttons=None,
- custom_icon=None):
+ custom_icon=None, expanded=False):
if longText:
text += "
%s" % longText
diff --git a/gui.py b/gui.py
index 4e8eb6d..e8f8254 100755
--- a/gui.py
+++ b/gui.py
@@ -812,7 +812,7 @@ class MessageWindow:
pass