Added missing hook to delete_container action

This commit is contained in:
José Carlos Cuevas 2014-07-11 14:07:45 +02:00
parent cdca3f5506
commit 19ed936f4b
2 changed files with 7 additions and 0 deletions

View file

@ -47,6 +47,7 @@
<property name="tooltip" translatable="yes">Delete the selected container.</property>
<property name="stock_id">gtk-delete</property>
<property name="always_show_image">True</property>
<signal name="activate" handler="on_delete_container_action_activate" swapped="no"/>
</object>
</child>
</object>

View file

@ -209,6 +209,12 @@ class MainWindow(Gtk.Application):
# anyway.
print "Not implemented: on_log_action_activate"
def on_delete_container_action_activate(self, obj, event = None):
"""
User wants to delete a selected container
"""
print "Not implemented: on_delete_container_action_activate"
def on_build_action_activate(self, obj, event = None):
"""
Command for building new images from Dockerfiles