Has the Appindicator or GtkMenu API changed in Saucy?
        Posted  
        
            by 
                marxjohnson
            
        on Ask Ubuntu
        
        See other posts from Ask Ubuntu
        
            or by marxjohnson
        
        
        
        Published on 2013-10-23T18:59:26Z
        Indexed on 
            2013/10/30
            16:12 UTC
        
        
        Read the original article
        Hit count: 242
        
I've written a custom application indicator, which isn't working properly on saucy.
The menu is initialised with a few items, then updates regularly, adding or removing menu items.
This worked fine <13.10, but on 13.10, the line that adds the menu to the indicator produces the following warning:
Warning: /build/buildd/glib2.0-2.38.0/./gobject/gsignal.c:2475: signal 'child-added' is invalid for instance '0x24390e0' of type 'GtkMenu'
self.ind.set_menu(self.menu)
And the items added to the menu subsequently dont appear.
A bug has been filed against several indicators for the same problem, but it's not clear to me whether this is a problem with the indicators as a result of an API change, or a bug in the GTK or Appindicator libraries. Does anyone know?
© Ask Ubuntu or respective owner