GtkFileChooserDialog position

2008-10-16 Thread Tomas Soltys
Hi, I have a question about positioning of the file-chooser dialog. The position of the dialog is not correct. I'm using the latest stable version of GTK 2.14.3. The code is compiled on win32. --- CODE -- GtkWidget *dialog; dialog =

Re: monitoring file changes in a sysfs filesystem

2008-10-16 Thread Emmanuele Bassi
On Thu, 2008-09-18 at 12:58 +0200, Miguel Gómez wrote: I'm trying to monitor the changes in a file from /sys (as you know, it's a sysfs filesystem), but setting a file monitor with g_file_monitor_file doesn't work. No matter what I do, I can't receive the changed signal from the file

Re: monitoring file changes in a sysfs filesystem

2008-10-16 Thread Miguel Gómez
I'm trying to monitor the changes in a file from /sys (as you know, it's a sysfs filesystem), but setting a file monitor with g_file_monitor_file doesn't work. No matter what I do, I can't receive the changed signal from the file monitor. sysfs, being a virtual file system, doesn't generate

GtkPixbuf from Char buffer

2008-10-16 Thread Arto Karppinen
Hi, were developing an application which is supposed to show user images downloaded from web server using xmlrpc. The problem is that we cant quite figure out how to create a pixbuf from a buffer which contains the RAW contents of a file. Functions like: gdk_pixbuf_new_from_data

Re: monitoring file changes in a sysfs filesystem

2008-10-16 Thread Tomasz Sterna
Dnia 2008-09-18, czw o godzinie 12:58 +0200, Miguel Gómez pisze: I'm trying to monitor the changes in a file from /sys (as you know, it's a sysfs filesystem), but setting a file monitor with g_file_monitor_file doesn't work. No matter what I do, I can't receive the changed signal from the

Re: GtkPixbuf from Char buffer

2008-10-16 Thread Arto Karppinen
gary liquid wrote: arto, have you considered caching the downloaded file to disk and reading from there using the standard function? This would give you the obvious benefit of allowing offline usage and faster requerying. There isn't an infinite amount of memory available and having to

GtkCheckButton::indicator-size has no effect

2008-10-16 Thread John Boncek
I have the following entries in a gtkrc file. Style ScrollbarSlider works on widgets of class GtkScrollbar. Style CheckButtonSize has no effect on widgets of class GtkCheckButton. style ScrollbarSlider { GtkScrollbar::min-slider-length = 14 } class GtkScrollbar style ScrollbarSlider

GLib 2.18.2 released

2008-10-16 Thread Matthias Clasen
GLib 2.18.2 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.18/ http://download.gnome.org/sources/glib/2.18/ glib-2.18.2.tar.bz2 md5sum: d11a5cc5e08cff53349a3481816fdaff glib-2.18.2.tar.gzmd5sum: 0f2bf241fc93d95a0bd599a9c2a352ca This is a bug fix release in the 2.18

GLib 2.19.0 released

2008-10-16 Thread Matthias Clasen
GLib 2.19.0 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.19/ http://download.gnome.org/sources/glib/2.19/ glib-2.19.0.tar.bz2 md5sum: 0ff01feebce78b61ce37877e20d71eba glib-2.19.0.tar.gz md5sum: 994a5b839883e83d0af9e6e86a2e15b7 This is the first development release

Layout Composite Widget Components Using Glade-3? / Pluggable widgets replacement for Glade custom widget?

2008-10-16 Thread Daniel Yek
Hi, I have been wondering, if I were to create a (custom) composite widget to contain several standard GTK+ widgets from within a larger Glade project, is there a way I can keep both the application layout and the composite widget layout in the same Glade-3 project? (It is nicer if all

Re: Glib2 doesn't compile on OS X (Leopard Intel)

2008-10-16 Thread Robert Smith
It's not. The strangest thing happened.. I've just untarred the source package, and set the following ( export CC=gcc-4.2 CPPFLAGS=-I/opt/wansecurity/include LDFLAGS=-L/opt/ wansecurity/lib) gettext is installed with prefix /opt/wansecurity, rerun configure and it completed successfully.

Re: [Vala] gobject-introspection and gtkmmproc (Re: Auto mm(C++) binding for libraries written in Vala?)

2008-10-16 Thread Martin (OPENGeoMap)
Hi, there is a link at http://live.gnome.org/GObjectIntrospection/ saying that gtkmm 'can' use gobject-introspection. Is anyone working on this / when will it likely to be done? By now they use the old system than python guys:

Re: Theming API hackfest: last call

2008-10-16 Thread Stefan Kost
hi, Robert Staudinger schrieb: ... Finally, regarding the SVG theming efforts that are floating around [2, 3], I think that CSS and SVG are mostly orthogonal rather than competing with each other. SVG is great for graphics, and CSS is made for things like expressing that the GtkButton

Re: pre-summit introspection status

2008-10-16 Thread Stefan Kost
hi, Gustavo J. A. M. Carneiro schrieb: On Fri, 2008-10-10 at 17:19 -0400, Behdad Esfahbod wrote: Colin Walters wrote: On Thu, Oct 9, 2008 at 9:34 PM, Behdad Esfahbod [EMAIL PROTECTED] wrote: But most recently I was reading the static analysis literature and came across

Re: pre-summit introspection status

2008-10-16 Thread Colin Walters
On Thu, Oct 16, 2008 at 12:22 PM, Stefan Kost [EMAIL PROTECTED] wrote: quick status update - gtk-doc has basic support for it in svn. Will flesh that out in the next days and then finally do a 1.11 release. Awesome! The devhelp integration you were showing at the summit was cool, btw. Just a

GLib 2.18.2 released

2008-10-16 Thread Matthias Clasen
GLib 2.18.2 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.18/ http://download.gnome.org/sources/glib/2.18/ glib-2.18.2.tar.bz2 md5sum: d11a5cc5e08cff53349a3481816fdaff glib-2.18.2.tar.gzmd5sum: 0f2bf241fc93d95a0bd599a9c2a352ca This is a bug fix release in the 2.18

GLib 2.19.0 released

2008-10-16 Thread Matthias Clasen
GLib 2.19.0 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.19/ http://download.gnome.org/sources/glib/2.19/ glib-2.19.0.tar.bz2 md5sum: 0ff01feebce78b61ce37877e20d71eba glib-2.19.0.tar.gz md5sum: 994a5b839883e83d0af9e6e86a2e15b7 This is the first development release

Re: [gtk-i18n-list] Re: Glyphs in vertical text are drawn on top of each other

2008-10-16 Thread mpsuzuki
On Thu, 16 Oct 2008 13:19:41 -0400 Behdad Esfahbod [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Hi, I have seen some reports about such problems, with glyphs partially overlapping, not completely superimposed. Is that what you are seeing? A screenshot helps. In the past, it always

Re: gchar * properties

2008-10-16 Thread Maciej Piechotka
Pablo Yanez Trujillo [EMAIL PROTECTED] writes: Hi Widgets have some properties of type gchar*. For example GtkLabel has the label property. What happens when I use g_object_set(lable_widget, label, some_gchar_ptr, NULL);? Does the class just assign 'some_gchar_ptr' to the 'label' member

problem with gtk 2.14: gdk_pixbuf_get_file_info

2008-10-16 Thread ROBERTO FORTUNATO
Hi, I have a problem with last version of GTK under windows. This simple code crashes when run with gdb and it creates instability when it run in a more complex program. Previous version hasn't this problem. Is this a bug or in the new version should I use a differente function? Below the

Re: gchar * properties

2008-10-16 Thread Tadej Borovšak
Widgets have some properties of type gchar*. For example GtkLabel has the label property. What happens when I use g_object_set(lable_widget, label, some_gchar_ptr, NULL);? Does the class just assign 'some_gchar_ptr' to the 'label' member or does it allocate memory and copy the content

Re: problem with gtk 2.14: gdk_pixbuf_get_file_info

2008-10-16 Thread Tor Lillqvist
Please make sure you use the latest build of GTK+ 2.14 for Windows. There is a problem in the GDI+-based pixbuf loaders, so in 2.14.1-2 and later the old libjpeg and libtiff -using pixbuf loaders are used again. The 2.14.1-1 build is broken in this regards. --tml

Re: gchar * properties

2008-10-16 Thread Pablo Yanez Trujillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi As far as I my experience go, it is usually safe to assume that g_object_set( widget, prop, value, NULL ) does the same thing as gtk_widget_set_prop( widget, value ). In the case of gchar * values, the value gets it's own copy of a string via

freeing GTK+ memory

2008-10-16 Thread Pablo Yanez Trujillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all GTK classes have a create function and instances may be created with g_object_new as well. How can I free the memory of widget's I don't need anymore? Does gtk_widget_destroy do the work for me? I've written a small application #include

GLib 2.18.2 released

2008-10-16 Thread Matthias Clasen
GLib 2.18.2 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.18/ http://download.gnome.org/sources/glib/2.18/ glib-2.18.2.tar.bz2 md5sum: d11a5cc5e08cff53349a3481816fdaff glib-2.18.2.tar.gzmd5sum: 0f2bf241fc93d95a0bd599a9c2a352ca This is a bug fix release in the 2.18

Re: freeing GTK+ memory

2008-10-16 Thread Tor Lillqvist
Even a small programm like int main(int argc, char **argv) {gtk_init(argc, argv);return 0;} has 619 non-free blocks. Why? Is there a function to free this memory? Yes. It's called exit(). I.e. it is not expected that a program that uses GLib and GTK+ will use their API, then stop using it but

Re: freeing GTK+ memory

2008-10-16 Thread Pablo Yanez Trujillo
Hi I.e. it is not expected that a program that uses GLib and GTK+ will use their API, then stop using it but still keep running for a long time. Such a scenario would be the only case in which it would matter that GLib and GTK+ internal dynamically allocated data structures are still

GLib 2.19.0 released

2008-10-16 Thread Matthias Clasen
GLib 2.19.0 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.19/ http://download.gnome.org/sources/glib/2.19/ glib-2.19.0.tar.bz2 md5sum: 0ff01feebce78b61ce37877e20d71eba glib-2.19.0.tar.gz md5sum: 994a5b839883e83d0af9e6e86a2e15b7 This is the first development release

[Font] How does Gtk show a string contains different languages?

2008-10-16 Thread raymond Liu
Hi all, I'd like to know how Gtk does it. The default font is Tahoma. And I think Tahoma doesn't support Chinese(zh_TW/zh_CN). Q1. If I need to show a string contains English and Chinese using Tahoma. How doest Gtk show them? Q2. Can I use the different fonts for them? Ex.