Image navigation for single tab editor, synchronization of editor with file browser and improvements to various other shortcuts (see issue 47, comment 52). Thanks Hombre & DrSlony for help!

This commit is contained in:
michael
2013-04-06 18:38:23 -04:00
parent fae7971dcc
commit 1e4e8e97ab
22 changed files with 2571 additions and 108 deletions

View File

@@ -93,8 +93,9 @@ void ToolBar::setTool (ToolMode tool) {
handTool->set_active (true);
handTool->grab_focus();; // switch focus to the handTool button
}
else if (tool==TMSpotWB)
else if (tool==TMSpotWB) {
if (wbTool) wbTool->set_active (true);
}
else if (tool==TMCropSelect)
cropTool->set_active (true);
else if (tool==TMStraighten)
@@ -199,7 +200,7 @@ void ToolBar::stra_pressed () {
bool ToolBar::handleShortcutKey (GdkEventKey* event) {
bool ctrl = event->state & GDK_CONTROL_MASK;
bool shift = event->state & GDK_SHIFT_MASK;
//bool shift = event->state & GDK_SHIFT_MASK;
bool alt = event->state & GDK_MOD1_MASK;
if (!ctrl && !alt) {