[Xfce4-commits] <xfwm4:master> Change visual of minimized apps in tabwin Remove [] from label and increase saturation a little
Nick Schermer
noreply at xfce.org
Sun Feb 23 21:10:04 CET 2014
Updating branch refs/heads/master
to 03eee566b7afe73a15227e328b179eeac238dc6d (commit)
from e3e437c4445bcfe1dfbf246093982f3e352275be (commit)
commit 03eee566b7afe73a15227e328b179eeac238dc6d
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Sat Jul 13 02:50:09 2013 +0200
Change visual of minimized apps in tabwin
Remove [] from label and increase saturation a little
src/tabwin.c | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/src/tabwin.c b/src/tabwin.c
index dbe9b6c..0890702 100644
--- a/src/tabwin.c
+++ b/src/tabwin.c
@@ -216,14 +216,7 @@ tabwinSetSelected (TabwinWidget *tbw, GtkWidget *w)
NULL);
c = g_object_get_data (G_OBJECT (tbw->selected), "client-ptr-val");
- if (FLAG_TEST (c->flags, CLIENT_FLAG_ICONIFIED))
- {
- classname = g_strdup_printf ("[ %s ]", c->class.res_class);
- }
- else
- {
- classname = g_strdup(c->class.res_class);
- }
+ classname = g_strdup(c->class.res_class);
tabwinSetLabel (tbw, classname, c->name, c->win_workspace);
g_free (classname);
}
@@ -247,7 +240,7 @@ createWindowIcon (Client *c, gint icon_size)
if (FLAG_TEST (c->flags, CLIENT_FLAG_ICONIFIED))
{
icon_pixbuf_stated = gdk_pixbuf_copy (icon_pixbuf);
- gdk_pixbuf_saturate_and_pixelate (icon_pixbuf, icon_pixbuf_stated, 0.25, TRUE);
+ gdk_pixbuf_saturate_and_pixelate (icon_pixbuf, icon_pixbuf_stated, 0.55, TRUE);
gtk_image_set_from_pixbuf (GTK_IMAGE (icon), icon_pixbuf_stated);
g_object_unref(icon_pixbuf_stated);
}
More information about the Xfce4-commits
mailing list