On 07/01/13 20:48, Colomban Wendling wrote: > Hi, > > Le 07/01/2013 20:24, vadim kochan a écrit : >> Hello, >> Seems after this commit >> Replace images embedded in the sources with proper themable icons >> https://github.com/geany/geany/commit/dabae1f94f13a85b672746aa0a177d3534048d9f >> >> some icons were disappeared if you run Geany on Win32 Os. I found that >> wscript which was changed copies for >> win32 only icons from "hicorol/16x16/apps" dictionary, but icons for >> "build", "save all" & few ones are located in "hicolor/16x16/actions" >> dictionary. I did a little fix, dont know if its a good solution but it >> works: >> >> diff --git a/wscript b/wscript >> index 4825f32..92acf5b 100644 >> --- a/wscript >> +++ b/wscript >> @@ -530,7 +530,7 @@ def build(bld): >> bld.install_files(template_dest, start_dir.ant_glob('**/*'), >> cwd=start_dir, relative_trick=True) >> # Icons >> for dest in geany_icons: >> - if is_win32 and dest != 'hicolor/16x16/apps': >> + if is_win32 and not (dest == 'hicolor/16x16/apps' or dest == >> 'hicolor/16x16/actions'): >> continue >> >> dest_dir = '${PREFIX}/share/icons' if is_win32 else >> os.path.join('${DATADIR}/icons/', dest) > > > Indeed you're right the check is incorrect, thanks for reporting that! > Actually, I tried to replicate a check that was here before, but I > failed to see I need to install the actions too. Though, we should also > install the actions at the other sizes, not only at 16x16… BTW, I'm > wondering why we installed only the 16x16 Geany icon on Windows before? > Enrico? Someone?
I don't remember whether there was a reason to not install the other icons. Based on experience with myself, I guess I just installed the 16x16 icons because I thought they were enough and I was too lazy to do the rest :). Seriously, I can't say why we installed only the 16x16 icons. > If there is no real reason, maybe we could just drop the check for win32 > and install all icons no matter the system? Yes, I think so too. Regards, Enrico -- Get my GPG key from http://www.uvena.de/pub.asc
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel