Codebase list xapp / 0d1cb7a
sn-item: Remove support for XAyatanaLabel. It's unsupported by other providers, and although appindicator source shows it being updated, it's causing a segfault when trying to unpack the XAyatanaLabel property. Michael Webster 3 years ago
2 changed file(s) with 3 addition(s) and 20 deletion(s). Raw diff Collapse all Expand all
587587 {
588588 g_autoptr(GVariant) tt_var;
589589
590 if (item->is_ai)
591 {
592 gchar *text;
593
594 text = get_string_property (item, "XAyatanaLabel");
595
596 if (text)
597 {
598 xapp_status_icon_set_tooltip_text (item->status_icon, text);
599 g_debug ("Tooltip text from XAyatanaLabel: %s", text);
600
601 g_free (text);
602 return;
603 }
604 }
605
606590 tt_var = get_property (item, "ToolTip");
607591
608592 if (tt_var)
724708 update_menu (item);
725709 }
726710 else
727 if (g_strcmp0 (signal_name, "XAyatanaNewLabel") ||
728 g_strcmp0 (signal_name, "NewToolTip") ||
711 if (g_strcmp0 (signal_name, "NewToolTip") ||
729712 g_strcmp0 (signal_name, "NewTitle"))
730713 {
731714 update_tooltip (item);
7070 <!-- These are commented out because GDBusProxy would otherwise require them,
7171 but they are not available for KDE indicators
7272 -->
73 <signal name="XAyatanaNewLabel">
73 <!-- <signal name="XAyatanaNewLabel">
7474 <arg type="s" name="label" direction="out" />
7575 <arg type="s" name="guide" direction="out" />
7676 </signal>
7777 <property name="XAyatanaLabel" type="s" access="read" />
7878 <property name="XAyatanaLabelGuide" type="s" access="read" />
7979
80
80 -->
8181 </interface>
8282 </node>