diff options
author | Juan Pablo Ugarte <jpu@src.gnome.org> | 2006-08-16 20:35:54 +0000 |
---|---|---|
committer | Juan Pablo Ugarte <jpu@src.gnome.org> | 2006-08-16 20:35:54 +0000 |
commit | 37b805c49a5dae7396711ea1d2b5c0b7e786c199 (patch) | |
tree | 2ed404402e7ada4c71fcc10a4cebd91f7c72f6e0 /widgets | |
parent | c74ca729cb6240f1a4adca1157e836a5c1a46953 (diff) | |
download | glade-37b805c49a5dae7396711ea1d2b5c0b7e786c199.tar.gz |
fixed bug 345604 "Pasting a widget does not paste the packing options"
* src/glade-command.c: fixed bug 345604
"Pasting a widget does not paste the packing options"
* src/glade-property-class.[ch]: added transfer_on_paste property to
GladePropertyClass.
* src/glade-widget.[ch]: exported glade_widget_dup_properties()
* src/glade.h added GLADE_TAG_TRANSFER_ON_PASTE tag.
* widgets/gtk+.xml.in: set transfer-on-paste on corresponding packing
properties.
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/gtk+.xml.in | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/widgets/gtk+.xml.in b/widgets/gtk+.xml.in index d36a46d9..c217effd 100644 --- a/widgets/gtk+.xml.in +++ b/widgets/gtk+.xml.in @@ -114,12 +114,15 @@ <remove-child-function>glade_gtk_box_remove_child</remove-child-function> <child-set-property-function>glade_gtk_box_set_child_property</child-set-property-function> <properties> - <property id="pack-type"> + <property id="expand" transfer-on-paste="True"/> + <property id="fill" transfer-on-paste="True"/> + <property id="pack-type" transfer-on-paste="True"> <displayable-values> <value id="GTK_PACK_START" _name="Start"/> <value id="GTK_PACK_END" _name="End"/> </displayable-values> </property> + <property id="padding" transfer-on-paste="True"/> </properties> </child> </children> @@ -338,6 +341,8 @@ <spec>glade_standard_int_spec</spec> <_tooltip>The position of the tool item in the toolbar</_tooltip> </property> + <property id="expand" transfer-on-paste="True"/> + <property id="homogeneous" transfer-on-paste="True"/> </properties> </child> </children> @@ -786,20 +791,22 @@ <remove-child-function>glade_gtk_table_remove_child</remove-child-function> <replace-child-function>glade_gtk_table_replace_child</replace-child-function> <properties> - <property id="x-options"> + <property id="x-options" transfer-on-paste="True"> <displayable-values> <value id="GTK_EXPAND" _name="Expand"/> <value id="GTK_SHRINK" _name="Shrink"/> <value id="GTK_FILL" _name="Fill"/> </displayable-values> </property> - <property id="y-options"> + <property id="y-options" transfer-on-paste="True"> <displayable-values> <value id="GTK_EXPAND" _name="Expand"/> <value id="GTK_SHRINK" _name="Shrink"/> <value id="GTK_FILL" _name="Fill"/> </displayable-values> </property> + <property id="x-padding" transfer-on-paste="True"/> + <property id="y-padding" transfer-on-paste="True"/> <property id="right-attach"> <verify-function>glade_gtk_table_verify_right_attach</verify-function> </property> @@ -824,6 +831,10 @@ <type>GtkWidget</type> <add-child-function>glade_gtk_paned_add_child</add-child-function> <remove-child-function>glade_gtk_paned_remove_child</remove-child-function> + <properties> + <property id="resize" transfer-on-paste="True"/> + <property id="shrink" transfer-on-paste="True"/> + </properties> </child> </children> </glade-widget-class> |