! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Support Ayatana label
Status:
RESOLVED: MOVED
Product:
Xfce4-statusnotifier-plugin
Component:
General

Comments

Description Andre Miranda editbugs 2018-10-14 00:58:29 CEST
Created attachment 8031 
label-poc.patch

This is a follow up of Bug 14725.

Some apps, such as SafeEyes[1], use AppIndicator and set a label of their indicator.
This label is not handled by statusnotifier-plugin.
The attached path is just a proof-of-concept, that replaces the title in tooltip by label.
A sample application is provided in Bug 14725.

1 - https://github.com/slgobinath/SafeEyes
Comment 1 Andre Miranda editbugs 2018-10-14 01:08:16 CEST
If anyone is interest in expanding my lousy patch into something useful, I think the steps are:

- sn-item.[c|h] implement sn_item_get_label
- sn-icon-box.c add a GtkLabel for that label in sn_icon_box_new
- update sn_icon_box_get_preferred_size so it takes the label width into account
- probably add a signal to act upon label changes
Comment 2 Git Bot editbugs 2020-05-23 00:47:47 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-statusnotifier-plugin/-/issues/5.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #14759

Reported by:
Andre Miranda
Reported on: 2018-10-14
Last modified on: 2020-05-23

People

Assignee:
Viktor Odintsev
CC List:
1 user

Version

Version:
unspecified

Attachments

label-poc.patch (1.54 KB, patch)
2018-10-14 00:58 CEST , Andre Miranda
no flags

Additional information