Changeset c87d938e304a9095234a1e40819b25d5fd433bef

Show
Ignore:
Timestamp:
03/16/09 21:54:03 (3 years ago)
Author:
Lincoln de Sousa <lincoln@…>
Children:
4b0895a574f8fbaaf2caa4a11fc9c6b4fe504c09
Parents:
957c2d6c82b66f769900c37efca1941cb46abad6
git-author:
Lincoln de Sousa <lincoln@…> (03/16/09 20:40:13)
git-committer:
Lincoln de Sousa <lincoln@…> (03/16/09 21:54:03)
Message:

Fixing the way of connecting the handler of quit in context menu

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/guake.py

    r6bc6750 rc87d938  
    337337        key, mask = gtk.accelerator_parse(gets('quit')) 
    338338        if key > 0: 
    339             gtk.accel_map_change_entry('<Guake>/Quit', key, mask, True) 
    340             ctxbtn = self.guake.get_widget('context_close') 
    341             ctxbtn.set_accel_path('<Guake>/Quit') 
     339            self.accel_group.connect_group(key, mask, gtk.ACCEL_VISIBLE, 
     340                                           gtk.main_quit) 
    342341 
    343342        key, mask = gtk.accelerator_parse(gets('new_tab'))