Keyboard shortcuts.

This commit is contained in:
Emil Martinec
2010-08-15 16:59:39 -05:00
parent 861703c7a3
commit 89dd765c40
4 changed files with 129 additions and 60 deletions

View File

@@ -68,10 +68,10 @@ ToolBar::ToolBar () : listener (NULL) {
cropConn = cropTool->signal_toggled().connect( sigc::mem_fun(*this, &ToolBar::crop_pressed));
straConn = straTool->signal_toggled().connect( sigc::mem_fun(*this, &ToolBar::stra_pressed));
handTool->set_tooltip_text (M("TOOLBAR_TOOLTIP_HAND"));
wbTool->set_tooltip_text (M("TOOLBAR_TOOLTIP_WB"));
cropTool->set_tooltip_text (M("TOOLBAR_TOOLTIP_CROP"));
straTool->set_tooltip_text (M("TOOLBAR_TOOLTIP_STRAIGHTEN"));
handTool->set_tooltip_markup (M("TOOLBAR_TOOLTIP_HAND"));
wbTool->set_tooltip_markup (M("TOOLBAR_TOOLTIP_WB"));
cropTool->set_tooltip_markup (M("TOOLBAR_TOOLTIP_CROP"));
straTool->set_tooltip_markup (M("TOOLBAR_TOOLTIP_STRAIGHTEN"));
}
//