g_date_set_time error on folder selection

2005-10-16 Thread Nick Watts
On Windows XP. I've got a GtkFileChooser widget set up with the GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER action. Whenever I go to the My Pictures directory with the file chooser widget, I get a whole bunch of identical errors that all say: Glib-CRITICAL **: g_date_set_time: assertion 'ptm != NULL'

Re: compiling g_module plugin on (msvc) win32 [was] on (cygwin) win32

2005-10-16 Thread Iago Rubio
On Sun, 2005-10-16 at 00:54 +0300, Tor Lillqvist wrote: Olivier Sessink writes: How can I fix the linking stage on cygwin/win32 ?? First, mark the functions in the sources for the main .exe that are to be used by other modules with G_MODULE_EXPORT. Then you must decide whether you want

How to use pixmaps in GTK+ applications?

2005-10-16 Thread 周清博
Hi, I'm new to GTK development. In Windows environment, pixmaps are often compiled into the binary as resources. Or by making an installer, they can be installed as ordinary files, in a location that fixed relative to the binary executable. My question is, how to use pixmaps in GTK+? Can I make

Put a callback on a specific entry of a GtkComboBox

2005-10-16 Thread Guillaume Desmottes
Hi! I would like to put a callback when a specific entry of a GtkComboBox is clicked. In fact, i open a popup when this entry is clicked. If i use the changed signal, the popup is open at the init if this entry is the default value. The other problem is than if this entry is selected and i

Re: How to use pixmaps in GTK+ applications?

2005-10-16 Thread Chris Vine
On Sunday 16 October 2005 08:03, 周清博 wrote: Hi, I'm new to GTK development. In Windows environment, pixmaps are often compiled into the binary as resources. Or by making an installer, they can be installed as ordinary files, in a location that fixed relative to the binary executable. My

Re: How to use pixmaps in GTK+ applications?

2005-10-16 Thread Brian J. Tarricone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Iago Rubio wrote: On Sun, 2005-10-16 at 15:03 +0800, 周清博 wrote: If I use them as ordinary files, how can I know the path after users' installation? What should I do in the configure.ac and Makefile.am? You should install them in a known

gtk+: Missing translatable files

2005-10-16 Thread Marcel Telka
Hi. I have tested module gtk+ (CVS branch HEAD) which lives in GNOME CVS for missing translatable files with `intltool-update -m` command. Here is a content of the 'missing' file: gdk/gdkscreen.c Please put these files into POTFILES.in or POTFILES.skip files. Thanks. Note: This report is

Re: progressbar color

2005-10-16 Thread funebre (sent by Nabble.com)
What version of GTK are you using? 2.6.7 I get result like in the image attached to this email, is this result what you are trying to achive? the bigger img is a screenshot of application from code in the message, i'm trying to obtain a progressbar like the one in the other img, with the bar

running gtk_main in a thread?

2005-10-16 Thread Benjamin
hi there, i am implementing an audio plugin and use gtk for the gui. the problem is, that the audio app calls me to give me data, but the intervalls can be to long to have an usable gui. note: i was not using gtk_main but *gtk*.main_iteration_do() first i thought it would be a solution to

Question about GtkActionEntry.

2005-10-16 Thread DC A
I saw in an example that entries of type GtkActionEntry are defined like this: static GtkActionEntry entries[] = { { Menu1Action, NULL, Menu _1 }, { Menu2Action, NULL, Menu _2 }, { Menu3Action, NULL, _Dynamic Menu }, { cut, GTK_STOCK_CUT, C_ut, controlX, Cut the selected text to the

Re: progressbar color

2005-10-16 Thread Markus Jonsson
Did you look at the image I attached to my reply, it can also be found at [1]. The image displays what I get when I compile and run your code. cheers [1] http://www.markus-jonsson.com/test.png sön 2005-10-16 klockan 03:52 -0700 skrev funebre (sent by Nabble.com): What version of GTK are you

Re: so, is this claim about pango still true? or does nobody actually care?

2005-10-16 Thread Daniel Kasak
Russell Shaw wrote: I don't care how much tedious rendering pango does; if a gui isn't lightning fast on a 100MHz pentium (or 25MHz 386 for that matter), it's fundamentally broken in either or both design and implementation. Oh come on! A pentium 100? That's what you're using, right? Sure?

Re: so, is this claim about pango still true? or does nobody actually care?

2005-10-16 Thread Russell Shaw
Daniel Kasak wrote: Russell Shaw wrote: I don't care how much tedious rendering pango does; if a gui isn't lightning fast on a 100MHz pentium (or 25MHz 386 for that matter), it's fundamentally broken in either or both design and implementation. Oh come on! A pentium 100? That's what you're

Re: so, is this claim about pango still true? or does nobody actually care?

2005-10-16 Thread Russell Shaw
Russell Shaw wrote: Daniel Kasak wrote: Russell Shaw wrote: ... I'm using a pentium 166 as a dedicated mozilla machine among a few other things. Correction: 266MHz (with 64MB ram) But that is very sluggish because of ram swapping when running mozilla. In a typical gtk window with a dozen

Re: Stocks don't seem

2005-10-16 Thread Peter Simon
Hi, muppet 2005. október 16. 07.05 dátummal ezt írta: - Does this malady afflict other gtk+ / gnome programs not written in gtk2-perl? There wasn't any running other gtk+/gnome program, so there couldn't be running malfunctioning program. Not quite what i meant. Sorry, I

Re: Stocks don't seem

2005-10-16 Thread Peter Simon
Hi, muppet 2005. október 16. 16.01 dátummal ezt írta: You can control the setting either with code, as i did in the little example last night, or by adding a line to a gtkrc. I added these two lines to ~/.gtkrc-2.0: gtk-button-images = 0 gtk-menu-images = 0 and now all of the

Re: Stocks don't seem

2005-10-16 Thread A. Pagaltzis
* Peter Simon [EMAIL PROTECTED] [2005-10-16 21:50]: I couldn't find any gtkrc file what can turn on this function. Since you can’t find what’s turning the preferences off, maybe it would work to could override the setting and turn them back on explicitly? Ie put something like this in your