After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 614782 - Glade do not save <property name="name">
Glade do not save <property name="name">
Status: RESOLVED DUPLICATE of bug 591076
Product: glade
Classification: Applications
Component: bindings
3.6.x
Other Linux
: Normal major
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-04-03 23:57 UTC by rogerioferro
Modified: 2011-10-12 08:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description rogerioferro 2010-04-03 23:57:20 UTC
Glade do not save <property name="name"> on gtkbuilder 
and the function gtk_widget_get_name do not work.
Comment 1 unanao 2011-03-07 13:25:23 UTC
I also encouter the same problem.
Below is the related code:

	window = GTK_WIDGET(gtk_builder_get_object(builder, "window"));	
	quit = GTK_TOOL_ITEM(gtk_builder_get_object(builder, "quit"));
	undo = (gtk_builder_get_object(builder, "undo"));
	redo = GTK_TOOL_ITEM(gtk_builder_get_object(builder, "redo"));
	//undo = (gtk_builder_get_object(builder, "undo"));
	//redo = (gtk_builder_get_object(builder, "redo"));
	//printf below is used for debugging
	printf("undo: %s\n", gtk_widget_get_name(undo));
	printf("quit: %s\n", gtk_widget_get_name(quit));
	printf("window: %s\n", gtk_widget_get_name(window));

The printf  got:
       undo: GtkToolButton
       quit: GtkToolButton
       window: GtkWindow
In fact, it should got the name of the object,but got the properties.

unanao@debian:~/Experiment/gui/menu-toolbars$ glade --version
glade3 3.6.7
unanao@debian:~/Experiment/gui/menu-toolbars$ uname -a
Linux debian 2.6.32-5-amd64 #1 SMP Wed Jan 12 03:40:32 UTC 2011 x86_64 GNU/Linux
Comment 2 Tristan Van Berkom 2011-10-12 08:30:07 UTC

*** This bug has been marked as a duplicate of bug 591076 ***