Changeset 17 for conseil.py

Show
Ignore:
Timestamp:
07/06/06 11:59:18 (3 years ago)
Author:
ploum
Message:

#13 : launchpadweb searches incorrect results
#28 : results are not scrollable

Added BeautifulSoup? 3.0.3 from http://www.crummy.com/software/BeautifulSoup/
Thanks a lot to authors and contributors to BeautifulSoup?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • conseil.py

    r15 r17  
    1515        sys.exit(1) 
    1616 
    17 from protocol_dummy import protocol 
     17from protocol_launchpadweb import protocol 
    1818from bug import bug 
    1919 
     
    8080                # essai temporaire 
    8181                # normalement ici on lit le fichier de préférences 
    82                 listing.insert_before(None, ["UNCONFIRMED", 2, "blablabla"]) 
    83                 listing.insert_before(None, ["Evo's bugs", 3, "evolution bugs"]) 
     82                listing.insert_before(None, ["3 results", 2, "nautilus evolution crash"]) 
     83                listing.insert_before(None, ["many results", 2, "microsoft has majority"]) 
     84                listing.insert_before(None, ["Evo's bugs", 3, "evolution refresh folder"]) 
    8485                listing.insert_before(None, ["Bug #42", 1, "42"]) 
    8586                renderer = gtk.CellRendererText() 
     
    184185                tree.set_rules_hint(1) 
    185186                tree.set_model(store) 
    186                 self.insertTab(tree,title) 
     187                tab = gtk.ScrolledWindow() 
     188                tab.show() 
     189                tab.add(tree) 
     190                self.insertTab(tab,title) 
    187191                 
    188192 
     
    222226                        page = self.bugs_tabs.page_num(data) 
    223227                        self.bugs_tabs.remove_page(page) 
    224  
    225228                tab = widget 
    226229                #this is ugly ! I don't want to use glade for this