diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-04-08 10:38:23 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-04-08 10:38:23 +0200 |
commit | ec769a41ff0ce34d345eea50d0a779c076f0b227 (patch) | |
tree | f63b8e71c517f8400430527c04f64e32daeb21a4 /sfx2/workben | |
parent | 00d1c0a39e21071c94c230dbb27578347f8e6fc3 (diff) |
slidecopy: respect the ImageURL property for custom tool panels
Diffstat (limited to 'sfx2/workben')
-rw-r--r-- | sfx2/workben/custompanel/WriterWindowState.xcu | 3 | ||||
-rw-r--r-- | sfx2/workben/custompanel/makefile.mk | 14 | ||||
-rw-r--r-- | sfx2/workben/custompanel/manifest.xml | 2 | ||||
-rw-r--r-- | sfx2/workben/custompanel/panel.png | bin | 0 -> 202 bytes |
4 files changed, 17 insertions, 2 deletions
diff --git a/sfx2/workben/custompanel/WriterWindowState.xcu b/sfx2/workben/custompanel/WriterWindowState.xcu index 1110d8a6fdaa..79f71e8736f8 100644 --- a/sfx2/workben/custompanel/WriterWindowState.xcu +++ b/sfx2/workben/custompanel/WriterWindowState.xcu @@ -9,6 +9,9 @@ <prop oor:name="Visible" oor:type="xs:boolean"> <value>true</value> </prop> + <prop oor:name="ImageURL" oor:type="xs:string"> + <value>vnd.sun.star.extension://UPDATED_IDENTIFIER/panel.png</value> + </prop> </node> </node> </node> diff --git a/sfx2/workben/custompanel/makefile.mk b/sfx2/workben/custompanel/makefile.mk index b31625b1b9ab..c90fcc6cf444 100644 --- a/sfx2/workben/custompanel/makefile.mk +++ b/sfx2/workben/custompanel/makefile.mk @@ -82,13 +82,23 @@ COMPONENT_XCU = \ $(EXTENSIONDIR)/Factories.xcu COMPONENT_LIBRARIES = \ - $(EXTENSIONDIR)$/$(SHL1TARGET)$(DLLPOST) + $(EXTENSIONDIR)/$(SHL1TARGET)$(DLLPOST) + +COMPONENT_IMAGES= \ + $(EXTENSIONDIR)/panel.png # ........ dependencies for packaging the extension ........ -EXTENSION_PACKDEPS=makefile.mk +EXTENSION_PACKDEPS=makefile.mk $(COMPONENT_IMAGES) # --- Targets ------------------------------------------------------ .INCLUDE : extension_pre.mk .INCLUDE : target.mk .INCLUDE : extension_post.mk +$(EXTENSIONDIR)/%.png : ./%.png + @@-$(MKDIRHIER) $(@:d) + @$(COPY) $< $@ > $(NULLDEV) + +$(EXTENSIONDIR)/WriterWindowState.xcu: ./WriterWindowState.xcu + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(TYPE) ./WriterWindowState.xcu | sed s/UPDATED_IDENTIFIER/$(IMPLEMENTATION_IDENTIFIER)/ > $(EXTENSIONDIR)/WriterWindowState.xcu diff --git a/sfx2/workben/custompanel/manifest.xml b/sfx2/workben/custompanel/manifest.xml index b57e3a8fbe0d..1089f8b6fd59 100644 --- a/sfx2/workben/custompanel/manifest.xml +++ b/sfx2/workben/custompanel/manifest.xml @@ -7,4 +7,6 @@ manifest:full-path="WriterWindowState.xcu"/> <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="Factories.xcu"/> + <!-- <manifest:file-entry manifest:media-type="image/png" + manifest:full-path="panel.png"/>--> </manifest:manifest> diff --git a/sfx2/workben/custompanel/panel.png b/sfx2/workben/custompanel/panel.png Binary files differnew file mode 100644 index 000000000000..2438714af8a6 --- /dev/null +++ b/sfx2/workben/custompanel/panel.png |