Comment 7 for bug 527061

Revision history for this message
Johan Dahlin (jdahlin-deactivatedaccount) wrote :

001 seems to be the right solution if call to app_indicator_new_with_path() with the icon_path parameter set to NULL is identical to a call to app_indicator_new().

002 changes the behavior of the python code for instantiating an app indicator wrapper by calling class, eg appinidicator.AppIndicator(). The .defs s-expression format only allows one constructor (is-constructor-of) per wrapped class.
It is possible to provide additional classmethod functions on the class, eg appindicator.AppIndicator.new_with_path().
But that would make sense iff there's a functional difference between creating an app indicator between app_indicator_new/app_indicator_new_with_path.