| Thread Previous • Date Previous • Date Next • Thread Next |
Hi again!
I think I've solved the problem. It wasn't a programming problem, it
was a packaging one! :-)
I was very confused at first because I was able to get some other
icons for Humanity and Humanity Dark themes with lookup_icon(), but it
failed with the Genesis ones. The problem was the icon cache, which
wasn't refreshed after installing the package. I was able to refresh
it manually for Humanity theme calling 'gtk-update-icon-cache
/usr/share/icons/Humanity', and after googling a little I found the
debhelper's program dh_icons. The only change necessary was to add a
call for 'dh_icons' in debian/rules file. Then when calling
'dpkg-buildpackage' it will automatically generate in the file
debian/rules the necessary call to gtk-update-icon-cache in order to
refresh the icon theme cache.
I've made and attached you a patch for this, you can applied it with
'bzr merge genesis.patch'.
I like the new icon tray theme, but IMHO the curved arrow should be
thinner and the pipe underneath a little bigger, because the pipe
looks like a shadow more than a pipe. But it's just a suggestion, as
you prefer :-)
Cheers!!!
2009/11/24 David Castellanos <davidcaste@xxxxxxxxx>:
> Hi Frederick
>
> I've created a Debian package, and installed it into a freshly
> installed Ubuntu Karmic. When running Genesis it uses the hicolor
> icons. No console messages. I'm not able to test it further here nor
> debug it, but tonight at home I'll work on that.
>
> Cheers!
>
> 2009/11/24 David Castellanos <davidcaste@xxxxxxxxx>:
>> Hi!
>>
>> I've been very very busy, and I have not been able to review it, sorry
>> :-S. I've tried to install it through the "python setup.py install"
>> way, and the tray icon wasn't found. Tomorrow I'll try to test it
>> further, sorry again :-S
>>
>> Cheers!!!
>>
>>
>> 2009/11/21 Frederik Elwert <frederik.elwert@xxxxxx>:
>>> Hi!
>>>
>>> I just checked in new icons for Humanity-Dark and a separate icon for
>>> the notification bubbles. I just have a problem with the Humanity-Dark
>>> icon theme: the icons seem to get installed into the right location, but
>>> they aren’t used when Humanity-Dark is the active icon theme.
>>>
>>> This can be checked easily in a python session. So after selecting
>>> Humanity-Dark as the icon theme, just do this:
>>>
>>> import gtk
>>> t = gtk.icon_theme_get_default()
>>> i = t.lookup_icon('genesis-idle', 22, 0)
>>> i.get_filename()
>>>
>>> I always get back the Humanity icon, not the one from Humanity-Dark,
>>> although it should be in place.
>>>
>>> Any ideas what I’m doing wrong?
>>>
>>> Cheers,
>>> Frederik
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~genesis-devs
>>> Post to : genesis-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~genesis-devs
>>> More help : https://help.launchpad.net/ListHelp
>>>
>>
>
# Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: davidcaste@xxxxxxxxx-20091124160031-bzjjditoyitk5mq3 # target_branch: file:///home/david/workspace/genesis-repo/genesis-\ # trunk/ # testament_sha1: 3a7f7bcaae0f9b385aa68bb63d5d62171b886e81 # timestamp: 2009-11-24 17:01:17 +0100 # base_revision_id: frederik@frederik-laptop-20091123220735-\ # omw9xk54h8qtwevy # # Begin patch === modified file 'debian/rules' --- debian/rules 2008-11-12 22:03:22 +0000 +++ debian/rules 2009-11-24 16:00:31 +0000 @@ -9,3 +9,4 @@ binary-install/genesis-sync:: dh_desktop dh_pycentral + dh_icons # Begin bundle IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWZdB5/MAAVdfgAAwUOP/934A CAC////wUAM7wEi2ABEm1BoEeoMmEYBNqYTTAnqDAAAAADQaANANAMiamaRNTYaoDRoyYgDR6hkD AAAAADQaANANAJJCaDRGJppkaJpoj0KeoeNJPFEsyv6BvpgIqglaqku8KmhisNtVu2iIm/0P00U0 Ki3T1Ow86/8+53/LImtpZq5bbuicwpsznbhAl2XYUVErFfRt73r38FjZfT2StlG118ERbiL3NQTM gfyi9SEzF8XrR3symRP1cgg9ULMg6tzF73L9UpaVbDlzntCkNaCaL0Keuy7D+r03GnDAXXUd+msq WR3m7GRcPTskJko5wHgypQssh2xz1qnmDd70T51r5Rt4W8ED8c1lDYpTmKtx+VLcMfWvg/PjSrBc dTXkI4lCmr3y3lBMbDmmfBUqyvNxyVSdVXNMKE9tQnbYW4ysVSvKxurGd17MFOlNllYEJJchkgHX phi2EQrB4TbE6znGDEBwjmnbOtBZoMq5qM1HvjnZCkFlNQ6lJIwkBKdufU8eFPhePZsfXLiEEs2q ZMfFcIO3krII7oPMMHhgcMT8nwMP3yLIFnQNqX6uqcQOQU1I8EvildtQHheazncSz8RaLpGLolSo ZJ31A24QbzSrcb1uUk9rMqmSZY9i7hdEvrHeEzZU1XhyfvdSvZzxlaTl8ahi/sC+NSay/MUnFQbU L0EJzWApRMAXmCW78LogAIqkOouq/34C3j/HF1tZtTKrbN1el96Y3Mt92ZIOy41qG4wPL2MOPQhB 5lqOullrHl9gyJIZyXzr9VmO3hGuSwL8eg2v8OXq5OAdPYopXJbVA2fwLPzG594SawOQni0lNy4r zF0FszxzTuqqE8MgZLeGlgWPD9ukomje4aY0Pn9BejeSXNUcKjKMIHwJ6mg4Zjm54ZwsfbqiTEyJ mTLvz3f6te8CSnDg8hFMwULzcqZOEyv5q7YzJ5Ce6FymFarE+5UBlrutAiirLUU6MlUrn2wIe/sz ResJnMOYstU3GFhuaucIOiu95aBFDVM3M3S9EyT2pvO6i3GRdaKfBVBqUBNfQ5P+lfANzT1RnViD YFyZd3BbE/omWpVris9opWGgqP/F3JFOFCQl0Hn8wA==
| Thread Previous • Date Previous • Date Next • Thread Next |