Changeset 69 for retriever.py

Show
Ignore:
Timestamp:
03/28/07 08:38:40 (22 months ago)
Author:
ploum
Message:

Only display the comment form if you can actually post one.
It fixes #61 for now

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • retriever.py

    r56 r69  
    230230                        browser_button = bugwidget.get_widget("browser_button") 
    231231                        browser_button.connect("clicked",callback_browser, bugnbr) 
     232                        post_comment = bugwidget.get_widget("add_comment_expander") 
    232233                        # handle nicely plurals 
    233234                        bugtotal = zebug.comNbr() 
     
    272273 
    273274                        widget_comments.add(hbox) 
     275                        if zebug.isCommentable() : 
     276                                post_comment.show() 
    274277                        #We take the vbox to insert it 
    275278                        main_widget = bugwidget.get_widget("bug_main")