little help with status bar

Hi gnomers!

I'm using the status bar in the gnome app widget:

I would want to show the percentage with two decimals (87.34 %)

gtk_progress_set_format_string(GTK_PROGRESS(foo->progress), "%p%%");

Currently I'm doing the above stuff. I have tried %p.pp but don't works

Is it posible to get the desired effect??


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