Re: Emission hooks for parent-set signal.(cont.)

2008-10-07 Thread Yu Feng
On Tue, 2008-10-07 at 22:21 +0200, Tim Janik wrote: > On Mon, 6 Oct 2008, Yu Feng wrote: > > > > > static void > > gtk_window_destroy (GtkObject *object) > > { > > GtkWindow *window = GTK_WINDOW (object); > > > > toplevel_list = g_slist_remove (toplevel_list, window); > > > > if (window->transi

Force containers to be list-like

2008-10-07 Thread BJörn Lindqvist
Hello good people, I think there should be a contract that all subclasses of GtkContainer must implement. Conceptually, a container is a collection of widgets. Usually that collection is implemented as a list but it does not have to be [1]. This means that: 1. The order child widgets are stored i

Re: g_utf8_validate() and NUL characters

2008-10-07 Thread Brian J. Tarricone
Behdad Esfahbod wrote: Havoc Pennington wrote: On Mon, Oct 6, 2008 at 4:42 PM, coda <[EMAIL PROTECTED]> wrote: Is there any reason not to support NUL/U+ in strings? >> The point of not allowing nul in g_utf8_validate() I think is that nul is not valid text. It may be valid unicode in some

Re: g_utf8_validate() and NUL characters

2008-10-07 Thread Behdad Esfahbod
coda wrote: > I ended up here after pursuing the "invalid character coding" behavior of > gedit. > gedit tries to convert a file to UTF-8 using g_convert, which always succeeds > when converting from an 8-bit encoding like ISO-8859-1. The converted string > contents could contain a NUL, since tha

Re: g_utf8_validate() and NUL characters

2008-10-07 Thread Behdad Esfahbod
Havoc Pennington wrote: > Hi, > > On Mon, Oct 6, 2008 at 4:42 PM, coda <[EMAIL PROTECTED]> wrote: >> As a result of all >> this, gedit's inability to edit "binary files" is simply an inability to >> edit a >> file with a NUL byte in it. > > That doesn't seem true; a binary file could be invalid

Re: Announcement for the DBus backed Global Menu

2008-10-07 Thread John Stowers
On Sat, 2008-10-04 at 15:16 -0400, Yu Feng wrote: > Hi, > > I am sorry for the longlong delay after last time I talked about writing > the applets and stuffs. Hi Yu, You do not seem to have got much feedback on this, but I would like to personally thank you for your continued persistance on this

Re: Emission hooks for parent-set signal.(cont.)

2008-10-07 Thread Tim Janik
On Mon, 6 Oct 2008, Yu Feng wrote: static void gtk_window_destroy (GtkObject *object) { GtkWindow *window = GTK_WINDOW (object); toplevel_list = g_slist_remove (toplevel_list, window); if (window->transient_parent) gtk_window_set_transient_for (window, NULL); /* frees the icons */ gt

Re: Windows dev-* environment

2008-10-07 Thread Vlad Grecescu
On 10/7/2008 1:47 AM, Cody Russell wrote: On Mon, 2008-10-06 at 23:47 +0300, Vlad Grecescu wrote: I think most of the people that use Gtk+ on Windows also use autoconf/automake (think Inkscape, Geany, Pidgin). Unfortunately they also use parralel Makefiles for win32.. having the opportunity

Emission hooks for parent-set signal.(cont.)

2008-10-07 Thread Yu Feng
static void gtk_window_destroy (GtkObject *object) { GtkWindow *window = GTK_WINDOW (object); toplevel_list = g_slist_remove (toplevel_list, window); if (window->transient_parent) gtk_window_set_transient_for (window, NULL); /* frees the icons */ gtk_window_set_icon_list (window,

Re: Windows dev-* environment

2008-10-07 Thread Christian Dywan
Am Mon, 6 Oct 2008 18:58:16 -0400 (EDT) schrieb Allin Cottrell <[EMAIL PROTECTED]>: > On Mon, 6 Oct 2008, Vlad Grecescu wrote: > > > I think most of the people that use Gtk+ on Windows also use > > autoconf/automake (think Inkscape, Geany, Pidgin). Unfortunately > > they also use parralel Makef

Re: Theming API hackfest: last call

2008-10-07 Thread Robert Staudinger
On Mon, Oct 6, 2008 at 6:56 PM, Alberto Ruiz <[EMAIL PROTECTED]> wrote: > Hi there, > > we have set the proposed date for the theming API hackfest to the > third week of februrary, this is: > 16th-22nd > > It'll take place in Dublin, Ireland, hosted by Sun Microsystems at > their headquarters. > >