GNOME Bugzilla – Bug 313359
macro changes do not apply until the applet is restarted
Last modified: 2005-08-30 16:23:53 UTC
Please describe the problem: macro changes do not apply until the applet is restarted Steps to reproduce: 1. right click on the applet button 2. choose "preferences" 3. click "macros" 4. add a new macro of "^man: *(.*)$" with command "konqueror man:\1" 5. click "Close" 6. type man:find in mini-commander and press enter Actual results: typing man:find yeild a (?)man:find response as though the command is unknown and does not exist. Expected results: to open konqueror displaying the man page for the find application. Does this happen every time? yes Other information: upon quiting mini-commander (removing from the panel) and adding it back in the man: macro works.
I could always reproduce this bug, following the steps described.
Created attachment 51046 [details] [review] cotton wool This regression was caused by the solution to bug 91194. The patch introduced to fix bug 91194 calls gconf_client_notify_add() without first calling gconf_client_add_dir() on the directory the keys are contained in. As a result, notifications weren't being delivered on changes to the global macro list keys. See: http://developer.gnome.org/doc/API/2.0/gconf/gconf-GConfClient.html#gconf-client-add-dir
Hmm, how did that go missing. Apparently I suck.
Fixed in HEAD.
*** Bug 314849 has been marked as a duplicate of this bug. ***