X-Git-Url: https://git.donarmstrong.com/?p=xournal.git;a=blobdiff_plain;f=src%2Fxo-file.c;fp=src%2Fxo-file.c;h=082d399f36c3d4d26ae9bc7970d9a685ae091cb6;hp=129ba87873f8cf920491278c554178bfb9cccbf9;hb=9f09269d8918dfa930543f4a15de4e7276719e5e;hpb=c33ae4cb8af712159f96db55e8229589258c45fe diff --git a/src/xo-file.c b/src/xo-file.c index 129ba87..082d399 100644 --- a/src/xo-file.c +++ b/src/xo-file.c @@ -45,7 +45,7 @@ #include "xo-paint.h" #include "xo-image.h" -const char *tool_names[NUM_TOOLS] = {"pen", "eraser", "highlighter", "text", "", "selectrect", "vertspace", "hand", "image"}; +const char *tool_names[NUM_TOOLS] = {"pen", "eraser", "highlighter", "text", "selectregion", "selectrect", "vertspace", "hand", "image"}; const char *color_names[COLOR_MAX] = {"black", "blue", "red", "green", "gray", "lightblue", "lightgreen", "magenta", "orange", "yellow", "white"}; const char *bgtype_names[3] = {"solid", "pixmap", "pdf"}; @@ -1709,7 +1709,7 @@ void save_config_to_file(void) g_strdup_printf("%d", PDFTOPPM_PRINTING_DPI)); update_keyval("tools", "startup_tool", - _(" selected tool at startup (pen, eraser, highlighter, selectrect, vertspace, hand)"), + _(" selected tool at startup (pen, eraser, highlighter, selectregion, selectrect, vertspace, hand, image)"), g_strdup(tool_names[ui.startuptool])); update_keyval("tools", "pen_color", _(" default pen color"), @@ -1746,7 +1746,7 @@ void save_config_to_file(void) _(" default highlighter is in shape recognizer mode (true/false)"), g_strdup(ui.default_brushes[TOOL_HIGHLIGHTER].recognizer?"true":"false")); update_keyval("tools", "btn2_tool", - _(" button 2 tool (pen, eraser, highlighter, text, selectrect, vertspace, hand)"), + _(" button 2 tool (pen, eraser, highlighter, text, selectregion, selectrect, vertspace, hand, image)"), g_strdup(tool_names[ui.toolno[1]])); update_keyval("tools", "btn2_linked", _(" button 2 brush linked to primary brush (true/false) (overrides all other settings)"), @@ -1774,7 +1774,7 @@ void save_config_to_file(void) _(" button 2 eraser mode (eraser only)"), g_strdup_printf("%d", ui.brushes[1][TOOL_ERASER].tool_options)); update_keyval("tools", "btn3_tool", - _(" button 3 tool (pen, eraser, highlighter, text, selectrect, vertspace, hand)"), + _(" button 3 tool (pen, eraser, highlighter, text, selectregion, selectrect, vertspace, hand, image)"), g_strdup(tool_names[ui.toolno[2]])); update_keyval("tools", "btn3_linked", _(" button 3 brush linked to primary brush (true/false) (overrides all other settings)"),