Re: dynamically changing the text of a GtkMenuItem

2002-03-21 Thread Havoc Pennington
Paul Davis <[EMAIL PROTECTED]> writes: > i have a menu which as 2 item that potentially need updating every > time it is displayed (its a submenu of a menubar). at the moment, i > connect to the map_event, remove (and delete) all the items, recreate > new items, and return FALSE. this works, but

dynamically changing the text of a GtkMenuItem

2002-03-21 Thread Paul Davis
i have a menu which as 2 item that potentially need updating every time it is displayed (its a submenu of a menubar). at the moment, i connect to the map_event, remove (and delete) all the items, recreate new items, and return FALSE. this works, but after a couple of rounds of this, i start to mes