[Uludag-commits] r15654 - trunk/yali/yali/gui

uludag-commits at pardus.org.tr uludag-commits at pardus.org.tr
5 Eki 2007 Cum 14:00:37 EEST


Author: gokmen.goksel
Date: Fri Oct  5 14:00:37 2007
New Revision: 15654

Modified:
   trunk/yali/yali/gui/ScrInstall.py
   trunk/yali/yali/gui/ScrKahyaCheck.py
Log:
another clear_devices history.. but this time I'm the star ;)

Modified: trunk/yali/yali/gui/ScrInstall.py
=================================================================
--- trunk/yali/yali/gui/ScrInstall.py	(original)
+++ trunk/yali/yali/gui/ScrInstall.py	Fri Oct  5 14:00:37 2007
@@ -236,8 +236,6 @@
 ''') % str(e)
 
         yali.gui.runner.showException(yali.exception_fatal, err_str)
-        
-
 
 class PkgInstaller(QThread):
 
@@ -278,7 +276,6 @@
         pisi.ui.UI.__init__(self)
         self._notify_widget = notify_widget
 
-
     def notify(self, event, **keywords):
         if event == pisi.ui.installing or event == pisi.ui.configuring:
             # User+1: pisi notify
@@ -287,7 +284,6 @@
             qevent.setData(data)
             QApplication.postEvent(self._notify_widget, qevent)
 
-    
     def display_progress(self, operation, percent, info, **keywords):
         pass
 

Modified: trunk/yali/yali/gui/ScrKahyaCheck.py
=================================================================
--- trunk/yali/yali/gui/ScrKahyaCheck.py	(original)
+++ trunk/yali/yali/gui/ScrKahyaCheck.py	Fri Oct  5 14:00:37 2007
@@ -58,14 +58,10 @@
     def __init__(self, *args):
         apply(KickerWidget.__init__, (self,) + args)
 
-    def jumpToNext(self):
-        num = ctx.screens.getCurrentIndex() + 1
-        ctx.screens.goToScreen(num)
-
     def execute(self):
         if not kahyaExists():
             ctx.debugger.log("There is no kahya jumps to the next screen.")
-            self.jumpToNext()
+            return True
 
         ctx.autoInstall = True
         yaliKahya = kahya()
@@ -114,6 +110,7 @@
                     yali.users.pending_users.append(user)
                     ctx.debugger.log("USER    : %s " % user.username)
                 if not ctx.options.dryRun:
+                    # Bootloader Screen is 9
                     ctx.screens.goToScreen(9)
                 else:
                     ctx.debugger.log("dryRun activated Yali stopped")


Uludag-commits mesaj listesiyle ilgili daha fazla bilgi