Fixed a problem in on_ContainerListView_buton_press_event

This commit is contained in:
José Carlos Cuevas 2014-07-11 14:00:38 +02:00
parent 165f079c61
commit cdca3f5506

View file

@ -252,8 +252,9 @@ class MainWindow(Gtk.Application):
else:
popup = self.ui_manager.get_widget('/ContainerStoppedPopup')
popup.popup(None, None, None, None, event.button, event.time)
return True
popup.popup(None, None, None, None, event.button, event.time)
return True
def on_container_view_selection_changed(self, selection):
"""
@ -300,9 +301,6 @@ class MainWindow(Gtk.Application):
delete_container_button.set_sensitive(False)
# run main loop
def main():
main_window = MainWindow()