FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 07-20-2011, 01:40 PM
Chris Lumens
 
Default progressWindow takes a bunch of new arguments for pulsing (#723345).

---
pyanaconda/rescue.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/rescue.py b/pyanaconda/rescue.py
index 69786b5..1e71dd6 100644
--- a/pyanaconda/rescue.py
+++ b/pyanaconda/rescue.py
@@ -51,8 +51,8 @@ class RescueInterface(InstallInterfaceBase):
def waitWindow(self, title, text):
return WaitWindow(self.screen, title, text)

- def progressWindow(self, title, text, total):
- return ProgressWindow(self.screen, title, text, total)
+ def progressWindow(self, title, text, total, updpct = 0.05, pulse = False):
+ return ProgressWindow(self.screen, title, text, total, updpct, pulse)

def detailedMessageWindow(self, title, text, longText=None, type="ok",
default=None, custom_icon=None,
--
1.7.4.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 07-20-2011, 02:46 PM
David Cantrell
 
Default progressWindow takes a bunch of new arguments for pulsing (#723345).

On 07/20/2011 09:40 AM, Chris Lumens wrote:

---
pyanaconda/rescue.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/rescue.py b/pyanaconda/rescue.py
index 69786b5..1e71dd6 100644
--- a/pyanaconda/rescue.py
+++ b/pyanaconda/rescue.py
@@ -51,8 +51,8 @@ class RescueInterface(InstallInterfaceBase):
def waitWindow(self, title, text):
return WaitWindow(self.screen, title, text)

- def progressWindow(self, title, text, total):
- return ProgressWindow(self.screen, title, text, total)
+ def progressWindow(self, title, text, total, updpct = 0.05, pulse = False):
+ return ProgressWindow(self.screen, title, text, total, updpct, pulse)

def detailedMessageWindow(self, title, text, longText=None, type="ok",
default=None, custom_icon=None,


Ack.

--
David Cantrell <dcantrell@redhat.com>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Westford, MA | EST5EDT

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:02 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org