diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-05-31 12:09:07 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-05-31 12:09:07 +0200 |
commit | b0e51de6224017d9cc003e76ab98660ce252c7cc (patch) | |
tree | 9176e6ea780b9bddf8e079965aa18fb757b629c8 | |
parent | e2a8c191c4949e9ed78cd4eaa0da1d7ebeb02299 (diff) | |
download | vconsole-b0e51de6224017d9cc003e76ab98660ce252c7cc.tar.gz |
zap reset+kill from toolbar, add reboot+shutdown instead
-rw-r--r-- | vconsole.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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"; |