Implement close button for the activity.

Some fixes.
This commit is contained in:
Marco Pesenti Gritti
2006-09-18 11:56:53 +02:00
parent 1f3187e0b5
commit 180c65e81c
4 changed files with 22 additions and 7 deletions
+3
View File
@@ -70,6 +70,9 @@ class ActivityHost:
def present(self):
self._window.activate(gtk.get_current_event_time())
def close(self):
self._window.close(gtk.get_current_event_time())
def show_dialog(self, dialog):
dialog.show()
dialog.window.set_transient_for(self._gdk_window)