145
157
void set_icon(gboolean enabled)
148
159
const char *_tooltip = enabled ? _("Bluetooth: Enabled") : _("Bluetooth: Disabled");
150
163
if (statusicon == NULL) {
154
165
tooltip = g_strdup (_tooltip);
157
168
gtk_status_icon_set_tooltip_markup(statusicon, _tooltip);