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

Re: From where anaconda gets images of release notes? RH9



Zdenek Pizl wrote:
> 
> Hi,

hi,

> 
>  From where anaconda gets images of release notes when building iso images?
> I thought that it gets them from /usr/share/anaconda/pixmaps/rnotes/ directory
> of the installed RH9 building system. But after a test, when i've created
> customs CDs, it is clear it is not true.

/usr/share/anaconda/pixmaps/rnotes/{*.png,*/*.png}
in anaconda-images source tree: rnotes/{*.png,*/*.png}

> 
> I'm not able to find it in sources :( Could someone explain it and help me ?
> 

in anaconda source tree: iw/progress_gui.py

[...]
        pixmaps1 =
glob.glob("/usr/share/anaconda/pixmaps/rnotes/%s/*.png" % (shortlan
g,))

        if len(pixmaps1) <= 0:
            pixmaps1 =
glob.glob("/usr/share/anaconda/pixmaps/rnotes/%s/*.png" % (long
lang,))

        if len(pixmaps1) <= 0:
            # for beta try top level w/o lang
            pixmaps1 =
glob.glob("/usr/share/anaconda/pixmaps/rnotes/*.png")

        if len(pixmaps1) > 0:
            files = pixmaps1
        else:
            files = ["progress_first.png"]

        #--Need to merge with if statement above...don't show ads in
lowres
        if intf.runres != '800x600':
            files = ["progress_first.png"]
[...]

-- 
Alain




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