After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 313359 - macro changes do not apply until the applet is restarted
macro changes do not apply until the applet is restarted
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: mini-commander
2.10.x
Other All
: Normal normal
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
: 314849 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-08-12 19:55 UTC by Edward Rudd
Modified: 2005-08-30 16:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
cotton wool (1.42 KB, patch)
2005-08-21 02:38 UTC, Allison Karlitskaya (desrt)
committed Details | Review

Description Edward Rudd 2005-08-12 19:55:13 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.
Comment 1 Nicolas da Luz Duque 2005-08-18 15:35:20 UTC
I could always reproduce this bug, following the steps described.
Comment 2 Allison Karlitskaya (desrt) 2005-08-21 02:38:12 UTC
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
Comment 3 Danielle Madeley 2005-08-21 11:44:12 UTC
Hmm, how did that go missing. Apparently I suck.
Comment 4 Allison Karlitskaya (desrt) 2005-08-21 15:29:26 UTC
Fixed in HEAD.
Comment 5 Allison Karlitskaya (desrt) 2005-08-30 16:23:53 UTC
*** Bug 314849 has been marked as a duplicate of this bug. ***