Re: [Glade-users] Converting glade1 files



On Tue, 2004-10-26 at 16:44, Lucas Smithen wrote:
> Heya folks
> 
> I have a project started in glade 1 but want to move it to glade2.  I 
> have tried the libglade-convert script but it doesn't seem to work.  It 
> puts out a fair bit to the console starting with:
> 
> widget convertwidget5 of class GtkList is broken.
> widget convertwidget8 of class GtkList is broken.
> widget convertwidget11 of class GtkList is broken.
> widget convertwidget14 of class GtkList is broken.
> widget convertwidget17 of class GtkList is broken.
> widget convertwidget20 of class GtkList is broken.
> widget convertwidget35 of class GtkList is broken.
> widget convertwidget44 of class GtkList is broken.
> widget convertwidget47 of class GtkList is broken.
> widget convertwidget64 of class GtkList is broken.
> widget convertwidget81 of class GtkList is broken.
> widget convertwidget88 of class GtkList is broken.
> widget convertwidget91 of class GtkList is broken.
> widget convertwidget94 of class GtkList is broken.
> widget convertwidget97 of class GtkList is broken.
> <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
> <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"; >
> 
> <glade-interface>
>    <widget class="GtkWindow" id="Project">
>      <property name="has_default">yes</property>
>      <property name="has_focus">yes</property>
>      <property name="title" translatable="yes">Project</property>
>      <property name="type">GTK_WINDOW_TOPLEVEL</property>
>      <property name="modal">no</property>
>      <property name="default_width">800</property>
>      <property name="default_height">600</property>
>      <property name="allow_shrink">no</property>
>      <property name="allow_grow">yes</property>
>      <property name="width-request">800</property>
>      <property name="height-request">600</property>
>      <property name="window-position">GTK_WIN_POS_NONE</property>
> 
> and much much more.
> 
> Any idea how to get this to work?  Do I need to fix the convertwidget** 
> to get this done properly?

I think the "XXX is broken" messages are just warnings, reminding you to
replace GtkList widgets with the newer GtkTreeView widget.
See the libglade-convert code in libglade.

Does the XML it outputs load into Glade 2 OK?


> Any other method of converting a glade1 to glade2 project?

I don't think so.

Damon





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]