Re: [Planner Dev] Planner 0.12 Export as Planner v0.11 feature.



On ons, 2004-06-02 at 08:56 +0100, lincoln phipps openmutual net wrote:
> All ,
> 	attached is the following,

Nice, thanks!

diff -u -B -b -p -r1.5 main-window.ui
--- a/data/ui/main-window.ui    17 Apr 2004 15:02:27 -0000      1.5
+++ b/data/ui/main-window.ui    2 Jun 2004 07:41:35 -0000
@@ -32,7 +32,10 @@
       <separator/>
       <menuitem    name="FileSave"         verb=""  accel="*Control*s"/
>
       <menuitem    name="FileSaveAs"       verb=""/>
-      <placeholder name="Export placeholder" delimit="top"/>
+      <submenu    name="Export" _label="E_xport...">
+      <placeholder name="Export HTML placeholder" delimit="top"/>
+      <placeholder name="Export XML Planner placeholder" delimit="top"/
>
+      </submenu>
       <separator/>
       <menuitem    name="FilePrint"        verb=""  accel="*Control*p"/
>
       <menuitem    name="FilePrintPreview" verb=""/>


This is not entirely correct. The placeholder was right before, and
should be used to inject menu items into, something like:

   <submenu    name="Export" _label="E_xport...">
       <placeholder name="Export placeholder" delimit="top"/>
   </submenu>

and then the new ui file just does the same as the HTML export one does.
That should put both menu items in the export submenu.

/Richard

-- 
Imendio HB, http://www.imendio.com/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]