From antti at kaijanmaki.net Tue Jun 3 12:30:58 2008 From: antti at kaijanmaki.net (Antti =?ISO-8859-1?Q?Kaijanm=E4ki?=) Date: Tue, 03 Jun 2008 19:30:58 +0300 Subject: [Glade-devel] [PATCH] GtkAssistant, GtkFrame, GtkExpander Message-ID: <1212510659.6370.77.camel@peura.elisa-laajakaista.fi> Hi, I just wanted to send these patches. I'm not sure if they are correct as I haven't dug very deep inside glade, but these have helped me get on with my project[1]. fix_gtk_assistant_navigation_after_load.patch: * GtkAssistant can't be navigated after a project is loaded from file. ?fix_gtk_frame_label_child_type.patch, fix_gtk_expander_label_child_type.patch: * child types are wrong[2][3] causing GtkBuilder to segfault. best regards, Antti Kaijanm?ki [1] http://www.kaijanmaki.net/blog [2] http://library.gnome.org/devel/gtk/stable/GtkFrame.html [3] http://library.gnome.org/devel/gtk/stable/GtkExpander.html -------------- next part -------------- A non-text attachment was scrubbed... Name: fix_gtk_assistant_navigation_after_load.patch Type: text/x-patch Size: 522 bytes Desc: not available Url : http://lists.ximian.com/pipermail/glade-devel/attachments/20080603/5f3c411b/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: fix_gtk_expander_label_child_type.patch Type: text/x-patch Size: 1707 bytes Desc: not available Url : http://lists.ximian.com/pipermail/glade-devel/attachments/20080603/5f3c411b/attachment-0001.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: fix_gtk_frame_label_child_type.patch Type: text/x-patch Size: 1468 bytes Desc: not available Url : http://lists.ximian.com/pipermail/glade-devel/attachments/20080603/5f3c411b/attachment-0002.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digitaalisesti allekirjoitettu viestin osa Url : http://lists.ximian.com/pipermail/glade-devel/attachments/20080603/5f3c411b/attachment-0003.bin From tristan.van.berkom at gmail.com Tue Jun 3 13:06:28 2008 From: tristan.van.berkom at gmail.com (Tristan Van Berkom) Date: Tue, 3 Jun 2008 14:06:28 -0300 Subject: [Glade-devel] [PATCH] GtkAssistant, GtkFrame, GtkExpander In-Reply-To: <1212510659.6370.77.camel@peura.elisa-laajakaista.fi> References: <1212510659.6370.77.camel@peura.elisa-laajakaista.fi> Message-ID: <560259cb0806031006n1c7b9a8ei5719cbbec37236d0@mail.gmail.com> Hi, Thankyou so much for taking the time to send us patches :) For the assistant bug, I think there is one filed for it already, please look at the buglist and attach your patch there: http://bugzilla.gnome.org/buglist.cgi?query=product%3Aglade3+ As for the expander and frame children, the problem here is that GtkBuilder uses a different name than libglade - your patch just throws the problem at libglade instead - althrough it should be pretty easy to either get the core to remember and recognize 2 names for child types (i.e. the builder name and the libglade name), or perhaps special case these cases at save/load time in the plugin. Cheers, -Tristan On Tue, Jun 3, 2008 at 1:30 PM, Antti Kaijanm?ki wrote: > Hi, > > I just wanted to send these patches. I'm not sure if they are correct as > I haven't dug very deep inside glade, but these have helped me get on > with my project[1]. > > > fix_gtk_assistant_navigation_after_load.patch: > > * GtkAssistant can't be navigated after a project is loaded from file. > > > ?fix_gtk_frame_label_child_type.patch, > fix_gtk_expander_label_child_type.patch: > > * child types are wrong[2][3] causing GtkBuilder to segfault. > > > best regards, > Antti Kaijanm?ki > > [1] http://www.kaijanmaki.net/blog > [2] http://library.gnome.org/devel/gtk/stable/GtkFrame.html > [3] http://library.gnome.org/devel/gtk/stable/GtkExpander.html > > _______________________________________________ > Glade-devel maillist - Glade-devel at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/glade-devel > > From pokryfka at gmail.com Tue Jun 3 19:44:28 2008 From: pokryfka at gmail.com (=?ISO-8859-2?Q?Micha=B3_Adamczak?=) Date: Wed, 4 Jun 2008 01:44:28 +0200 Subject: [Glade-devel] hiding/removing properties of parent classes Message-ID: <6a4ea87a0806031644j67d90921v2a42041dfe74fa64@mail.gmail.com> Hi I'd like to use glade to generate an xml with layout of my simple not gtk widgets there're just a few basic classes: 1 widow, 1 container + a few other widgets like label, button I added a catalog with a few not gtk widgets, the new classes have gtk parents which is fine as I can easily find corespondig gtk classes (the container is a table) it's all nice an easy in glade-3, now I'd like to hide or remove properties of the parent gtk objects. my simple classes do not need 40 different propieties to set, for example CLabel will do with just a few, like 'name' and 'max_lenght' and these are the only ones I'd like to see in Glade (also I'd be good if only these are written to xml) could you hint me if/how would that be possible? best regards -- Michal From antti at kaijanmaki.net Wed Jun 4 02:00:54 2008 From: antti at kaijanmaki.net (Antti =?ISO-8859-1?Q?Kaijanm=E4ki?=) Date: Wed, 04 Jun 2008 09:00:54 +0300 Subject: [Glade-devel] [PATCH] GtkAssistant, GtkFrame, GtkExpander In-Reply-To: <560259cb0806031006n1c7b9a8ei5719cbbec37236d0@mail.gmail.com> References: <1212510659.6370.77.camel@peura.elisa-laajakaista.fi> <560259cb0806031006n1c7b9a8ei5719cbbec37236d0@mail.gmail.com> Message-ID: <1212559254.6370.97.camel@peura.elisa-laajakaista.fi> ti, 2008-06-03 kello 14:06 -0300, Tristan Van Berkom kirjoitti: > Hi, > Thankyou so much for taking the time to send us patches :) > > For the assistant bug, I think there is one filed for it already, please look > at the buglist and attach your patch there: > http://bugzilla.gnome.org/buglist.cgi?query=product%3Aglade3+ are you refering to this bug?: ?[GtkAssistant (wizard) children are missing COMPLETE property] http://bugzilla.gnome.org/show_bug.cgi?id=529595 It's different bug as it needs an oneliner in gtk+.xml.in . Is there a good reason why the 'complete' property is explicitly disabled?: $ svn blame plugins/gtk+/gtk+.xml.in |grep '' 1001 jpu $ svn log plugins/gtk+/gtk+.xml.in -r 1001 ------------------------------------------------------------------------ r1001 | jpu | 2006-12-06 22:27:58 +0200 (ke, 06 joulu 2006) | 15 lines * configure.in: added AC_CHECK_HEADERS(Python.h) * src/glade-binding.[ch]: scripts indexed by GType name instead of GType this way we do not need glade_util_get_type_from_name() anymore. * src/glade-widget-adaptor.c: fixed regression in gwa_setup_introspected_props_from_pspecs() Interface introduced properties where skipped. * src/glade-gtk.c: Added GtkAssistant support code. * widgets/gtk+.xml.in: Added gtk+ 2.10 widget classes. GtkAssistant, GtkLinkButton, GtkPageSetupUnixDialog, GtkPrintUnixDialog, GtkRecentChooserWidget and GtkRecentChooserDialog. ------------------------------------------------------------------------ If not, I can attach a patch for this. > As for the expander and frame children, the problem here is that GtkBuilder > uses a different name than libglade - your patch just throws the problem at > libglade instead - althrough it should be pretty easy to either get the core > to remember and recognize 2 names for child types (i.e. the builder name > and the libglade name), or perhaps special case these cases at save/load time > in the plugin. I was under the impression that glade is moving to GtkBuilder and libglade has become deprecated. Glade-3 from svn already saves projects as GtkBuilder UI Definitions and libglade from svn does not understand any of it, i.e. there is a problem with libglade already. > Cheers, > -Tristan > > On Tue, Jun 3, 2008 at 1:30 PM, Antti Kaijanm?ki wrote: > > Hi, > > > > I just wanted to send these patches. I'm not sure if they are correct as > > I haven't dug very deep inside glade, but these have helped me get on > > with my project[1]. > > > > > > fix_gtk_assistant_navigation_after_load.patch: > > > > * GtkAssistant can't be navigated after a project is loaded from file. > > > > > > ?fix_gtk_frame_label_child_type.patch, > > fix_gtk_expander_label_child_type.patch: > > > > * child types are wrong[2][3] causing GtkBuilder to segfault. > > > > > > best regards, > > Antti Kaijanm?ki > > > > [1] http://www.kaijanmaki.net/blog > > [2] http://library.gnome.org/devel/gtk/stable/GtkFrame.html > > [3] http://library.gnome.org/devel/gtk/stable/GtkExpander.html > > > > _______________________________________________ > > Glade-devel maillist - Glade-devel at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/glade-devel > > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digitaalisesti allekirjoitettu viestin osa Url : http://lists.ximian.com/pipermail/glade-devel/attachments/20080604/00f5bf36/attachment.bin From tristan.van.berkom at gmail.com Wed Jun 4 10:37:28 2008 From: tristan.van.berkom at gmail.com (Tristan Van Berkom) Date: Wed, 4 Jun 2008 11:37:28 -0300 Subject: [Glade-devel] [PATCH] GtkAssistant, GtkFrame, GtkExpander In-Reply-To: <1212559254.6370.97.camel@peura.elisa-laajakaista.fi> References: <1212510659.6370.77.camel@peura.elisa-laajakaista.fi> <560259cb0806031006n1c7b9a8ei5719cbbec37236d0@mail.gmail.com> <1212559254.6370.97.camel@peura.elisa-laajakaista.fi> Message-ID: <560259cb0806040737t6b5e678od9c28195f1eeee56@mail.gmail.com> On Wed, Jun 4, 2008 at 3:00 AM, Antti Kaijanm?ki wrote: > ti, 2008-06-03 kello 14:06 -0300, Tristan Van Berkom kirjoitti: >> Hi, >> Thankyou so much for taking the time to send us patches :) >> >> For the assistant bug, I think there is one filed for it already, please look >> at the buglist and attach your patch there: >> http://bugzilla.gnome.org/buglist.cgi?query=product%3Aglade3+ > > are you refering to this bug?: > ?[GtkAssistant (wizard) children are missing COMPLETE property] > http://bugzilla.gnome.org/show_bug.cgi?id=529595 > No, I was not reffering to a bug ;-) just saying that from memory I thought there already was one, so it would be better to just attach it there, we usually handle bugs in bugzilla - its easier for me :) > It's different bug as it needs an oneliner in gtk+.xml.in . Is there a > good reason why the 'complete' property is explicitly disabled?: Its a tough question that I havent got around to thinking what our policy should be concerning that - thats why I havent answered it yet. The problem is that "complete" is a property that you would generally set programaticaly, depending on something in the assistant page itself, to show that that page is "currently complete", certainly doesnt fit into what glade does. >> As for the expander and frame children, the problem here is that GtkBuilder >> uses a different name than libglade - your patch just throws the problem at >> libglade instead - althrough it should be pretty easy to either get the core >> to remember and recognize 2 names for child types (i.e. the builder name >> and the libglade name), or perhaps special case these cases at save/load time >> in the plugin. > > I was under the impression that glade is moving to GtkBuilder and > libglade has become deprecated. Glade-3 from svn already saves projects > as GtkBuilder UI Definitions and libglade from svn does not understand > any of it, i.e. there is a problem with libglade already. Glade trunk loads and saves files in libglade format with little or no regressions right now, it also supports conversions between the 2 formats and provides error reports about which widgets/properties are supported in which format/version. (see either the project->properties dialog or the format switch when saving). Because gtkbuilder is preffered, it is the naturally the default format for new projects. Cheers and sincerely thanks for your support, -Tristan From antti at kaijanmaki.net Wed Jun 4 14:31:19 2008 From: antti at kaijanmaki.net (Antti =?ISO-8859-1?Q?Kaijanm=E4ki?=) Date: Wed, 04 Jun 2008 21:31:19 +0300 Subject: [Glade-devel] [PATCH] GtkAssistant, GtkFrame, GtkExpander In-Reply-To: <560259cb0806040737t6b5e678od9c28195f1eeee56@mail.gmail.com> References: <1212510659.6370.77.camel@peura.elisa-laajakaista.fi> <560259cb0806031006n1c7b9a8ei5719cbbec37236d0@mail.gmail.com> <1212559254.6370.97.camel@peura.elisa-laajakaista.fi> <560259cb0806040737t6b5e678od9c28195f1eeee56@mail.gmail.com> Message-ID: <1212604279.6370.124.camel@peura.elisa-laajakaista.fi> ke, 2008-06-04 kello 11:37 -0300, Tristan Van Berkom kirjoitti: > On Wed, Jun 4, 2008 at 3:00 AM, Antti Kaijanm?ki wrote: > > ti, 2008-06-03 kello 14:06 -0300, Tristan Van Berkom kirjoitti: > >> Hi, > >> Thankyou so much for taking the time to send us patches :) > >> > >> For the assistant bug, I think there is one filed for it already, please look > >> at the buglist and attach your patch there: > >> http://bugzilla.gnome.org/buglist.cgi?query=product%3Aglade3+ > > > > are you refering to this bug?: > > ?[GtkAssistant (wizard) children are missing COMPLETE property] > > http://bugzilla.gnome.org/show_bug.cgi?id=529595 > > > > No, I was not reffering to a bug ;-) just saying that from memory I > thought there already was one, so it would be better to just attach > it there, we usually handle bugs in bugzilla - its easier for me :) So, shall I open a new bug or is this handled for now? > > It's different bug as it needs an oneliner in gtk+.xml.in . Is there a > > good reason why the 'complete' property is explicitly disabled?: > > Its a tough question that I havent got around to thinking what our > policy should be concerning that - thats why I havent answered it > yet. > > The problem is that "complete" is a property that you would generally > set programaticaly, depending on something in the assistant page itself, > to show that that page is "currently complete", certainly doesnt fit > into what glade does. True. But in any case an assistant should be navigable inside glade. > >> As for the expander and frame children, the problem here is that GtkBuilder > >> uses a different name than libglade - your patch just throws the problem at > >> libglade instead - althrough it should be pretty easy to either get the core > >> to remember and recognize 2 names for child types (i.e. the builder name > >> and the libglade name), or perhaps special case these cases at save/load time > >> in the plugin. > > > > I was under the impression that glade is moving to GtkBuilder and > > libglade has become deprecated. Glade-3 from svn already saves projects > > as GtkBuilder UI Definitions and libglade from svn does not understand > > any of it, i.e. there is a problem with libglade already. > > Glade trunk loads and saves files in libglade format with little or no > regressions > right now, it also supports conversions between the 2 formats and provides > error reports about which widgets/properties are supported in which > format/version. > (see either the project->properties dialog or the format switch when saving). Well as I said I haven't dug deep inside glade and this was something I didn't know ;P Anyway I now have a custom version of glade-3 that outputs GtkBuilder UI Definitions that I can process with stock gtk. Hopefully this child type gets sorted out during the summer :) -- Antti > Because gtkbuilder is preffered, it is the naturally the default > format for new projects. > > Cheers and sincerely thanks for your support, > -Tristan -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digitaalisesti allekirjoitettu viestin osa Url : http://lists.ximian.com/pipermail/glade-devel/attachments/20080604/86d4a9c3/attachment-0001.bin From juanpablougarte at gmail.com Wed Jun 4 18:53:40 2008 From: juanpablougarte at gmail.com (Juan Pablo Ugarte) Date: Wed, 04 Jun 2008 19:53:40 -0300 Subject: [Glade-devel] Python catalog to support python widgets at runtime Message-ID: <1212620020.3754.11.camel@localhost.localdomain> Hello people. As you probably know the BINDINGS branch have been inactive for a long time. Coming up with a framework to support multiples languages in glade and actually implementing the full gladeui API for such languages is a big job. That said, it does not mean we cant have python widget at runtime! The idea is simple, i have ported the old branch code into a regular glade plugin. So all you have to do is add gladepython as your catalog library and set the init function to glade_python_init() ?glade_python_init() will run a python interpreter and import your python library using the catalog name. btw , the patch is against trunk, but it should work in stable enjoy Juan Pablo -------------- next part -------------- A non-text attachment was scrubbed... Name: pythonplugin.py Type: text/x-python Size: 160 bytes Desc: not available Url : http://lists.ximian.com/pipermail/glade-devel/attachments/20080604/fdc8d149/attachment.py -------------- next part -------------- A non-text attachment was scrubbed... Name: pythonplugin.xml Type: application/xml Size: 444 bytes Desc: not available Url : http://lists.ximian.com/pipermail/glade-devel/attachments/20080604/fdc8d149/attachment.rdf -------------- next part -------------- A non-text attachment was scrubbed... Name: gladepython.patch Type: text/x-patch Size: 11275 bytes Desc: not available Url : http://lists.ximian.com/pipermail/glade-devel/attachments/20080604/fdc8d149/attachment.bin From tristan.van.berkom at gmail.com Fri Jun 6 10:21:08 2008 From: tristan.van.berkom at gmail.com (Tristan Van Berkom) Date: Fri, 6 Jun 2008 16:21:08 +0200 Subject: [Glade-devel] [PATCH] GtkAssistant, GtkFrame, GtkExpander In-Reply-To: <1212604279.6370.124.camel@peura.elisa-laajakaista.fi> References: <1212510659.6370.77.camel@peura.elisa-laajakaista.fi> <560259cb0806031006n1c7b9a8ei5719cbbec37236d0@mail.gmail.com> <1212559254.6370.97.camel@peura.elisa-laajakaista.fi> <560259cb0806040737t6b5e678od9c28195f1eeee56@mail.gmail.com> <1212604279.6370.124.camel@peura.elisa-laajakaista.fi> Message-ID: <560259cb0806060721v711e901fs6643791613b21c6b@mail.gmail.com> On Wed, Jun 4, 2008 at 8:31 PM, Antti Kaijanm?ki wrote: > ke, 2008-06-04 kello 11:37 -0300, Tristan Van Berkom kirjoitti: >> On Wed, Jun 4, 2008 at 3:00 AM, Antti Kaijanm?ki wrote: >> > ti, 2008-06-03 kello 14:06 -0300, Tristan Van Berkom kirjoitti: >> >> Hi, >> >> Thankyou so much for taking the time to send us patches :) >> >> >> >> For the assistant bug, I think there is one filed for it already, please look >> >> at the buglist and attach your patch there: >> >> http://bugzilla.gnome.org/buglist.cgi?query=product%3Aglade3+ >> > >> > are you refering to this bug?: >> > ?[GtkAssistant (wizard) children are missing COMPLETE property] >> > http://bugzilla.gnome.org/show_bug.cgi?id=529595 >> > >> >> No, I was not reffering to a bug ;-) just saying that from memory I >> thought there already was one, so it would be better to just attach >> it there, we usually handle bugs in bugzilla - its easier for me :) > > So, shall I open a new bug or is this handled for now? Dude, if you only knew - I just got off a bus last night in santa cruz de sierra bolivia, I am probably on the run getting out of here, for the lists sake, I wont get into details, suffice it to say I have alot on my mind. Patches that are attached to emails fade into the past, and in cases like this, have a very good chance of getting forgotton. Patches in bugzilla on the other hand, will always eventually be reviewed. Cheers, -Tristan From a.morgantini at selca.it Thu Jun 12 03:49:07 2008 From: a.morgantini at selca.it (MORGANTINI ALESSANDRO) Date: Thu, 12 Jun 2008 09:49:07 +0200 Subject: [Glade-devel] Python catalog to support python widgets at runtime In-Reply-To: <1212620020.3754.11.camel@localhost.localdomain> References: <1212620020.3754.11.camel@localhost.localdomain> Message-ID: <3524CB32FBD28241A0A204FBEB64F28B405762FF@de01ex03.GLOBAL.JHCN.NET> Thank you very much for your patch: it is the thing I was looking for. A question about adaptors: in the old BINDINGS there was the ability to write adaptors in Python. Is it possible with your patch too? Or do I have to write adaptors in C (maybe inserting them into the plugins/python/glade-python.c file)? Another question, but I don't know if it is correct (note that I don't know very well autotools... :-)). Why are there some files (e.g. m4/python.m4) which are in the SVN repository but not in the corresponding .tar.gz archive and, on the other hand, are there some other files (e.g. gtk-doc.make, m4/gtk-doc.m4) which are in the tar.gz archive but not in the repository? This prevents autoreconf from successfully running, without some hacks. Cheers, Alessandro From juanpablougarte at gmail.com Thu Jun 12 08:09:24 2008 From: juanpablougarte at gmail.com (Juan Pablo) Date: Thu, 12 Jun 2008 14:09:24 +0200 Subject: [Glade-devel] Python catalog to support python widgets at runtime In-Reply-To: <3524CB32FBD28241A0A204FBEB64F28B405762FF@de01ex03.GLOBAL.JHCN.NET> References: <1212620020.3754.11.camel@localhost.localdomain> <3524CB32FBD28241A0A204FBEB64F28B405762FF@de01ex03.GLOBAL.JHCN.NET> Message-ID: <4B2A2B3E-FE16-45F5-9416-B079FDF0940C@gmail.com> Sent from my iPhone On Jun 12, 2008, at 9:49, MORGANTINI ALESSANDRO wrote: > Thank you very much for your patch: it is the thing I was looking for. > > A question about adaptors: in the old BINDINGS there was the ability > to > write adaptors in Python. Is it possible with your patch too? No, you can not and that was the whole point why we took out Bindings from the core. It is too much work finish the gladeui binding and even more maintain it > Or do I > have to write adaptors in C (maybe inserting them into the > plugins/python/glade-python.c file) I recomend to fix your library if posible. > > Another question, but I don't know if it is correct (note that I don't > know very well autotools... :-)). Why are there some files (e.g. > m4/python.m4) which are in the SVN repository but not in the > corresponding .tar.gz archive and, on Seems like I missed that in the patch, I will include it when the patch is applied in trunk > the other hand, are there some > other files (e.g. gtk-doc.make, m4/gtk-doc.m4) which are in the tar.gz > archive but not in the repository? This prevents autoreconf from > successfully running, without some hacks. > > Cheers, Alessandro > > _______________________________________________ > Glade-devel maillist - Glade-devel at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/glade-devel From antti at kaijanmaki.net Sat Jun 28 00:24:25 2008 From: antti at kaijanmaki.net (Antti =?ISO-8859-1?Q?Kaijanm=E4ki?=) Date: Sat, 28 Jun 2008 07:24:25 +0300 Subject: [Glade-devel] [PATCH] GtkAssistant, GtkFrame, GtkExpander In-Reply-To: <87zlp6fzwp.fsf@lunareja.lunareja> References: <1212510659.6370.77.camel@peura.elisa-laajakaista.fi> <87zlp6fzwp.fsf@lunareja.lunareja> Message-ID: <1214627065.6624.86.camel@peura.elisa-laajakaista.fi> pe, 2008-06-27 kello 15:20 -0400, Jonathan Gonzalez V. kirjoitti: > Antti Kaijanm?ki writes: > > Hi Antti, > > Can you submit your patch to the bug 540531[1]? sure, thanks! done. > I fill the bug report so the main developers will see the bug and apply > the patch, which btw I tested and works perfectly =) I've been meaning to have a bug-everyone-week during which I open bugs for different problems I've encountered and hopefully I am able to fix them, too. I just haven't got the time. I try to get on with it in a couple of weeks. -- Antti From cxcxcxcx at gmail.com Mon Jun 30 01:28:26 2008 From: cxcxcxcx at gmail.com (Copacabunny) Date: Mon, 30 Jun 2008 13:28:26 +0800 Subject: [Glade-devel] Where can report translation bugs? Message-ID: Hello! I found some bugs in the Chinese translation of glade3. Where (or who) can I report them to? Thanks. ??Wiki????????Linux?????????????????? http://www.linux-wiki.cn/