[Patch] Force custom icon for application
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Awn |
Won't Fix
|
Medium
|
moonbeam |
Bug Description
This is small patch I've made to force custom icons for selected applications. In version 0.3.2.1 there's option "Change icon" on right click, but:
1. It depends on window's name which tends to change.
2. It doesn't work without xfce and/or gnome because $HOME isn't appended to search path for icon.
#ifdef LIBAWN_USE_GNOME
uri = gnome_util_
#elif defined(
uri = g_string_free (g_string_prepend (name, g_get_home_dir ()), FALSE);
+#else
+ uri = g_string_free (g_string_prepend (name, getenv("HOME")), FALSE);
#endif
I've added new fuction awn_x_get_
There's no option to select class-related icon, user has to manually copy file to $HOME/.
p.s.
Thanks for AWN, it's great.
Changed in awn: | |
assignee: | nobody → moonbeam (rcryderman) |
Thanks for the patch (I'm to blame for forgetting the desktop-agnostic code, oddly
enough). However, this patch is kind of obsolete now, as we're totally rewriting
the dock's underlying code, including this section. In fact, according to one of
the developers who works on the taskmanager, it pays more attention to X properties
now. We haven't yet gotten to the custom icon implementation, so we're leaving this
bug open.
Thanks again!