- #builder.connect_signals(self) # FIXME Segfaults?!
- builder.get_object('open').connect('activate', self.on_open_activate)
- builder.get_object('restore').connect('activate',
- self.on_restore_activate)
- builder.get_object('save').connect('activate', self.on_save_activate)
- builder.get_object('stop').connect('activate', self.on_stop_activate)
- builder.get_object('recent').connect('item-activated',
- self.on_recent_item_activated)
- builder.get_object('undo').connect('activate', self.on_undo_activate)
- builder.get_object('quit').connect('activate', self.on_quit_activate)
- builder.get_object('copy').connect('activate', self.on_copy_activate)
- builder.get_object('paste').connect('activate', self.on_paste_activate)
- builder.get_object('preferences').connect('activate',
- self.on_preferences_activate)
- builder.get_object('about').connect('activate', self.on_about_activate)
- toolbar_action.connect('toggled', self.on_toolbar_toggled)
- self.aboutwindow.connect('response', lambda x, *args: x.hide())
- self.aboutwindow.connect('delete-event',
- lambda x, *args: x.hide_on_delete())
- self.window.connect('delete-event', self.on_window_delete_event)
- self.prefswindow.connect('response', lambda x, *args: x.hide())
- self.prefswindow.connect('delete-event',
- lambda x, *args: x.hide_on_delete())
- # FIXME Delete to here when above bug is fixed