mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-08 21:18:04 +03:00
snapshots: add button to force snapshots list refresh
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
c1fd79c4f7
commit
724c6499f0
@ -683,6 +683,26 @@
|
||||
<object class="GtkBox" id="hbox10">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<child>
|
||||
<object class="GtkButton" id="snapshot-refresh">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<signal name="clicked" handler="on_snapshot_refresh_clicked" swapped="no"/>
|
||||
<child>
|
||||
<object class="GtkImage" id="image5">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="stock">gtk-refresh</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">0</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="snapshot-add">
|
||||
<property name="visible">True</property>
|
||||
@ -703,7 +723,7 @@
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
<property name="position">0</property>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
@ -724,7 +744,7 @@
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
<property name="position">1</property>
|
||||
<property name="position">2</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
@ -747,7 +767,7 @@
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
<property name="position">2</property>
|
||||
<property name="position">3</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2013 Red Hat, Inc.
|
||||
# Copyright (C) 2013-2014 Red Hat, Inc.
|
||||
# Copyright (C) 2013 Cole Robinson <crobinso@redhat.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
@ -78,6 +78,7 @@ class vmmSnapshotPage(vmmGObjectUI):
|
||||
"on_snapshot_apply_clicked": self._on_apply_clicked,
|
||||
"on_snapshot_list_changed": self._snapshot_selected,
|
||||
"on_snapshot_list_button_press_event": self._popup_snapshot_menu,
|
||||
"on_snapshot_refresh_clicked": self._refresh_snapshots,
|
||||
|
||||
# 'Create' dialog
|
||||
"on_snapshot_new_delete_event": self._snapshot_new_close,
|
||||
|
Loading…
Reference in New Issue
Block a user