Re: background



Hi Nickolay,

Thanks for the information.

Yeah, unfortunately I have to work with an ancient version because the
hardware vendor doesn't want to update their drivers :-( (They only
support CentOS/RHEL 3) and it's too much work to re-built eveything from
scratch for now....

Hans.


On Thu, 2006-09-07 at 09:04 +0400, Nickolay V. Shmyrev wrote:
> В Срд, 06/09/2006 в 13:24 +0200, Hans Kramer пишет:
> > Hi, 
> > 
> > I have an application in which we have two (high-res) gray scale monitors (:0.1, :0.2) in addition to the 
> > regular color monitor (:0.0). Now I want to disable to draw the background on desktop :0.1 and :0.2.
> > 
> > Were can I find the code that draws the background image in nautilus (2.2.4).
> > I couldn't find it in nautilus-desktop-window.c and libbackground/*.c doesn't seem to be used at all!
> > 
> > Thanks in advance for any pointers.
> > 
> > Hans.
> > 
> 
> Currently it's in eel
> 
> http://cvs.gnome.org/viewcvs/eel/eel/eel-background.c?rev=1.51&view=markup
> 
> You can filter backgrounds for display there for example. But I suspect
> it's easier to change them in nautilus.
> 
> But in old 2.2 days it was in
> 
> http://cvs.gnome.org/viewcvs/nautilus/libnautilus-private/nautilus-directory-background.c?rev=1.89&only_with_tag=NAUTILUS_2_2_4&view=markup
> 
> although even now some bits are there. You are interested in 
> 
> 	XChangeProperty (display, RootWindow (display, screen_num),
> 			 gdk_x11_get_xatom_by_name ("_XROOTPMAP_ID"), XA_PIXMAP,
> 			 32, PropModeReplace,
> 			 (guchar *) &pixmap_id, 1);
> 
> and surround
> -- 
> nautilus-list mailing list
> nautilus-list gnome org
> http://mail.gnome.org/mailman/listinfo/nautilus-list

Attachment: signature.asc
Description: This is a digitally signed message part



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