![]() |
Pygtk weird behavior; no buttons/labels background, just text.
Today I just realized that all python applications (in my n900) that use pygtk, (e.g. pygtkeditor, n900fly, accdisplay.. ) are with their themes screwed up.
Menu of pygtkeditor, note the absence of the bg http://static.pixelpipe.com/c9928a2a...c75c5d6c_m.jpg Trying to search something in pygtkeditor http://static.pixelpipe.com/37ee29ec...a100b9dd_m.jpg (if you enter text, you can see the auto-complete text but not the already entered chars) To get it even weirder, all normal apps (non-pygtk) are ok. e.g: Xterm menu: http://static.pixelpipe.com/875b255d...a3e5cb6b_m.jpg I already tried removing python-gtk (which removed all this "affected" apps) and installing again to no avail.. python-gtk2 and everything else is from extras (AFAIK). Maybe related: I installed "Reflect Theme".. This issue MAY be related to this thread but since what I'm experiencing is way worse and more global I'm creating this new thread Anyone knows any pygtk - specific confs (something like .pygtk)? Anyone has any clue? Thanks in advance! |
Re: Pygtk weird behavior; no buttons/labels background, just text.
SO.. just to put some heat on this..
I already changed my FW numerous times. Each time Ireset the firmware, everything goes back into normal.. and then.. suddenly.. as if "from nowhere".. this behavior restarts.. Anyone? |
Re: Pygtk weird behavior; no buttons/labels background, just text.
1 Attachment(s)
Quote:
Let's start with one of the built-in themes. For the purpose of this conversation, can you please switch to the Digital Nature Theme. You talk about the Reflect Theme in your previous post, but it looks like the images are from the Digital Nature Theme (hildon-theme-beta). Is that correct? I'm running PR 1.2 and I just installed pygtkeditor and set my theme to Digital Nature. Here's a screenshot that doesn't look like yours. Attachment 11691 I have to get going at the moment, but I'll tell you about Fremantle themed buttons when I get back. That is actually a different issue. In the meantime, please post the output of the following: Code:
ls -l /usr/share/themes/beta |
Re: Pygtk weird behavior; no buttons/labels background, just text.
1 Attachment(s)
So.. the output from the ls is:
Code:
Nokia-N900-51-1:~# ls -l /usr/share/themes/beta/ The funny thing is that, as far as I know, only pygtk are affected. |
Re: Pygtk weird behavior; no buttons/labels background, just text.
Quote:
Code:
dpkg -l | grep -i python Code:
ii python 2.5.2-3maemo3 An interactive high-level object-oriented language (defaul |
Re: Pygtk weird behavior; no buttons/labels background, just text.
Ok, first the output from the dpkg on python pkgs:
Code:
Nokia-N900-51-1:~# dpkg -l | grep -i python Also, same thing (no warnings nor erros for other pygtk apps..) The apps I see the same behavior are accDisplay and n900fly. Do you have an idea on any other python apps I should try in order to "track down" the problem? |
Re: Pygtk weird behavior; no buttons/labels background, just text.
I don't have
hildon-desktop-python-loader Maybe try uninstalling that and rebooting. Also, you have a different (newer?) python-osso than I do. But I'd start with hildon-desktop-python-loader. |
Re: Pygtk weird behavior; no buttons/labels background, just text.
1 Attachment(s)
Now looking at the difference between the two package listings, odd things I can see are:
Code:
ii hildon-desktop-python-loader 0.1.0-1maemo3 Hildon Desktop Python Plugin Loader |
Re: Pygtk weird behavior; no buttons/labels background, just text.
1 Attachment(s)
I think all you've done is found the button theme thing I was suppose to fill you in on. Your test program might need menu items to be helpful. Try this one:
|
Re: Pygtk weird behavior; no buttons/labels background, just text.
Ok, I just found out some really funny thing..
Both my apps and pygtkeditor use a shell script like: Code:
#!/bin/sh Launching the app (both from the desktop links or the terminal) will call this scripts and then call the app itself. I just tried running the exact same app but bypassing this script: Code:
~ $ python /opt/pygtkeditor/pygtkeditor.py (EDIT: woops.. wait some more) |
All times are GMT. The time now is 07:43. |
vBulletin® Version 3.8.8