]> sigrok.org Git - sigrok-gtk.git/commitdiff
gtk: Use +/- to zoom in/out.
authorHåvard Espeland <redacted>
Tue, 24 Apr 2012 17:28:26 +0000 (19:28 +0200)
committerHåvard Espeland <redacted>
Tue, 24 Apr 2012 17:28:26 +0000 (19:28 +0200)
Convenient and intuitive.

toolbar.c

index b9a79784fe2a318280106775d4c00267ce5ecd08..f4f8a5def4b8b906855f30ce0d240588fe341771 100644 (file)
--- a/toolbar.c
+++ b/toolbar.c
@@ -485,9 +485,9 @@ static const GtkActionEntry action_items[] = {
                "Exit the program", G_CALLBACK(gtk_main_quit) },
 
        {"ViewMenu", NULL, "_View", NULL, NULL, NULL},
-       {"ViewZoomIn", GTK_STOCK_ZOOM_IN, "Zoom _In", "<control>z", NULL,
+       {"ViewZoomIn", GTK_STOCK_ZOOM_IN, "Zoom _In", "plus", NULL,
                G_CALLBACK(zoom_in)},
-       {"ViewZoomOut", GTK_STOCK_ZOOM_OUT, "Zoom _Out", "<control><shift>Z",
+       {"ViewZoomOut", GTK_STOCK_ZOOM_OUT, "Zoom _Out", "minus",
                NULL, G_CALLBACK(zoom_out)},
        {"ViewZoomFit", GTK_STOCK_ZOOM_FIT, NULL, NULL,
                NULL, G_CALLBACK(zoom_fit)},