aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-05-31 12:09:07 +0200
committerGerd Hoffmann <kraxel@redhat.com>2016-05-31 12:09:07 +0200
commitb0e51de6224017d9cc003e76ab98660ce252c7cc (patch)
tree9176e6ea780b9bddf8e079965aa18fb757b629c8
parente2a8c191c4949e9ed78cd4eaa0da1d7ebeb02299 (diff)
downloadvconsole-b0e51de6224017d9cc003e76ab98660ce252c7cc.tar.gz
zap reset+kill from toolbar, add reboot+shutdown instead
-rw-r--r--vconsole.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/vconsole.c b/vconsole.c
index fd3e1f5..1556606 100644
--- a/vconsole.c
+++ b/vconsole.c
@@ -607,23 +607,23 @@ static const GtkActionEntry entries[] = {
.callback = G_CALLBACK(menu_cb_vm_save),
},{
.name = "GuestReboot",
+ .stock_id = GTK_STOCK_REFRESH,
.label = "Reboot",
.tooltip = "Reboot guest",
.callback = G_CALLBACK(menu_cb_vm_reboot),
},{
.name = "GuestShutdown",
+ .stock_id = GTK_STOCK_MEDIA_STOP,
.label = "Shutdown",
.tooltip = "Shutdown guest",
.callback = G_CALLBACK(menu_cb_vm_shutdown),
},{
.name = "GuestReset",
- .stock_id = GTK_STOCK_REFRESH,
.label = "Reset",
.tooltip = "Reset guest",
.callback = G_CALLBACK(menu_cb_vm_reset),
},{
.name = "GuestKill",
- .stock_id = GTK_STOCK_MEDIA_STOP,
.label = "Destroy",
.tooltip = "Destroy guest",
.callback = G_CALLBACK(menu_cb_vm_kill),
@@ -708,9 +708,8 @@ static char ui_xml[] =
" <toolitem action='GuestRun'/>\n"
" <toolitem action='GuestPause'/>\n"
" <toolitem action='GuestSave'/>\n"
-" <separator/>\n"
-" <toolitem action='GuestReset'/>\n"
-" <toolitem action='GuestKill'/>\n"
+" <toolitem action='GuestReboot'/>\n"
+" <toolitem action='GuestShutdown'/>\n"
" </toolbar>\n"
"</ui>\n";