diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-08-15 23:50:13 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-08-15 23:50:13 +0200 |
commit | 47bc70887200629c1db3617c949f0d9c29bbf0dd (patch) | |
tree | 9a299b18cadd81b1b9cf5cbc22761f1b816d2271 | |
parent | 3ab79ed743f5574c3f9120c2892d377128e2d7bc (diff) | |
download | vconsole-47bc70887200629c1db3617c949f0d9c29bbf0dd.tar.gz |
more toolbar bits
-rw-r--r-- | vconsole.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -279,6 +279,7 @@ static const GtkActionEntry entries[] = { .name = "CloseTab", .stock_id = GTK_STOCK_CLOSE, .label = "Close _Tab", + .tooltip = "Close Tab", .accelerator = "<control>T", .callback = G_CALLBACK(menu_cb_close_tab), },{ @@ -309,6 +310,7 @@ static const GtkActionEntry entries[] = { .name = "GuestRun", .stock_id = GTK_STOCK_MEDIA_PLAY, .label = "Start", + .tooltip = "Start Guest", .callback = G_CALLBACK(menu_cb_vm_run), },{ @@ -353,6 +355,8 @@ static char ui_xml[] = " </menu>\n" " </menubar>\n" " <toolbar action='ToolBar'>" +" <toolitem action='CloseTab'/>\n" +" <separator/>\n" " <toolitem action='GuestRun'/>\n" " </toolbar>\n" "</ui>\n"; @@ -666,6 +670,7 @@ main(int argc, char *argv[]) win = vconsole_toplevel_create(); vconsole_tab_list_create(win); gtk_widget_show_all(win->toplevel); + gtk_widget_grab_focus(win->notebook); if (uri) connect_init(win, uri); |