The gtk change is not enough, I tried ted's update for indicator-application, now the devices are correctly updated but the "visible" entry is not, it display such warnings on the command line:
"#0 IA__g_logv (log_domain=<value optimized out>,
log_level=G_LOG_LEVEL_CRITICAL,
format=0x9690f9 "%s: assertion `%s' failed", args1=0xbfffdf8c "`\355\031")
at glib2.0/build-area/glib2.0-2.25.7/glib/gmessages.c:555
#1 0x009237e6 in IA__g_log (log_domain=0x19e8ea "LIBDBUSMENU-GLIB",
log_level=G_LOG_LEVEL_CRITICAL,
format=0x9690f9 "%s: assertion `%s' failed")
at glib2.0/build-area/glib2.0-2.25.7/glib/gmessages.c:569
#2 0x00923a4b in IA__g_return_if_fail_warning (
log_domain=0x19e8ea "LIBDBUSMENU-GLIB",
pretty_function=0x19ed60 "dbusmenu_menuitem_property_set_value",
expression=0x19e8d1 "DBUSMENU_IS_MENUITEM(mi)")
at glib2.0/build-area/glib2.0-2.25.7/glib/gmessages.c:584
#3 0x00197a0f in dbusmenu_menuitem_property_set_value (mi=0x80ee678,
property=0x19149e "visible", value=0xbfffe01c) at menuitem.c:931
#4 0x00197c0e in dbusmenu_menuitem_property_set_bool (mi=0x80ee678,
property=0x19149e "visible", value=0) at menuitem.c:885
#5 0x0018e65e in widget_notify_cb (widget=0x81044f0, pspec=0x809fef0,
data=0x80ee678) at libappindicator/app-indicator.c:1239
#6 0x008a9c9c in IA__g_cclosure_marshal_VOID__PARAM (closure=0x8118788,
---Type <return> to continue, or q <return> to quit---
return_value=0x0, n_param_values=2, param_values=0x80fc6c8,
invocation_hint=0xbfffe1d0, marshal_data=0x18e550)
at glib2.0/build-area/glib2.0-2.25.7/gobject/gmarshal.c:531
#7 0x0089b362 in IA__g_closure_invoke (closure=0x8118788, return_value=0x0,
n_param_values=2, param_values=0x80fc6c8, invocation_hint=0xbfffe1d0)
at glib2.0/build-area/glib2.0-2.25.7/gobject/gclosure.c:767
#8 0x008b2a8d in signal_emit_unlocked_R (node=<value optimized out>,
detail=<value optimized out>, instance=0x81044f0, emission_return=0x0,
instance_and_params=0x80fc6c8)
at glib2.0/build-area/glib2.0-2.25.7/gobject/gsignal.c:3248
#9 0x008b40f4 in IA__g_signal_emit_valist (instance=0x81044f0, signal_id=1,
detail=250, var_args=0xbfffe390 "$\205\232")
at glib2.0/build-area/glib2.0-2.25.7/gobject/gsignal.c:2981
#10 0x008b4856 in IA__g_signal_emit (instance=0x81044f0, signal_id=1,
detail=250)
at glib2.0/build-area/glib2.0-2.25.7/gobject/gsignal.c:3038
#11 0x0089f901 in g_object_dispatch_properties_changed (object=0x81044f0,
n_pspecs=1, pspecs=0xbfffe400)
---Type <return> to continue, or q <return> to quit---
at glib2.0/build-area/glib2.0-2.25.7/gobject/gobject.c:801
#12 0x0089c09f in g_object_notify_dispatcher (object=0x81044f0, n_pspecs=1,
pspecs=0xbfffe400)
at glib2.0/build-area/glib2.0-2.25.7/gobject/gobject.c:328
#13 0x008a1e93 in g_object_notify_queue_thaw (object=0x81044f0,
property_name=0x55a8e0 "visible")
at glib2.0/build-area/glib2.0-2.25.7/gobject/gobjectnotifyqueue.c:120
#14 IA__g_object_notify (object=0x81044f0, property_name=0x55a8e0 "visible")
at glib2.0/build-area/glib2.0-2.25.7/gobject/gobject.c:888
#15 0x0041532e in IA__gtk_widget_hide (widget=0x81044f0)
at /build/buildd/gtk+2.0-2.20.1/gtk/gtkwidget.c:3280
#16 0x00402e52 in update_smart_separators (proxy=0x80d8cc8)
at /build/buildd/gtk+2.0-2.20.1/gtk/gtkuimanager.c:2213
#17 0x00403be8 in update_node (self=<value optimized out>,
node=<value optimized out>, in_popup=1, popup_accels=0)
at /build/buildd/gtk+2.0-2.20.1/gtk/gtkuimanager.c:2791
#18 0x0040306f in update_node (self=<value optimized out>,
node=<value optimized out>, in_popup=1, popup_accels=0)
at /build/buildd/gtk+2.0-2.20.1/gtk/gtkuimanager.c:2785
---Type <return> to continue, or q <return> to quit---
#19 0x0040306f in update_node (self=<value optimized out>,
node=<value optimized out>, in_popup=1, popup_accels=0)
at /build/buildd/gtk+2.0-2.20.1/gtk/gtkuimanager.c:2785
#20 0x0040306f in update_node (self=<value optimized out>,
node=<value optimized out>, in_popup=0, popup_accels=0)
at /build/buildd/gtk+2.0-2.20.1/gtk/gtkuimanager.c:2785
#21 0x00404188 in do_updates (self=0x80c7118)
at /build/buildd/gtk+2.0-2.20.1/gtk/gtkuimanager.c:2827
#22 IA__gtk_ui_manager_ensure_update (self=0x80c7118)
at /build/buildd/gtk+2.0-2.20.1/gtk/gtkuimanager.c:2882
#23 0x0804e90d in _start ()"
The gtk change is not enough, I tried ted's update for indicator- application, now the devices are correctly updated but the "visible" entry is not, it display such warnings on the command line:
"#0 IA__g_logv (log_domain=<value optimized out>, level=G_ LOG_LEVEL_ CRITICAL, build-area/ glib2.0- 2.25.7/ glib/gmessages. c:555 0x19e8ea "LIBDBUSMENU-GLIB", level=G_ LOG_LEVEL_ CRITICAL, build-area/ glib2.0- 2.25.7/ glib/gmessages. c:569 if_fail_ warning ( domain= 0x19e8ea "LIBDBUSMENU-GLIB", function= 0x19ed60 "dbusmenu_ menuitem_ property_ set_value" , 0x19e8d1 "DBUSMENU_ IS_MENUITEM( mi)") build-area/ glib2.0- 2.25.7/ glib/gmessages. c:584 menuitem_ property_ set_value (mi=0x80ee678, 0x19149e "visible", value=0xbfffe01c) at menuitem.c:931 menuitem_ property_ set_bool (mi=0x80ee678, 0x19149e "visible", value=0) at menuitem.c:885 /app-indicator. c:1239 marshal_ VOID__PARAM (closure=0x8118788, value=0x0, n_param_values=2, param_values= 0x80fc6c8, hint=0xbfffe1d0 , marshal_ data=0x18e550) build-area/ glib2.0- 2.25.7/ gobject/ gmarshal. c:531 invoke (closure=0x8118788, return_value=0x0, values= 2, param_values= 0x80fc6c8, invocation_ hint=0xbfffe1d0 ) build-area/ glib2.0- 2.25.7/ gobject/ gclosure. c:767 emit_unlocked_ R (node=<value optimized out>, return= 0x0, and_params= 0x80fc6c8) build-area/ glib2.0- 2.25.7/ gobject/ gsignal. c:3248 emit_valist (instance= 0x81044f0, signal_id=1, build-area/ glib2.0- 2.25.7/ gobject/ gsignal. c:2981 0x81044f0, signal_id=1, build-area/ glib2.0- 2.25.7/ gobject/ gsignal. c:3038 dispatch_ properties_ changed (object=0x81044f0, build-area/ glib2.0- 2.25.7/ gobject/ gobject. c:801 notify_ dispatcher (object=0x81044f0, n_pspecs=1, 0xbfffe400) build-area/ glib2.0- 2.25.7/ gobject/ gobject. c:328 notify_ queue_thaw (object=0x81044f0, name=0x55a8e0 "visible") build-area/ glib2.0- 2.25.7/ gobject/ gobjectnotifyqu eue.c:120 name=0x55a8e0 "visible") build-area/ glib2.0- 2.25.7/ gobject/ gobject. c:888 buildd/ gtk+2.0- 2.20.1/ gtk/gtkwidget. c:3280 smart_separator s (proxy=0x80d8cc8) buildd/ gtk+2.0- 2.20.1/ gtk/gtkuimanage r.c:2213 buildd/ gtk+2.0- 2.20.1/ gtk/gtkuimanage r.c:2791 buildd/ gtk+2.0- 2.20.1/ gtk/gtkuimanage r.c:2785 buildd/ gtk+2.0- 2.20.1/ gtk/gtkuimanage r.c:2785 buildd/ gtk+2.0- 2.20.1/ gtk/gtkuimanage r.c:2785 buildd/ gtk+2.0- 2.20.1/ gtk/gtkuimanage r.c:2827 ui_manager_ ensure_ update (self=0x80c7118) buildd/ gtk+2.0- 2.20.1/ gtk/gtkuimanage r.c:2882
log_
format=0x9690f9 "%s: assertion `%s' failed", args1=0xbfffdf8c "`\355\031")
at glib2.0/
#1 0x009237e6 in IA__g_log (log_domain=
log_
format=0x9690f9 "%s: assertion `%s' failed")
at glib2.0/
#2 0x00923a4b in IA__g_return_
log_
pretty_
expression=
at glib2.0/
#3 0x00197a0f in dbusmenu_
property=
#4 0x00197c0e in dbusmenu_
property=
#5 0x0018e65e in widget_notify_cb (widget=0x81044f0, pspec=0x809fef0,
data=0x80ee678) at libappindicator
#6 0x008a9c9c in IA__g_cclosure_
---Type <return> to continue, or q <return> to quit---
return_
invocation_
at glib2.0/
#7 0x0089b362 in IA__g_closure_
n_param_
at glib2.0/
#8 0x008b2a8d in signal_
detail=<value optimized out>, instance=0x81044f0, emission_
instance_
at glib2.0/
#9 0x008b40f4 in IA__g_signal_
detail=250, var_args=0xbfffe390 "$\205\232")
at glib2.0/
#10 0x008b4856 in IA__g_signal_emit (instance=
detail=250)
at glib2.0/
#11 0x0089f901 in g_object_
n_pspecs=1, pspecs=0xbfffe400)
---Type <return> to continue, or q <return> to quit---
at glib2.0/
#12 0x0089c09f in g_object_
pspecs=
at glib2.0/
#13 0x008a1e93 in g_object_
property_
at glib2.0/
#14 IA__g_object_notify (object=0x81044f0, property_
at glib2.0/
#15 0x0041532e in IA__gtk_widget_hide (widget=0x81044f0)
at /build/
#16 0x00402e52 in update_
at /build/
#17 0x00403be8 in update_node (self=<value optimized out>,
node=<value optimized out>, in_popup=1, popup_accels=0)
at /build/
#18 0x0040306f in update_node (self=<value optimized out>,
node=<value optimized out>, in_popup=1, popup_accels=0)
at /build/
---Type <return> to continue, or q <return> to quit---
#19 0x0040306f in update_node (self=<value optimized out>,
node=<value optimized out>, in_popup=1, popup_accels=0)
at /build/
#20 0x0040306f in update_node (self=<value optimized out>,
node=<value optimized out>, in_popup=0, popup_accels=0)
at /build/
#21 0x00404188 in do_updates (self=0x80c7118)
at /build/
#22 IA__gtk_
at /build/
#23 0x0804e90d in _start ()"