Re: background



В Срд, 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

Attachment: signature.asc
Description: =?koi8-r?Q?=FC=D4=C1?= =?koi8-r?Q?_=DE=C1=D3=D4=D8?= =?koi8-r?Q?_=D3=CF=CF=C2=DD=C5=CE=C9=D1?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=C1=CE=C1?= =?koi8-r?Q?_=C3=C9=C6=D2=CF=D7=CF=CA?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=D8=C0?=



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