Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
borders.c menus.c
Log Message:
Oops - some fixes to last commit.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/borders.c,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -3 -r1.144 -r1.145
--- borders.c 7 Mar 2004 08:14:24 -0000 1.144
+++ borders.c 7 Mar 2004 11:33:30 -0000 1.145
@@ -708,7 +708,7 @@
ewin->desktop = desks.current;
else
ewin->desktop = DESKTOPS_WRAP_NUM(ewin->desktop);
- DesktopAddEwinToTop(ewin);
+ ConformEwinToDesktop(ewin);
if (init)
init(ewin, ptr); /* Type specific initialisation */
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/menus.c,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -3 -r1.107 -r1.108
--- menus.c 7 Mar 2004 08:14:24 -0000 1.107
+++ menus.c 7 Mar 2004 11:33:30 -0000 1.108
@@ -23,6 +23,7 @@
#define DECLARE_STRUCT_MENU 1
#include "E.h"
+static void MenuRedraw(Menu * m);
static void MenuDrawItem(Menu * m, MenuItem * mi, char shape);
static void FileMenuUpdate(int val, void *data);
@@ -137,7 +138,6 @@
EDBUG_RETURN_;
}
-void MenuRedraw(Menu * m);
static void
MenuMoveResize(EWin * ewin, int resize)
{
@@ -146,7 +146,8 @@
if (!m)
return;
- if (conf.theme.transparency || IclassIsTransparent(m->style->bg_iclass))
+ if ((!m->style->use_item_bg && m->pmm.pmap == 0) ||
+ conf.theme.transparency || IclassIsTransparent(m->style->bg_iclass))
MenuRedraw(m);
}
@@ -824,7 +825,7 @@
EDBUG_RETURN_;
}
-void
+static void
MenuRedraw(Menu * m)
{
int i, w, h;
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs