Hi,
I am using freevo to browse some large directories. Since i'm
using a RC i am sometimes not sure if freevo is busy or if
the signal does not reach the receiver when i change directories.
so i'd like to see a infobox when freevo is working.
Maybe someone else likes it.

please find attached a little patch for directory.py.

torben
--- directory.py.orig	2003-11-26 14:13:11.000000000 +0100
+++ directory.py	2003-11-26 14:11:18.000000000 +0100
@@ -95,6 +95,7 @@
 import gui.PasswordInputBox as PasswordInputBox
 import gui.AlertBox as AlertBox
 from gui.ProgressBox import ProgressBox
+from gui.PopupBox import PopupBox
 
 # XML support
 from xml.utils import qp_xml
@@ -509,6 +510,8 @@
         """
         build the items for the directory
         """
+	popup = PopupBox(text=_('changing directory...'))
+	popup.show()
         self.playlist = []
 
         display_type = self.display_type
@@ -543,6 +546,7 @@
         pop = None
         callback=None
         if (num_changes > 10) or (num_changes and self.media):
+	    popup.destroy()
             if self.media and dir_on_disc == '':
                 pop = ProgressBox(text=_('Scanning disc, be patient...'), full=num_changes)
             else:
@@ -695,6 +699,8 @@
                                                self.all_files)
             self.menu  = item_menu
             self.menuw = menuw
+	if popup:
+	    popup.destroy()
         return items
 
 

Reply via email to