Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37482321
en ru br
ALT Linux repositórios
S:4.18.3-alt2
5.0: 4.6.1-alt1
4.1: 4.4.3-alt0.M41.1
4.0: 4.4.2-alt0.M40
3.0: 4.2.2-alt1

Group :: Desktop gráfico/XFce
RPM: xfce4-session

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: xfce4-session-4.8.0-ubuntu-correct-shadows.patch
Download


--- xfce4-session/engines/simple/simple.c.orig	2006-09-02 19:27:37.000000000 +0200
+++ xfce4-session/engines/simple/simple.c	2006-10-06 15:19:59.000000000 +0200
@@ -202,7 +202,6 @@
 simple_next (XfsmSplashEngine *engine, const gchar *text)
 {
   Simple *simple = (Simple *) engine->user_data;
-  GdkColor shcolor;
   gint tw, th, tx, ty;
 
   pango_layout_set_text (simple->layout, text, -1);
@@ -220,15 +219,6 @@
 
   gdk_gc_set_clip_rectangle (simple->gc, &simple->textbox);
 
-  /* draw shadow */
-  shcolor.red = (simple->fgcolor.red + simple->bgcolor.red) / 2;
-  shcolor.green = (simple->fgcolor.green + simple->bgcolor.green) / 2;
-  shcolor.blue = (simple->fgcolor.blue + simple->bgcolor.blue) / 2;
-  shcolor.red = (shcolor.red + shcolor.green + shcolor.blue) / 3;
-  shcolor.green = shcolor.red;
-  shcolor.blue = shcolor.red;
-
-  gdk_gc_set_rgb_fg_color (simple->gc, &shcolor);
   gdk_draw_layout (simple->pixmap, simple->gc,
                    tx + 2, ty + 2, simple->layout);
 
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009