From 00958379d40592570033d31dae32a27f39ebac8b Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Wed, 28 Oct 2009 11:06:31 +0000 Subject: [PATCH] Desensitize Edit->Commands menu item when no docs are open. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4383 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- ChangeLog | 6 ++++++ src/ui_utils.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index d9d20c88..c3d67f24 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-10-28 Nick Treleaven + + * src/ui_utils.c: + Desensitize Edit->Commands menu item when no docs are open. + + 2009-10-27 Nick Treleaven * src/editor.c: diff --git a/src/ui_utils.c b/src/ui_utils.c index eae163ba..d4230144 100644 --- a/src/ui_utils.c +++ b/src/ui_utils.c @@ -648,6 +648,7 @@ static void init_document_widgets(void) add_doc_widget("menu_select_all1"); add_doc_widget("insert_date1"); add_doc_widget("menu_format1"); + add_doc_widget("commands2"); add_doc_widget("menu_open_selected_file1"); add_doc_widget("page_setup1"); add_doc_widget("find1");