[Glade-devel] glade-3 from CVS bug
- From: fernando at cmartins.demon.nl (Fernando Martins)
- Subject: [Glade-devel] glade-3 from CVS bug
- Date: Mon Mar 13 14:36:27 2006
Hi,
I was trying out glade3 from CVS and I've made a very simple window with a
label on it.
I've made the window visible (why is it not visible by default?) but glade3
doesn't store this change on the glade file (among others). See what I get
in the XML below. I opened the glade file from glade2 changed property
"visible" to true saved the file (see below) and this glade file is working
fine.
I don't have GTK experience, so I might be missing so inchantation, but it
simply seems several XML elements are not saved by glade3.
Regards,
Fernando Martins
=== XML created from glade3:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
<glade-interface>
<widget class="GtkWindow" id="serverinfo">
<property name="title">Testing</property>
<signal name="destroy" handler="on_serverinfo_destroy"/>
<child>
<widget class="GtkLabel" id="label1">
<property name="label">Testing</property>
</widget>
</child>
</widget>
</glade-interface>
=== Same file with one single edition from glade2:
<?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="serverinfo">
<property name="visible">True</property>
<property name="title">Testing</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">False</property>
<property name="resizable">True</property>
<property name="destroy_with_parent">False</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="focus_on_map">True</property>
<property name="urgency_hint">False</property>
<signal name="destroy" handler="on_serverinfo_destroy"/>
<child>
<widget class="GtkLabel" id="label1">
<property name="label">Testing</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
</child>
</widget>
</glade-interface>
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]