Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
menus.c
Log Message:
Re-render menus after changing theme trans to 0.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/menus.c,v
retrieving revision 1.228
retrieving revision 1.229
diff -u -3 -r1.228 -r1.229
--- menus.c 16 Jan 2006 12:45:56 -0000 1.228
+++ menus.c 28 Jan 2006 12:01:07 -0000 1.229
@@ -1074,6 +1074,22 @@
TooltipsEnable(1);
}
+static void
+MenusTouch(void)
+{
+ Menu *m, **lst;
+ int i, num;
+
+ lst = (Menu **) ListItemType(&num, LIST_TYPE_MENU);
+ for (i = 0; i < num; i++)
+ {
+ m = lst[i];
+ m->redraw = 1;
+ }
+ if (lst)
+ Efree(lst);
+}
+
/*
* Menu event handlers
*/
@@ -1975,6 +1991,10 @@
if ((EWin *) prm == Mode_menus.context_ewin)
MenusHide();
break;
+
+ case ESIGNAL_THEME_TRANS_CHANGE:
+ MenusTouch();
+ break;
}
}
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs