Changeset 14 for conseil.py

Show
Ignore:
Timestamp:
07/04/06 17:23:55 (3 years ago)
Author:
ploum
Message:

#4 : error at start because the notebook is empty

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • conseil.py

    r13 r14  
    2424                #Set the Glade file 
    2525                self.wTree = gtk.glade.XML("conseil.glade") 
    26                 self.bugs_tabs= self.wTree.get_widget("bugs_tabs")  
     26                self.bugs_tabs= self.wTree.get_widget("bugs_tabs") 
     27                #We remove directly the first page 
     28                # we might want to keep it and remove it at the first action  
     29                self.bugs_tabs.remove_page(0) 
    2730                #Create our dictionay and connect it 
    2831                dic = { "on_btnSimplesearch_clicked" : self.simpleSearch_clicked,  
     
    3437                self.bts = protocol() 
    3538                self.bookmarks = self.__bookmarksInit(self.bts.Name()) 
     39                 
    3640 
    3741        def __isint(self,x): 
     
    130134                        else : 
    131135                                self.__searchDisplay(self.bts.genericSearch(searchString),2,searchString) 
    132                         #TODO : remplacer le none par un widget digne de ce nom 
    133                          
    134                         #self.bugs_tabs.insert_page(tab, None) 
    135136 
    136137        #We did a simple search