On Wed, 2006-04-26 at 17:01 +0200, RUAUDEL Frédéric wrote: > I have a GUI config tool that allow a user to add new configuration. The > configurations are stored into GConf and with the notification mechanism > of GConf, my extension knows when new configs are added. Then it would > be great that in the notification callback of the extension I can call a > nautilus function to ask it to refresh the current selected menus.
That should work. > I have opened a feature request in Bugzilla, so we can add patches & > ideas there : > > http://bugzilla.gnome.org/show_bug.cgi?id=339273 > > I'm not sure I'm able to create such a patch but maybe if I have some > time to dive into nautilus' code, I will give it a try. Maybe if you > could just give me some hints on where the menu caching is managed in > the nautilus code (filename and/or some function names), I would > appreciate. Meanwhile, I'll glady take patches too :) src/nautilus-window-menus.c handles menus for the menus. The context menus are mostly handled in src/file-manager/fm-directory-view.c. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Alexander Larsson Red Hat, Inc [EMAIL PROTECTED] [EMAIL PROTECTED] He's a fast talking Republican Green Beret haunted by an iconic dead American confidante She's a foxy thirtysomething lawyer who dreams of becoming Elvis. They fight crime! -- nautilus-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/nautilus-list
