Skip to content
Snippets Groups Projects
Commit 0f41cf1f authored by nkour's avatar nkour
Browse files

escape now closes ft window

parent 8298cb45
No related branches found
No related tags found
No related merge requests found
......@@ -719,7 +719,12 @@ def on_continue_menuitem_activate(self, widget):
def on_pause_menuitem_activate(self, widget):
self.on_pause_restore_button_clicked(widget)
# TODO change the stock
#FIXME: change the stock
def on_remove_menuitem_activate(self, widget):
self.on_remove_button_clicked(widget)
def on_file_transfers_window_key_press_event(self, widget, event):
if event.keyval == gtk.keysyms.Escape: # ESCAPE
self.window.hide()
......@@ -17508,6 +17508,7 @@ Maybe I'll refactor later</property>
<atkproperty name="AtkObject::accessible_description" translatable="yes">Shows a list of file transfers between you and other</atkproperty>
</accessibility>
<signal name="delete_event" handler="on_file_transfers_dialog_delete_event" last_modification_time="Wed, 31 Aug 2005 22:17:01 GMT"/>
<signal name="key_press_event" handler="on_file_transfers_window_key_press_event" last_modification_time="Mon, 15 Aug 2005 12:42:20 GMT"/>
 
<child>
<widget class="GtkVBox" id="vbox1">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment