GNOME Bugzilla – Bug 61142
gtk_file_selection_new() returns realized widget
Last modified: 2004-12-22 21:47:04 UTC
It has been observed that the following sequence: fsw = gtk_file_selection_new(_("Attach file")); gtk_window_set_wmclass(GTK_WINDOW(fsw), "file", "Balsa"); generates a warning: Gtk-WARNING **: shouldn't set wmclass after window is realized! with gtk+-1.2.10 (but not with gtk+-1.2.9). This is believed to be a bug.
Are you using the Ximian-modified GtkFileSel widget with the buttons for different directories? (No significant changes have been made in the official GtkFileSel widget on the stable branch for a long time.)
I confirm that gtk+-1.2.10 rpm package taken from RH roswell does NOT have this bug. I have contacted the original reporter asking for more detailed version information (but I have impression ximian was mentioned). (and thanks for the response!)
I'm seeing the bug with gtk+-1.2.10-ximian.10 So *that* is why the widget has those funny buttons!
Is this the right place for this report, or should it be transferred to bugzilla.ximian.com?
Yes, it needs to go to bugzilla.ximian.com if it's caused by their patches; we specifically did not make that kind of filesel change because it had the potential to break things. Please reopen the report here if it turns out to be a problem in unpatched GTK.