Re: [Gtk-osx-users] menu synchronisation



John Ralls wrote:

> OK, I get it.
> 
> You can try moving
>     if (GTK_IS_CHECK_MENU_ITEM (menu_item))
> 	carbon_menu_item_update_active (carbon_item, menu_item);
> 
>  from 630 in carbon_menu_item_create, to 932 in sync_menu_shell before 
> 	if (GTK_IS_CHECK_MENU_ITEM(carbon_item) && carbon_item
> 	if (!carbon_item->submenu) {
> 	    carbon_index++;
> 	    continue;
> 	}

tried that, and I added a g_print() to carbon_menu_item_update_active()
to show the state that needs to be set. In the console I see a lot of
'active=1', but none of the menu items is actually showing an activated
state... Any ideas?

Olivier




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]