[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 1/6] Don't exceed 80 chars.
- From: Joel Granados Moreno <jgranado redhat com>
- To: anaconda-devel-list redhat com
- Subject: [PATCH 1/6] Don't exceed 80 chars.
- Date: Thu, 30 Jul 2009 16:19:13 +0200
* gui.py (__init__): Split the arguments for __init__ into three lines.
Also split the line that creates the pygtk dialog into two.
---
gui.py | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/gui.py b/gui.py
index 0a4ca3b..682f1c8 100755
--- a/gui.py
+++ b/gui.py
@@ -858,7 +858,10 @@ class MessageWindow:
pass
class DetailedMessageWindow(MessageWindow):
- def __init__(self, title, text, longText=None, type="ok", default=None, custom_buttons=None, custom_icon=None, run=True, parent=None, destroyAfterRun=True):
+ def __init__(self, title, text, longText=None, type="ok", default=None,
+ custom_buttons=None, custom_icon=None, run=True, parent=None,
+ destroyAfterRun=True):
+
self.title = title
if flags.autostep:
@@ -882,7 +885,8 @@ class DetailedMessageWindow(MessageWindow):
self.doCustom = True
buttons = custom_buttons
- xml = gtk.glade.XML(findGladeFile("detailed-dialog.glade"), domain="anaconda")
+ xml = gtk.glade.XML(findGladeFile("detailed-dialog.glade"),
+ domain="anaconda")
self.dialog = xml.get_widget("detailedDialog")
self.mainVBox = xml.get_widget("mainVBox")
self.hbox = xml.get_widget("hbox1")
--
1.6.0.6
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]