GtkSeparatorMenuItem hack in _gtk_menu_item_is_selectable()
- From: Murray Cumming Comneon com
- To: gtk-devel-list gnome org
- Cc: glade-devel lists ximian com
- Subject: GtkSeparatorMenuItem hack in _gtk_menu_item_is_selectable()
- Date: Thu, 22 Jan 2004 11:45:07 +0100
As I discovered here,
http://bugzilla.gnome.org/show_bug.cgi?id=130570
there is a hack in GTK+ in _gtk_menu_item_is_selectable() to allow
glade/libglade to use GtkMenuItems without labels, instead of
GtkSeparatorMenuItems, for separator menu items:
http://cvs.gnome.org/lxr/source/gtk+/gtk/gtkmenuitem.c#1381
Changing the .glade files to use GtkSeparatorMenuItems seems to work, so I
wonder why this hack exists. I'd like to fix glade so that C++ developers
don't need to edit the .glade file manually:
http://bugzilla.gnome.org/show_bug.cgi?id=129848
Murray Cumming
www.murrayc.com
murrayc usa net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]