Re: diskusage widget for panel



> yes, but when you have the panel on the left or right, horizontal is
> better :) (also, the volume control applet should change to horizontal
> orientation when the panel is vertical)
> 
> I'll try to make horizontal/vertical an option.
> 
> Can i check if the panel is horizontal/vertical orientation somehow (so
> that applet can default to h/v bars) ?

yup there is a signal on applet-widget that does this, check the clock
applet .... and make sure you bind the signal before you do
applet_widget_add since then you will get an initial oriant change
signal so you can set the orientation on startup ... the clock applet
has all this ...

George

-- 
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
  The following implements RSA in perl and is illegal to export from the US:

          #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
          $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
          lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)



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