[Xfce4-commits] <xfwm4:ochosi/tabwin> Change visual of minimized apps in tabwin Remove [] from label and increase saturation a little
Simon Steinbeiss
noreply at xfce.org
Sat Jul 13 02:52:02 CEST 2013
Updating branch refs/heads/ochosi/tabwin
to 4a0c465836e06c9e6a2a4d19654cb6158b6661b2 (commit)
from 94e54d48d488d152b2bb1291ce6d7be83efa5cc0 (commit)
commit 4a0c465836e06c9e6a2a4d19654cb6158b6661b2
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 files 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