[geany/geany] d9ead8: Make editor-related View menu items document-sensitive again

Matthew Brush git-noreply at xxxxx
Sat Apr 27 18:42:04 UTC 2013


Branch:      refs/heads/master
Author:      Matthew Brush <matt at geany.org>
Committer:   Matthew Brush <matt at geany.org>
Date:        Sat, 27 Apr 2013 18:42:04 UTC
Commit:      d9ead8591a7782fbdacabacd9b97a5cf0dbeb269
             https://github.com/geany/geany/commit/d9ead8591a7782fbdacabacd9b97a5cf0dbeb269

Log Message:
-----------
Make editor-related View menu items document-sensitive again

They used to be because their parent menu item (Editor) was
document-sensitive but now they are in the top of the View
menu they need to be invdividually made so.

TODO: should they really be/have been document-sensitive? They
can still change the pref without a document open and their
equivalent options in the Preferences dialog are not
document-sensitive? Same goes for existing "Change Font" item.


Modified Paths:
--------------
    src/ui_utils.c

Modified: src/ui_utils.c
6 files changed, 6 insertions(+), 0 deletions(-)
===================================================================
@@ -744,6 +744,12 @@ static void init_document_widgets(void)
 	add_doc_widget("menu_reload1");
 	add_doc_widget("menu_document1");
 	add_doc_widget("menu_choose_color1");
+	add_doc_widget("menu_color_schemes");
+	add_doc_widget("menu_markers_margin1");
+	add_doc_widget("menu_linenumber_margin1");
+	add_doc_widget("menu_show_white_space1");
+	add_doc_widget("menu_show_line_endings1");
+	add_doc_widget("menu_show_indentation_guides1");
 	add_doc_widget("menu_zoom_in1");
 	add_doc_widget("menu_zoom_out1");
 	add_doc_widget("normal_size1");



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list