Re: Zero padding in g_strdup_printf

2008-02-02 Thread Kevin DeKorte
On Sat, 2008-02-02 at 15:03 -0500, Allin Cottrell wrote: > On Sat, 2 Feb 2008, Kevin DeKorte wrote: > > > Hi All, > > > > I'm doing a command like this > > > > *length = g_strdup_printf("%02i:%02.1f", min, seconds); > > > > And if min or seconds is < 10 then I don't get the leading zero > >

Unable to load stock icons

2008-02-02 Thread Thomas Dybdahl Ahle
Hey, I'm writing an app, using pygtk, looking up icons using gtk.icon_theme_get_default().load_icon(...). Now I've got reports from some KDE users which are unable to load even tango specified icons this way. Also when the gnome-icon-theme is installed and the icons are easily found in /usr/share/

Re: Zero padding in g_strdup_printf

2008-02-02 Thread Allin Cottrell
On Sat, 2 Feb 2008, Kevin DeKorte wrote: > Hi All, > > I'm doing a command like this > > *length = g_strdup_printf("%02i:%02.1f", min, seconds); > > And if min or seconds is < 10 then I don't get the leading zero > like I would get in a printf. Is this a known bug. Works for me. [EMAIL PROT

Zero padding in g_strdup_printf

2008-02-02 Thread Kevin DeKorte
Hi All, I'm doing a command like this *length = g_strdup_printf("%02i:%02.1f", min, seconds); And if min or seconds is < 10 then I don't get the leading zero like I would get in a printf. Is this a known bug. if min is 8 and sec is 5.1 I would expect length to be "08:05.1", but I seem to be ge

Re: Bug buddy reports

2008-02-02 Thread Emmanuele Bassi
On Sat, 2008-02-02 at 03:01 -0500, Jacques Pelletier wrote: > Hi, > > I made an application running on Linux, and I made it compile under NetBSD. > When I try to run it, it crashes and the bug buddy generates a report, but I > don't know how to interpret this to debug my program. it's a stack

libglade says: did not finish in PARSER_FINISH state

2008-02-02 Thread Jacob Ole Juul Kolding
Hello list I'm porting a gtk app to Xcode on Leopard but have run into a problem. When I compile the app using gnu tools it runs fine, but the Xcode app gives this error from libglade glade_new_xml: did not finish in PARSER_FINISH state And returns a NULL pointer for GladeXML The same glade fil

Re: Bug buddy reports

2008-02-02 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jacques Pelletier wrote: | Hi, | | I made an application running on Linux, and I made it compile under NetBSD. | When I try to run it, it crashes and the bug buddy generates a report, but I | don't know how to interpret this to debug my program. yeah,

Re: question on GtkScrolledWindow

2008-02-02 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Iago Rubio wrote: | Sorry, looks like the attachment got stripped. | | Here you've got the code. | a. Many thanks. - -Greg | | | #include | // gcc `pkg-config --cflags --libs gtk+-2.0` test_w.c | | gboolean | scroll_viewport (gpointer data) |

Bug buddy reports

2008-02-02 Thread Jacques Pelletier
Hi, I made an application running on Linux, and I made it compile under NetBSD. When I try to run it, it crashes and the bug buddy generates a report, but I don't know how to interpret this to debug my program. Here is the report in attachment -- JP Memory status: size: 6332416 vsize: 0 reside