Red Hat Bugzilla – Bug 71762
a bug within a condition expression in clock.c
Last modified: 2008-05-01 11:38:03 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.1b) Gecko/20020722
Description of problem:
In file clock.c near line 370 in function close_on_escape, the condition
expression "event->keyval = GDK_Escape" should be "event->keyval == GDK_Escape".
Note the misuse of assignment operator.This make calendar popup window can be
closed by any key stroke.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Click the clock applet on a panel to popup the Calendar window
2.push any key but the escape key
Actual Results: the popup window disappeared as soon as you pushed down a key
although the key you pushed wasn't the escape key.
Expected Results: the popup window only close when you push down escape key.
Oops, thanks for tracking this down.
fix applied in 2.0.5-6
I mean 2.0.6-6
Fix confirmed with gnome-panel-2.0.6-6.