From a0732099401f67b1693a6701a647c55f691d4d56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Thu, 28 May 2009 20:22:12 +0000 Subject: [PATCH] Fix wrong sensitiveness of the Redo buttons (closes #2797862). git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3822 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- ChangeLog | 6 ++++++ src/ui_utils.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8c2c4b973..ee349e482 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-05-28 Enrico Tröger + + * src/ui_utils.c: + Fix wrong sensitiveness of the Redo buttons (closes #2797862). + + 2009-05-28 Frank Lanitz * THANKS, src/about.c, po/lb.po, po/LINGUAS: diff --git a/src/ui_utils.c b/src/ui_utils.c index 39a8ba662..a7eeb4cbb 100644 --- a/src/ui_utils.c +++ b/src/ui_utils.c @@ -361,7 +361,7 @@ void ui_update_popup_reundo_items(GeanyDocument *doc) len = G_N_ELEMENTS(widgets.redo_items); for (i = 0; i < len; i++) { - ui_widget_set_sensitive(widgets.redo_items[i], enable_undo); + ui_widget_set_sensitive(widgets.redo_items[i], enable_redo); } }