Kaydet (Commit) ffebb43c authored tarafından Enrico Tröger's avatar Enrico Tröger

Remove tooltips from menu items.

Don't use full stops in tooltips for short sentences.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3470 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst de30d056
......@@ -3,6 +3,10 @@
* src/main.c, doc/geany.txt, doc/geany.html, doc/geany.1.in:
Rename command line option --debug to --verbose.
Change short form of --version from -v to -V.
* geany.glade, src/dialogs.c, src/interface.c, src/printing.c,
src/search.c, src/vte.c:
Remove tooltips from menu items.
Don't use full stops in tooltips for short sentences.
2009-01-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
......
......@@ -1660,6 +1660,14 @@ This is for visual elements displayed in the editor window.
Display
```````
Invert syntax highlighting colors
Use white text on a black background and invert all colors.
If the ``invert_all`` setting in ``filetypes.common`` is set, this
option is always enabled. See `Special file filetypes.common`_
for details.
This option requires a restart of Geany. The value of this option
Show indendation guides
Show vertical lines to help show how much leading indentation there
is on each line.
......@@ -1672,6 +1680,11 @@ Show line endings
Displays a symbol everywhere that a carriage return or line feed
is present.
Show line numbers
Show markers margin
Stop scrolling at last line
When enabled Geany stops scrolling when at the last line of the document.
Otherwise you can scroll one more page even if there are no real lines.
......
This diff is collapsed.
......@@ -483,7 +483,7 @@ static void create_save_file_dialog(void)
rename_btn = gtk_dialog_add_button(GTK_DIALOG(ui_widgets.save_filesel), _("R_ename"),
GEANY_RESPONSE_RENAME);
ui_widget_set_tooltip_text(rename_btn, _("Save the file and rename it."));
ui_widget_set_tooltip_text(rename_btn, _("Save the file and rename it"));
gtk_dialog_add_buttons(GTK_DIALOG(ui_widgets.save_filesel),
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
......@@ -494,7 +494,7 @@ static void create_save_file_dialog(void)
check_open_new_tab = gtk_check_button_new_with_mnemonic(_("_Open file in a new tab"));
ui_widget_set_tooltip_text(check_open_new_tab,
_("Keep the current unsaved document open"
" and open the newly saved file in a new tab."));
" and open the newly saved file in a new tab"));
gtk_box_pack_start(GTK_BOX(vbox), check_open_new_tab, FALSE, FALSE, 0);
gtk_widget_show_all(vbox);
gtk_file_chooser_set_extra_widget(GTK_FILE_CHOOSER(ui_widgets.save_filesel), vbox);
......
This diff is collapsed.
......@@ -341,12 +341,12 @@ static GtkWidget *create_custom_widget(GtkPrintOperation *operation, gpointer us
w->check_print_linenumbers = gtk_check_button_new_with_mnemonic(_("Print line numbers"));
gtk_box_pack_start(GTK_BOX(page), w->check_print_linenumbers, FALSE, FALSE, 0);
ui_widget_set_tooltip_text(w->check_print_linenumbers, _("Add line numbers to the printed page."));
ui_widget_set_tooltip_text(w->check_print_linenumbers, _("Add line numbers to the printed page"));
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(w->check_print_linenumbers), printing_prefs.print_line_numbers);
w->check_print_pagenumbers = gtk_check_button_new_with_mnemonic(_("Print page numbers"));
gtk_box_pack_start(GTK_BOX(page), w->check_print_pagenumbers, FALSE, FALSE, 0);
ui_widget_set_tooltip_text(w->check_print_pagenumbers, _("Add page numbers at the bottom of each page. It takes 2 lines of the page."));
ui_widget_set_tooltip_text(w->check_print_pagenumbers, _("Add page numbers at the bottom of each page. It takes 2 lines of the page"));
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(w->check_print_pagenumbers), printing_prefs.print_page_numbers);
w->check_print_pageheader = gtk_check_button_new_with_mnemonic(_("Print page header"));
......@@ -369,7 +369,7 @@ static GtkWidget *create_custom_widget(GtkPrintOperation *operation, gpointer us
w->check_print_basename = gtk_check_button_new_with_mnemonic(_("Use the basename of the printed file"));
gtk_box_pack_start(GTK_BOX(vbox30), w->check_print_basename, FALSE, FALSE, 0);
ui_widget_set_tooltip_text(w->check_print_basename, _("Print only the basename(without the path) of the printed file."));
ui_widget_set_tooltip_text(w->check_print_basename, _("Print only the basename(without the path) of the printed file"));
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(w->check_print_basename), printing_prefs.page_header_basename);
hbox10 = gtk_hbox_new(FALSE, 5);
......
......@@ -217,7 +217,7 @@ static GtkWidget *add_find_checkboxes(GtkDialog *dialog)
gtk_button_set_focus_on_click(GTK_BUTTON(checkbox7), FALSE);
ui_widget_set_tooltip_text(checkbox7,
_("Replace \\\\, \\t, \\n, \\r and \\uXXXX (Unicode chararacters) with the "
"corresponding control characters."));
"corresponding control characters"));
/* Search features */
fbox = gtk_vbox_new(FALSE, 0);
......@@ -399,7 +399,7 @@ void search_show_find_dialog(void)
button = gtk_button_new_with_mnemonic(_("_Mark"));
ui_widget_set_tooltip_text(button,
_("Mark all matches in the current document."));
_("Mark all matches in the current document"));
gtk_container_add(GTK_CONTAINER(bbox), button);
g_signal_connect(button, "clicked", G_CALLBACK(send_find_dialog_response),
GINT_TO_POINTER(GEANY_RESPONSE_MARK));
......@@ -420,7 +420,7 @@ void search_show_find_dialog(void)
g_object_ref(check_close), (GDestroyNotify) g_object_unref);
gtk_button_set_focus_on_click(GTK_BUTTON(check_close), FALSE);
ui_widget_set_tooltip_text(check_close,
_("Disable this option to keep the dialog open."));
_("Disable this option to keep the dialog open"));
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check_close), TRUE);
gtk_container_add(GTK_CONTAINER(bbox), check_close);
gtk_button_box_set_child_secondary(GTK_BUTTON_BOX(bbox), check_close, TRUE);
......@@ -565,7 +565,7 @@ void search_show_replace_dialog(void)
g_object_ref(check_close), (GDestroyNotify) g_object_unref);
gtk_button_set_focus_on_click(GTK_BUTTON(check_close), FALSE);
ui_widget_set_tooltip_text(check_close,
_("Disable this option to keep the dialog open."));
_("Disable this option to keep the dialog open"));
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check_close), TRUE);
gtk_container_add(GTK_CONTAINER(bbox), check_close);
gtk_button_box_set_child_secondary(GTK_BUTTON_BOX(bbox), check_close, TRUE);
......@@ -690,7 +690,7 @@ static void create_fif_dialog(void)
_("_Grep regular expressions"));
g_object_set_data_full(G_OBJECT(widgets.find_in_files_dialog), "radio_grep",
g_object_ref(rbtn), (GDestroyNotify)g_object_unref);
ui_widget_set_tooltip_text(rbtn, _("See grep's manual page for more information."));
ui_widget_set_tooltip_text(rbtn, _("See grep's manual page for more information"));
gtk_button_set_focus_on_click(GTK_BUTTON(rbtn), FALSE);
gtk_container_add(GTK_CONTAINER(rbox), rbtn);
......@@ -698,7 +698,7 @@ static void create_fif_dialog(void)
_("_Extended regular expressions"));
g_object_set_data_full(G_OBJECT(widgets.find_in_files_dialog), "radio_egrep",
g_object_ref(rbtn), (GDestroyNotify)g_object_unref);
ui_widget_set_tooltip_text(rbtn, _("See grep's manual page for more information."));
ui_widget_set_tooltip_text(rbtn, _("See grep's manual page for more information"));
gtk_button_set_focus_on_click(GTK_BUTTON(rbtn), FALSE);
gtk_container_add(GTK_CONTAINER(rbox), rbtn);
......
......@@ -731,7 +731,7 @@ void vte_append_preferences_tab(void)
gtk_table_attach(GTK_TABLE(table), font_term, 1, 2, 0, 1,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
ui_widget_set_tooltip_text(font_term, _("Sets the font for the terminal widget."));
ui_widget_set_tooltip_text(font_term, _("Sets the font for the terminal widget"));
label = gtk_label_new(_("Foreground color:"));
gtk_table_attach(GTK_TABLE(table), label, 0, 1, 1, 2,
......@@ -749,14 +749,14 @@ void vte_append_preferences_tab(void)
gtk_table_attach(GTK_TABLE(table), color_fore, 1, 2, 1, 2,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
ui_widget_set_tooltip_text(color_fore, _("Sets the foreground color of the text in the terminal widget."));
ui_widget_set_tooltip_text(color_fore, _("Sets the foreground color of the text in the terminal widget"));
gtk_color_button_set_title(GTK_COLOR_BUTTON(color_fore), _("Color Chooser"));
color_back = gtk_color_button_new();
gtk_table_attach(GTK_TABLE(table), color_back, 1, 2, 2, 3,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
ui_widget_set_tooltip_text(color_back, _("Sets the background color of the text in the terminal widget."));
ui_widget_set_tooltip_text(color_back, _("Sets the background color of the text in the terminal widget"));
gtk_color_button_set_title(GTK_COLOR_BUTTON(color_back), _("Color Chooser"));
label = gtk_label_new(_("Scrollback lines:"));
......@@ -770,7 +770,7 @@ void vte_append_preferences_tab(void)
gtk_table_attach(GTK_TABLE(table), spin_scrollback, 1, 2, 3, 4,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
ui_widget_set_tooltip_text(spin_scrollback, _("Specifies the history in lines, which you can scroll back in the terminal widget."));
ui_widget_set_tooltip_text(spin_scrollback, _("Specifies the history in lines, which you can scroll back in the terminal widget"));
gtk_spin_button_set_numeric(GTK_SPIN_BUTTON(spin_scrollback), TRUE);
gtk_spin_button_set_wrap(GTK_SPIN_BUTTON(spin_scrollback), TRUE);
......@@ -781,7 +781,7 @@ void vte_append_preferences_tab(void)
gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
entry_shell = gtk_entry_new();
ui_widget_set_tooltip_text(entry_shell, _("Sets the path to the shell which should be started inside the terminal emulation."));
ui_widget_set_tooltip_text(entry_shell, _("Sets the path to the shell which should be started inside the terminal emulation"));
button_shell = gtk_button_new();
gtk_widget_show(button_shell);
......@@ -799,11 +799,11 @@ void vte_append_preferences_tab(void)
box = gtk_vbox_new(FALSE, 3);
check_scroll_key = gtk_check_button_new_with_mnemonic(_("Scroll on keystroke"));
ui_widget_set_tooltip_text(check_scroll_key, _("Whether to scroll to the bottom if a key was pressed."));
ui_widget_set_tooltip_text(check_scroll_key, _("Whether to scroll to the bottom if a key was pressed"));
gtk_container_add(GTK_CONTAINER(box), check_scroll_key);
check_scroll_out = gtk_check_button_new_with_mnemonic(_("Scroll on output"));
ui_widget_set_tooltip_text(check_scroll_out, _("Whether to scroll to the bottom when output is generated."));
ui_widget_set_tooltip_text(check_scroll_out, _("Whether to scroll to the bottom when output is generated"));
gtk_container_add(GTK_CONTAINER(box), check_scroll_out);
check_cursor_blinks = gtk_check_button_new_with_mnemonic(_("Cursor blinks"));
......@@ -812,7 +812,7 @@ void vte_append_preferences_tab(void)
check_enable_bash_keys = gtk_check_button_new_with_mnemonic(_("Override Geany keybindings"));
ui_widget_set_tooltip_text(check_enable_bash_keys,
_("Allows the VTE to receive keyboard shortcuts (apart from focus commands)."));
_("Allows the VTE to receive keyboard shortcuts (apart from focus commands)"));
gtk_container_add(GTK_CONTAINER(box), check_enable_bash_keys);
check_ignore_menu_key = gtk_check_button_new_with_mnemonic(_("Disable menu shortcut key (F10 by default)"));
......@@ -820,17 +820,17 @@ void vte_append_preferences_tab(void)
gtk_container_add(GTK_CONTAINER(box), check_ignore_menu_key);
check_follow_path = gtk_check_button_new_with_mnemonic(_("Follow the path of the current file"));
ui_widget_set_tooltip_text(check_follow_path, _("Whether to execute \"cd $path\" when you switch between opened files."));
ui_widget_set_tooltip_text(check_follow_path, _("Whether to execute \"cd $path\" when you switch between opened files"));
gtk_container_add(GTK_CONTAINER(box), check_follow_path);
/* create check_skip_script checkbox before the check_skip_script checkbox to be able to
* use the object for the toggled handler of check_skip_script checkbox */
check_skip_script = gtk_check_button_new_with_mnemonic(_("Don't use run script"));
ui_widget_set_tooltip_text(check_skip_script, _("Don't use the simple run script which is usually used to display the exit status of the executed program."));
ui_widget_set_tooltip_text(check_skip_script, _("Don't use the simple run script which is usually used to display the exit status of the executed program"));
gtk_widget_set_sensitive(check_skip_script, vc->run_in_vte);
check_run_in_vte = gtk_check_button_new_with_mnemonic(_("Execute programs in VTE"));
ui_widget_set_tooltip_text(check_run_in_vte, _("Run programs in VTE instead of opening a terminal emulation window. Please note, programs executed in VTE cannot be stopped."));
ui_widget_set_tooltip_text(check_run_in_vte, _("Run programs in VTE instead of opening a terminal emulation window. Please note, programs executed in VTE cannot be stopped"));
gtk_container_add(GTK_CONTAINER(box), check_run_in_vte);
g_signal_connect(check_run_in_vte, "toggled",
G_CALLBACK(check_run_in_vte_toggled), check_skip_script);
......
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