Changeset 4413

Show
Ignore:
Timestamp:
03/29/09 14:53:46 (4 years ago)
Author:
nopper
Message:

Interface selection by double click on Interface dialog implemented. This should close the ticket #252.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branch/PacketManipulator/PM/Gui/Dialogs/Interface.py

    r3793 r4413  
    317317        self.vbox.pack_start(self.options, False, False) 
    318318 
     319        self.if_list.tree.connect('row-activated', 
     320            lambda tree, path, view, diag: 
     321                diag.response(gtk.RESPONSE_ACCEPT), self) 
     322 
    319323        self.show_all() 
    320324        self.set_size_request(620, 400) 
    321      
     325 
    322326    def get_selected(self): 
    323327        "@return the selected interface for sniffing or None"