]> git.tdb.fi Git - ext/subsurface.git/commit
gtk_combo_box_entries and empty text
authorLubomir I. Ivanov <neolit123@gmail.com>
Thu, 3 Nov 2011 20:44:04 +0000 (22:44 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 13 Nov 2011 17:10:14 +0000 (15:10 -0200)
commitf826470d32c48b398a00fb6f7690877e46217927
tree53f5b3337979b306096f6780ca19718611d9f303
parent5c2fca262043992783551eceebc81c1f589b185b
gtk_combo_box_entries and empty text

Passing -1 to gtk_combo_box_set_active, seems not to work as the gtk
documentation explains; there might be a bug in the library or some
special case that is not explained.

could be related to:
  http://mail.gnome.org/archives/gtk-devel-list/2004-March/msg00170.html

passing \n seems to "trick" the cell renderer to clear the entry
completely.  This is a temporary solution.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
info.c