Commit 97cff74d authored by Jim Nelson's avatar Jim Nelson

#292: Menu item capitalization fixed. Now using Rotate Right/Left for menu labels.

parent 5d2301e5
......@@ -72,12 +72,12 @@ public class CollectionPage : CheckerboardPage {
{ "Remove", Gtk.STOCK_DELETE, "_Remove", "Delete", "Remove the selected photos from the library", on_remove },
{ "PhotosMenu", null, "_Photos", null, null, on_photos_menu },
{ "IncreaseSize", Gtk.STOCK_ZOOM_IN, "Zoom _in", "KP_Add", "Increase the magnification of the thumbnails", on_increase_size },
{ "DecreaseSize", Gtk.STOCK_ZOOM_OUT, "Zoom _out", "KP_Subtract", "Decrease the magnification of the thumbnails", on_decrease_size },
{ "RotateClockwise", STOCK_CLOCKWISE, "Rotate c_lockwise", "<Ctrl>R", "Rotate the selected photos clockwise", on_rotate_clockwise },
{ "RotateCounterclockwise", STOCK_COUNTERCLOCKWISE, "Rotate c_ounterclockwise", "<Ctrl><Shift>R", "Rotate the selected photos counterclockwise", on_rotate_counterclockwise },
{ "IncreaseSize", Gtk.STOCK_ZOOM_IN, "Zoom _In", "KP_Add", "Increase the magnification of the thumbnails", on_increase_size },
{ "DecreaseSize", Gtk.STOCK_ZOOM_OUT, "Zoom _Out", "KP_Subtract", "Decrease the magnification of the thumbnails", on_decrease_size },
{ "RotateClockwise", STOCK_CLOCKWISE, "Rotate _Right", "<Ctrl>R", "Rotate the selected photos clockwise", on_rotate_clockwise },
{ "RotateCounterclockwise", STOCK_COUNTERCLOCKWISE, "Rotate _Left", "<Ctrl><Shift>R", "Rotate the selected photos counterclockwise", on_rotate_counterclockwise },
{ "Mirror", null, "_Mirror", "<Ctrl>M", "Make mirror images of the selected photos", on_mirror },
{ "Revert", Gtk.STOCK_REVERT_TO_SAVED, "_Revert to Original", null, "Revert to original photo", on_revert },
{ "Revert", Gtk.STOCK_REVERT_TO_SAVED, "Re_vert to Original", null, "Revert to original photo", on_revert },
{ "ViewMenu", null, "_View", null, null, on_view_menu },
{ "SortPhotos", null, "_Sort Photos", null, null, null },
......
......@@ -114,15 +114,15 @@ public class PhotoPage : Page {
{ "FileMenu", null, "_File", null, null, null },
{ "ViewMenu", null, "_View", null, null, null },
{ "ReturnToPage", null, "_Return to collection", "Escape", null, on_return_to_collection },
{ "ReturnToPage", null, "_Return to Collection", "Escape", null, on_return_to_collection },
{ "PhotoMenu", null, "_Photo", null, null, on_photo_menu },
{ "PrevPhoto", Gtk.STOCK_GO_BACK, "_Previous Photo", null, "Previous Photo", on_previous_photo },
{ "NextPhoto", Gtk.STOCK_GO_FORWARD, "_Next Photo", null, "Next Photo", on_next_photo },
{ "RotateClockwise", STOCK_CLOCKWISE, "Rotate c_lockwise", "<Ctrl>R", "Rotate the selected photos clockwise", on_rotate_clockwise },
{ "RotateCounterclockwise", STOCK_COUNTERCLOCKWISE, "Rotate c_ounterclockwise", "<Ctrl><Shift>R", "Rotate the selected photos counterclockwise", on_rotate_counterclockwise },
{ "RotateClockwise", STOCK_CLOCKWISE, "Rotate _Right", "<Ctrl>R", "Rotate the selected photos clockwise", on_rotate_clockwise },
{ "RotateCounterclockwise", STOCK_COUNTERCLOCKWISE, "Rotate _Left", "<Ctrl><Shift>R", "Rotate the selected photos counterclockwise", on_rotate_counterclockwise },
{ "Mirror", null, "_Mirror", "<Ctrl>M", "Make mirror images of the selected photos", on_mirror },
{ "Revert", Gtk.STOCK_REVERT_TO_SAVED, "_Revert to Original", null, "Revert to the original photo", on_revert },
{ "Revert", Gtk.STOCK_REVERT_TO_SAVED, "Re_vert to Original", null, "Revert to the original photo", on_revert },
{ "HelpMenu", null, "_Help", null, null, null }
};
......@@ -138,7 +138,7 @@ public class PhotoPage : Page {
//
// rotate tool
rotate_button = new Gtk.ToolButton.from_stock(STOCK_CLOCKWISE);
rotate_button.label = "Rotate";
rotate_button.set_label("Rotate");
rotate_button.clicked += on_rotate_clockwise;
toolbar.insert(rotate_button, -1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment