discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=59657b2ec686d0cde4211c39506c7463018a7528

commit 59657b2ec686d0cde4211c39506c7463018a7528
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Mon Jun 2 07:29:11 2014 -0400

    set systray xembed background to black
    
    fix T1242
    
     #DealWithIt
---
 src/modules/systray/e_mod_xembed.c | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/modules/systray/e_mod_xembed.c 
b/src/modules/systray/e_mod_xembed.c
index dd7a1c3..9cda684 100644
--- a/src/modules/systray/e_mod_xembed.c
+++ b/src/modules/systray/e_mod_xembed.c
@@ -425,14 +425,11 @@ _systray_xembed_base_create(Instance_Xembed *xembed)
 {
    const Evas_Object *box;
    Evas_Coord x, y;
-   unsigned short r, g, b;
+   unsigned short r = 0, g = 0, b = 0;
    const char *color;
-   Eina_Bool invis = EINA_FALSE;
 
    if (systray_gadcon_get(xembed->inst)->shelf &&
-       (!e_util_strcmp(systray_gadcon_get(xembed->inst)->shelf->style, 
"invisible")))
-     invis = EINA_TRUE;
-   else
+       e_util_strcmp(systray_gadcon_get(xembed->inst)->shelf->style, 
"invisible"))
      {
         color = edje_object_data_get(systray_edje_get(xembed->inst),
                                      systray_style_get(xembed->inst));
@@ -458,8 +455,7 @@ _systray_xembed_base_create(Instance_Xembed *xembed)
    ecore_x_icccm_title_set(xembed->win.base, "noshadow_systray_base");
    ecore_x_icccm_name_class_set(xembed->win.base, "systray", "holder");
    ecore_x_netwm_name_set(xembed->win.base, "noshadow_systray_base");
-   if (!invis)
-     ecore_x_window_background_color_set(xembed->win.base, r, g, b);
+   ecore_x_window_background_color_set(xembed->win.base, r, g, b);
    ecore_x_window_show(xembed->win.base);
 
    return EINA_TRUE;

-- 


Reply via email to