Re: gtk3: FileChooser schema not found

2011-02-16 Thread Emmanuele Bassi
On Tue, 2011-02-15 at 17:10 -0500, Allin Cottrell wrote: On Tue, 15 Feb 2011, Emmanuele Bassi wrote: Requiring the schema for settings is the fundamental tenet of the GSettings design. By not having the schema like in GConf you are trading a bit of convenience for less safety... A

Re: gtk3: FileChooser schema not found

2011-02-16 Thread David Nečas
On Wed, Feb 16, 2011 at 08:20:59AM +, Emmanuele Bassi wrote: in any case, this is a pointless discussion: the schema for the file chooser configuration *is* part of the gtk+-3 installation; if it's not installed then it's either a bug in gtk+ or a packaging issue. it's the equivalent of an

Re: gtk3: FileChooser schema not found

2011-02-16 Thread Emmanuele Bassi
On Wed, 2011-02-16 at 09:42 +0100, David Nečas wrote: On Wed, Feb 16, 2011 at 08:20:59AM +, Emmanuele Bassi wrote: in any case, this is a pointless discussion: the schema for the file chooser configuration *is* part of the gtk+-3 installation; if it's not installed then it's either a

Re: gtk3: FileChooser schema not found

2011-02-16 Thread David Nečas
On Wed, Feb 16, 2011 at 09:49:09AM +, Emmanuele Bassi wrote: On Wed, 2011-02-16 at 09:42 +0100, David Nečas wrote: On Wed, Feb 16, 2011 at 08:20:59AM +, Emmanuele Bassi wrote: in any case, this is a pointless discussion: the schema for the file chooser configuration *is* part of

Re: gtk3: FileChooser schema not found

2011-02-16 Thread Emmanuele Bassi
On Wed, 2011-02-16 at 11:19 +0100, David Nečas wrote: Gtk+ itself (not any dependency) installs this scheme file. It knows exactly, at compile time, where the file will be installed. So why it cannot find the file? it could be that XDG_SHARE_DIR is unset, or not set to include your

Viewport diagonal scrolling redraw

2011-02-16 Thread Rendaw
Hello, It looks like gtk_viewport_adjustment_value_changed() calls gdk_window_process_updates... is that necessary? I'm trying to scroll a large (cairo drawn) image in a scrolledwindow diagonally on an older system, and I call gtk_adjustment_set_value() on each scrollbar with the new

Re: GLib 2.28.0 released

2011-02-16 Thread jose.ali...@gmail.com
Hi, I've noticed that GLib 2.28 is still not listed in http://library.gnome.org/devel/glib/ Greetings José On Tue, Feb 8, 2011 at 4:51 PM, Matthias Clasen mcla...@redhat.com wrote: GLib 2.28.0 is now available for download at:  ftp://ftp.gtk.org/pub/glib/2.28  

Re: Viewport diagonal scrolling redraw

2011-02-16 Thread jcupitt
On 16 February 2011 04:48, Rendaw ren...@zarbosoft.com wrote: As a side note, does gdk_window_process_updates() preserve mouse motion events when the MOTION_HINT mask is set?  I also had motion event queuing problems (I would stop moving the mouse but the screen would continually redraw for a

Hot Keys and alternate keyboard layouts

2011-02-16 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm working with an application and the hot keys I have assigned to the app only seem to work with the english layout (which is default for my keyboard and machine). But if I switch to the alternate (Russian) in this case, they keys still act like

How gvdb_table_is_valid works on glib/dconf

2011-02-16 Thread Joshua Lee
Hi Ryan/All, I can not understand while gvdb_table_is_valid can check the on-disk gvdb table is valid. Then i wrote a simple sample to verify it. #include glib.h #include glib/gstdio.h int main() { GError *err = NULL; gchar *data = NULL; system(echo 'Hello'

introspection (and python bindings): callbacks with GError** parameter?

2011-02-16 Thread Christophe Saout
Dear gobject-introspection hackers, I am trying to use some GdkPixbuf methods from Python via PyGI and ran into something that made me wonder. I already wrote to the python-hackers list (pygobject devs) about this issue yesterday:

Re: How gvdb_table_is_valid works on glib/dconf

2011-02-16 Thread jcupitt
On Wednesday, 16 February 2011, Joshua Lee muz...@gmail.com wrote: Then I run the test program, !!*data will always output 1. Here's the output. Isn't that expected behaviour? Data points to a non-empty string, so *data will always be non-zero. Therefore !*data will always be zero, therefore

Re: Re: How gvdb_table_is_valid works on glib/dconf??

2011-02-16 Thread Joshua Lee
Hi jcupitt, I'm curious why gvdb_table_is_valid works. Here's the implementation of gvdb_table_is_valid. /** * gvdb_table_is_valid:

Re: Re: How gvdb_table_is_valid works on glib/dconf??

2011-02-16 Thread jcupitt
On 16 February 2011 10:50, Joshua Lee muz...@gmail.com wrote: I'm curious why gvdb_table_is_valid works. Here's the implementation of gvdb_table_is_valid. gboolean gvdb_table_is_valid (GvdbTable *table) {  return !!*table-data; } Ah I see, sorry. This function will return 1 if table-data

Re: GLib 2.28.0 released

2011-02-16 Thread jose.ali...@gmail.com
Hi, I've noticed that GLib 2.28 is still not listed in http://library.gnome.org/devel/glib/ Greetings José On Tue, Feb 8, 2011 at 4:51 PM, Matthias Clasen mcla...@redhat.com wrote: GLib 2.28.0 is now available for download at:  ftp://ftp.gtk.org/pub/glib/2.28  

Help with Gobjection Introspection in Lib32 compilation

2011-02-16 Thread rafael ff1
Hi all. I'm compiling some packages from source to lib32 packages for Archlinux. The propose of these lib32 packages is to have only 32-bit library for a 64-bit system - no executable, no documentation, etc. See sample for lib32-alsa-lib: (

problem with gtk_dialog_run

2011-02-16 Thread Jagadeesh
Hi Am working on a window manager, when i use gtk_dialog_run and on closing the window, the frame window remains, how to notify about such windows to window manager thanks and regards, Jagadeesh N V Bangalore ___ gtk-devel-list mailing list