[Glade-users] stock imagen & others.



On 02/06/2011 02:40, luis carvajal wrote:
But remember, GTK+ no longer shows the images by default for all
widgets (ie a GtkButton with use_stock=True and label=gtk-close only
show the text "Close" but not the image that goes with the text), so
that might be giving the impression something doesn't function correctly. 

thats correct, your example is exactly the trouble I saw . how can make them
appear in my GtkButton?

From your PyGTK program:
    s = gtk.settings_get_default()
    s.set_property("gtk-button-images", True)

But that would (if I remember correctly) force a preference on
systems where the user specified the icons should be disabled. You
can therefore, on your own system, edit
        Lib\site-packages\gtk-2.0\runtime\etc\gtk-2.0\gtkrc

and add 'gtk-button-images = 1' to it.

to run glade ui  and do any stuff you want until it crashes if you try to
save or

open a .glade you already have  you will accelerate it. i runned depends.exe
2 times.

both times i got crashes


also  i couldn't open  a glade ui i already have .. only show widget tree


i uploaded 2 rar archives to dropbox :


http://dl.dropbox.com/u/23736221/glade-3-dwi.rar

http://dl.dropbox.com/u/23736221/glade-3-dwi-2.rar

Studied both and your installation seems to be OK (system dll's look
somewhat different compared to Windows XP, but nothing that could
explain the unstable behavior you see jumps out).

Guess the only thing left to try now would be to generate the backtrace
with gdb like Tristan proposed (depending on how comfortable you are
with unix-y tools, this can be non-trivial to get working on
windows), or trying to run Glade3 through ollydbg (easier to get it
working if you're not familiar with unix-y tools, but assembly level
debugging is somewhat of an acquired taste I guess) and see if you can
figure out where it crashes...

Sorry I can't be of more assistance, don't have access to a Windows 7
machine...

mvg,
Dieter




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