Linux-Noob Forums
gdesklet script - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: General Stuff (https://www.linux-noob.com/forums/forum-4.html)
+--- Forum: General Chat (https://www.linux-noob.com/forums/forum-64.html)
+--- Thread: gdesklet script (/thread-2986.html)



gdesklet script - enigma - 2004-12-19




Code:
<?xml version="1.0" encoding="UTF-8"?>

<display window-flags="sticky,below">

  <meta author="Dave Masterson"
        name="Gmail Check (RDGBorder version)"
        version="0.3.1"
        category="Internet/Email"
        description="A Gmail new message notification desklet"
        preview="gfx/preview.png"/>

   <!-- initilise the sensor with three values: height,width,type of border -->
   <sensor id="gmc" module="GmailCheck"/>
   <sensor id="rdg" module="RDGBorder,40,170,3"/>    

   <!-- Border Images - don't change these -->
   <group watch="visible=rdg:sbr">
     <image watch="uri=rdg:tl,visible=rdg:show-top,image-width=rdg:left,image-height=rdg:top" x="0" y="0"/>
     <group watch="bg-uri=rdg:te,visible=rdg:show-top,x=rdg:left,width=rdg:width,height=rdg:top" y="0"/>
     <image watch="uri=rdg:tr,visible=rdg:show-top,x=rdg:rightedge,image-width=rdg:right,image-height=rdg:top" y="0"/>
     <image watch="uri=rdg:bl,visible=rdg:show-bottom,y=rdg:bottomedge,image-width=rdg:left,image-height=rdg:bottom" x="0"/>
     <group watch="bg-uri=rdg:be,visible=rdg:show-bottom,y=rdg:bottomedge,x=rdg:left,width=rdg:width,height=rdg:bottom"/>
     <image watch="uri=rdg:br,visible=rdg:show-bottom,y=rdg:bottomedge,x=rdg:rightedge,image-width=rdg:right,image-height=rdg:bottom"/>
     <group watch="bg-uri=rdg:le,y=rdg:top,width=rdg:left,height=rdg:height" x="0"/>
     <group watch="bg-uri=rdg:re,y=rdg:top,x=rdg:rightedge,width=rdg:right,height=rdg:height"/>
   </group>

   <!-- BG Image - don't change this -->
   <group watch="visible=rdg:sbg">
     <image watch="uri=rdg:bg,y=rdg:top,x=rdg:left,image-width=rdg:width,image-height=rdg:height"/>
   </group>

   <!-- put whatever you want the desklet to do in here -->
   <group watch="x=rdg:i-left,y=rdg:i-top,width=rdg:i-width,height=rdg:i-height">
     <image x="0" y="1"  image-height="30" uri="gfx/logo.gif"/>
     <label x="40" y="0"  watch="value=gmc:title,font=gmc:tf,color=gmc:tfc"/>
     <label x="40" y="15" watch="value=gmc:mailstring,font=gmc:df,color=gmc:dfc"/>
   </group>
</display>




 

this is a gdesklet.display file, I was wondering if it is possible to add an <a href> so i can just click the desklet and it will bring me to my inbox any advice would be great thanks :)