В Срд, 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: Эта часть сообщения подписана цифровой подписью

-- 
nautilus-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/nautilus-list

Reply via email to