! 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 !
Allow define icon or use xfce-clipboard icon instead generic copy
Status:
RESOLVED: WORKSFORME
Product:
Xfce4-clipman-plugin
Component:
X11 clipboard manager

Comments

Description jEsuSdA 2013-08-13 12:40:40 CEST
Created attachment 5122 
Screenshot

The XFCE Clipboard uses the generic "copy" icon (same as EDIT > COPY apps option) and this may cause some visualization problems when usin hybrid gtk themes or themes with dark background pannels.

Some icon themes who has hybrid and dark background pannel support uses dark icons to menu and button actions and white icons for pannel. So all looks great!.

But if you use the "copy" icon (who is black on these themes) as a pannel icon (where pannel backgroun is dark too) the XFCE Clipboard icon does not visualize well (is black over a dark pannel).

So, I think there are 2 posible solution:

1 - Allow user manually select the icon (via preferences).
2 - Try to load a xfce-clipboard icon and if not found, then, load the "copy" one.


Please consider this problem and these solutions. ;)
Thanks for your work!
jEsuSdA 8)
Comment 1 Mike Massonnet editbugs 2014-02-02 13:00:47 CET
it already has a custom icon name, clipman, and falls back to the stock icon when unavailable

8<======================
  if (gtk_icon_theme_has_icon (icon_theme, "clipman"))
    {
      plugin->image = xfce_panel_image_new_from_source ("clipman");
    }
  else
    {
      plugin->image = xfce_panel_image_new_from_source (GTK_STOCK_PASTE);
    }
======================>8

you can place a custom icon inside ~/.icons/hicolor/ named clipman.png
Comment 2 jEsuSdA 2014-02-03 19:00:19 CET
Thank you!
It is a great solution! ;)

Bug #10298

Reported by:
jEsuSdA
Reported on: 2013-08-13
Last modified on: 2014-02-03

People

Assignee:
Mike Massonnet
CC List:
1 user

Version

Version:
unspecified

Attachments

Screenshot (8.45 KB, image/png)
2013-08-13 12:40 CEST , jEsuSdA
no flags

Additional information