Re: GtkContainer multi - layer

2011-04-15 Thread Erick Pérez
Can u share the code somehow ? GeditOverlay does something like this, but way more restricted. And I do have a question: Can I stack GtkLayout widgets in your implementation ? I have crated a gtkstacked widget so I can have different layer on it. /* Creates a new button with the label Hello

GTK+ 3.0.9

2011-04-15 Thread Matthias Clasen
GTK+ 3.0.9 is now available for download at: ftp://ftp.gtk.org/pub/gtk/3.0/ http://download.gnome.org/sources/gtk+/3.0/ 99b6327238f4fe22d89faae7a6b48fdd916ddd30183344a3b9008a2f623e2a02 gtk +-3.0.9.tar.gz 88a9dda6f2a23155ac3d7aca6b414ca3b55e2817b46bcc87733f1a407e16678c gtk +-3.0.9.tar.bz2

Re: Glib: a Win32 discussion

2011-04-15 Thread Alexander Larsson
On Thu, 2011-04-07 at 10:50 -0700, Ben Pfaff wrote: Colin Walters walt...@verbum.org writes: If your application deals with uids, I think you're going to end up with platform-specific code; the complexities around identity are just too high. That goes doubly for inode numbers, which -

Re: Glib: a Win32 discussion

2011-04-15 Thread Alexander Larsson
On Sun, 2011-04-10 at 08:12 +0200, Kean Johnston wrote: On 4/7/2011 4:29 PM, Colin Walters wrote: If your application deals with uids, I think you're going to end up with platform-specific code; the complexities around identity are just too high. That goes doubly for inode numbers, which -

Resource framework, relocatability (was Re: Glib: a Win32 discussion)

2011-04-15 Thread Alexander Larsson
On Wed, 2011-04-06 at 23:34 +0200, Kean Johnston wrote: Last, but by no means least, is the reliance on compiled files, like compiled schemas (or in the case of Gtk, icon caches). On UNIX systems where things are installed in a universally-accessible location, this isn't a problem, but on

Re: Glib: a Win32 discussion

2011-04-15 Thread Alexander Larsson
On Sun, 2011-04-10 at 12:46 +0200, Hans Breuer wrote: The first thing that should change is making g_malloc and friends use the HeapAlloc function, and ensure that g_mem_is_system_malloc() always returns false. This is really easy to do and shouldn't upset the apple-cart too much. This

Re: gobject introspection in runtime possible?

2011-04-15 Thread Alexander Larsson
On Thu, 2011-04-07 at 12:22 +0200, Andrea wrote: Hello list, Just a flash question about introspection (I'm a newbye). Is it possible to get introspection data from a GObject in runtime? I was wondering if it would be convenient to create a special introspectable parent object to declare

Re: gobject introspection in runtime possible?

2011-04-15 Thread Alexandre Mazari
Le jeudi 07 avril 2011 à 12:22 +0200, Andrea a écrit : Hello list, Just a flash question about introspection (I'm a newbye). Is it possible to get introspection data from a GObject in runtime? I was wondering if it would be convenient to create a special introspectable parent object to

Re: Resource framework, relocatability (was Re: Glib: a Win32 discussion)

2011-04-15 Thread Damjan Jovanovic
On Fri, Apr 15, 2011 at 11:06 AM, Alexander Larsson al...@redhat.com wrote: On Wed, 2011-04-06 at 23:34 +0200, Kean Johnston wrote: Last, but by no means least, is the reliance on compiled files, like compiled schemas (or in the case of Gtk, icon caches). On UNIX systems where things are

Re: Resource framework, relocatability (was Re: Glib: a Win32 discussion)

2011-04-15 Thread Alexander Larsson
On Fri, 2011-04-15 at 14:18 +0200, Damjan Jovanovic wrote: Of course, some files are inherently made to be external, read by other applications. Such files are hard to relocate, like application icons, desktop files, icon themes, widget themes, plugins, custom mimetype descriptions,

Re: Resource framework, relocatability (was Re: Glib: a Win32 discussion)

2011-04-15 Thread John Ralls
On Apr 15, 2011, at 6:01 AM, Alexander Larsson wrote: On Fri, 2011-04-15 at 14:18 +0200, Damjan Jovanovic wrote: Of course, some files are inherently made to be external, read by other applications. Such files are hard to relocate, like application icons, desktop files, icon themes,

GTK+ 3.0.9

2011-04-15 Thread Matthias Clasen
GTK+ 3.0.9 is now available for download at: ftp://ftp.gtk.org/pub/gtk/3.0/ http://download.gnome.org/sources/gtk+/3.0/ 99b6327238f4fe22d89faae7a6b48fdd916ddd30183344a3b9008a2f623e2a02 gtk +-3.0.9.tar.gz 88a9dda6f2a23155ac3d7aca6b414ca3b55e2817b46bcc87733f1a407e16678c gtk +-3.0.9.tar.bz2

Re: Resource framework, relocatability (was Re: Glib: a Win32 discussion)

2011-04-15 Thread Kevin Fox
On Fri, 2011-04-15 at 06:01 -0700, Alexander Larsson wrote: On Fri, 2011-04-15 at 14:18 +0200, Damjan Jovanovic wrote: Of course, some files are inherently made to be external, read by other applications. Such files are hard to relocate, like application icons, desktop files,

Re: Resource framework, relocatability (was Re: Glib: a Win32 discussion)

2011-04-15 Thread Alexander Larsson
On Fri, 2011-04-15 at 08:49 -0700, Kevin Fox wrote: On Fri, 2011-04-15 at 06:01 -0700, Alexander Larsson wrote: On Fri, 2011-04-15 at 14:18 +0200, Damjan Jovanovic wrote: Of course, some files are inherently made to be external, read by other applications. Such files are hard

Re: Resource framework, relocatability (was Re: Glib: a Win32 discussion)

2011-04-15 Thread David Zeuthen
Hi, On Fri, Apr 15, 2011 at 1:45 PM, Alexander Larsson al...@redhat.com wrote: Also, apps that consume such files are also hard to relocate. Take nautilus for instance, it looks for extensions in /usr/lib64/nautilus/extensions-3.0/, but if you relocate it, how does extensions know where to

Re: Glib: a Win32 discussion

2011-04-15 Thread Hans Breuer
At 15.04.2011 12:02, Alexander Larsson wrote: On Sun, 2011-04-10 at 12:46 +0200, Hans Breuer wrote: The first thing that should change is making g_malloc and friends use the HeapAlloc function, and ensure that g_mem_is_system_malloc() always returns false. This is really easy to do and

Re: Resource framework, relocatability (was Re: Glib: a Win32 discussion)

2011-04-15 Thread Paul Davis
On Fri, Apr 15, 2011 at 1:45 PM, Alexander Larsson al...@redhat.com wrote: The same thing happens for the other types of files i mentioned above. dbus looks only for service files in /usr/share/dbus-1/services, gtk looks for themes in /usr/lib64/gtk-3.0/3.0.0/theming-engines, etc, etc. So,

Re: Resource framework, relocatability (was Re: Glib: a Win32 discussion)

2011-04-15 Thread John Ralls
On Apr 15, 2011, at 10:45 AM, Alexander Larsson wrote: On Fri, 2011-04-15 at 08:49 -0700, Kevin Fox wrote: On Fri, 2011-04-15 at 06:01 -0700, Alexander Larsson wrote: On Fri, 2011-04-15 at 14:18 +0200, Damjan Jovanovic wrote: Of course, some files are inherently made to be external, read

Re: GLib 2.29.2

2011-04-15 Thread Petr Tomasek
Overview of Changes from GLib 2.28.0 to 2.29.2 == * GApplication - The documentation has been enhanced and clarified - An opt-out for uniqueness has been added: G_APPLICATION_NON_UNIQUE Thanks A LOT! :-) -- Petr Tomasek

Re: Resource framework, relocatability (was Re: Glib: a Win32 discussion)

2011-04-15 Thread Damjan Jovanovic
On Fri, Apr 15, 2011 at 7:45 PM, Alexander Larsson al...@redhat.com wrote: On Fri, 2011-04-15 at 08:49 -0700, Kevin Fox wrote: On Fri, 2011-04-15 at 06:01 -0700, Alexander Larsson wrote: On Fri, 2011-04-15 at 14:18 +0200, Damjan Jovanovic wrote: Of course, some files are inherently

GTK+ 3.0.9

2011-04-15 Thread Matthias Clasen
GTK+ 3.0.9 is now available for download at: ftp://ftp.gtk.org/pub/gtk/3.0/ http://download.gnome.org/sources/gtk+/3.0/ 99b6327238f4fe22d89faae7a6b48fdd916ddd30183344a3b9008a2f623e2a02 gtk +-3.0.9.tar.gz 88a9dda6f2a23155ac3d7aca6b414ca3b55e2817b46bcc87733f1a407e16678c gtk +-3.0.9.tar.bz2