Hmm ill grep for "Folder" in all the .plugin.in files in the evolution/plugins/ folder. Then see wich ones are working, IF there are some that uses this type..
Yeah, ill see how it works. It, as i said, compiled fine, and i know that it ran fine in the earlier version of the CVS code that i had. And ill look for some documentation somewhere within the bonoboui or somewhere else. That may explain... Thanks /Nicklas On 7/18/05, Not Zed <[email protected]> wrote: > > If you look in ui/evolution-mail-global.xml it has the structure there. > For some odd reason the folder menu is done as a placeholder, which > makes no sense, then again half of those changes didn't make sense > anyway. > > It should be something like: > > <menu> > <submenu name="Folder"> > <menuitem ...> > </submenu> > </menu> > > But it may have to be something like: > > <menu> > <placeholder name="FolderPlaceholder"> > <submenu name="Folder"> > <menuitem ...> > > etc. > > I presume its documented somewhere in bonoboui, altough i never > understood it. > > The code shouldn't need changing, none of the hook versions have changed > - i guess see if it works. If it can't load you'll see a warning on the > command line. > > It may already be there in the ui, but in an 'empty' toplevel menu after > Help, if you're using that to see if it loaded. > > > > On Sat, 2005-07-16 at 22:36 +0000, smurfd wrote: > > Well, it has been a distinct change of how menus are structured in the > > CVS of evolution, since the last time i had a cvs version on my > > harddrive. (a couple of months back) > > > > Like, the right-click menu for folders in the "tree" with > > mail-folders. This is moved to the "Folders" menu, if im not entirely > > wrong.(most of the options atleast) > > > > My question though, is, i had this plugin sortof working, wich i had > > added an entry to the right-click menu, but this does not appear in > > the Folders menu. > > > > How would one put that in the .plugin file for my plugin, for it to > > appear in the Folders menu? > > Btw the option in the menu, Should appear, as long as the .plugin file > > is "make install":ed, right? > > > > ohh and i also think i remember a change of the plugin backend, right? > > Would this affect anything to a plugin itself, or is this never > > visible for the maker of the plugin, just visible in the make script? > > > > My .plugin.in file looks like this (oh yeah, the plugin does compile a > > .so library into the right location): > > > > <?xml version="1.0"?> > > <e-plugin-list> > > <e-plugin id="org.gnome.export.mail.folder" > > type="shlib" domain="evolution" name="Export Mail Folders" > > location="@PLUGINDIR@/liborg-gnome-export-mail-folder.so"> > > <description>Exports a folder and its subfolders to choosen place > > at the local harddrive.</description> > > <author name="Nicklas Boman" email="[EMAIL PROTECTED]"/> > > <hook class="org.gnome.evolution.mail.popup:1.0"> > > <menu id="org.gnome.evolution.mail.foldertree.popup" target="folder"> > > <item type="item" path="20.emc.03" label="_Export Folder..." > > activate="org_gnome_export_mail_folder"/> > > > > </menu> > > </hook> > > </e-plugin> > > </e-plugin-list> > > _______________________________________________ > > evolution-hackers maillist - [email protected] > > http://lists.ximian.com/mailman/listinfo/evolution-hackers > > _______________________________________________ evolution-hackers maillist - [email protected] http://lists.ximian.com/mailman/listinfo/evolution-hackers
