Enlightenment CVS committal
Author : handyande
Project : misc
Module : engage
Dir : misc/engage/src/module
Modified Files:
e_mod_main.c
Log Message:
Tidies
add iconified emblems
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/module/e_mod_main.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- e_mod_main.c 7 Mar 2005 11:31:51 -0000 1.21
+++ e_mod_main.c 9 Mar 2005 14:11:44 -0000 1.22
@@ -13,7 +13,6 @@
* * hook up event callbacks for Engage_App_Icon s
* * store ignore list in config
* * fix mouse overs etc to reach all the sub icons
- * * add emblems to show what is iconified and what is running
*
* * pick up iconified apps and running apps on startup
* * zoom and unzoom (eb->zoom from 1.0 to conf->zoom_factor) on timer
@@ -764,6 +763,8 @@
edje_object_signal_emit(ai->bg_object, "passive", "");
edje_object_signal_emit(ai->overlay_object, "passive", "");
+ if (ai->min)
+ edje_object_signal_emit(ai->overlay_object, "iconify", "");
return ai;
}
@@ -935,12 +936,13 @@
if (ai->border == e->border)
{
ai->min = 1;
+ edje_object_signal_emit(ai->overlay_object, "iconify", "");
return 0;
}
icons = icons->next;
}
/* fallback, is this needed? */
- ai = _engage_app_icon_new(ic, e->border, 1);
+// ai = _engage_app_icon_new(ic, e->border, 1);
}
static int
@@ -959,9 +961,6 @@
if (e->border->container != eb->con)
return;
- /* FIXME we can remove this when this is a real iconify event */
- if (!e->border->iconic)
- return;
app = e_app_window_name_class_find(e->border->client.icccm.name,
e->border->client.icccm.class);
if (!app)
@@ -977,12 +976,13 @@
if (ai->min && ai->border == e->border)
{
ai->min = 0;
+ edje_object_signal_emit(ai->overlay_object, "uniconify", "");
return;
}
icons = icons->next;
}
/* fallback, is this needed? */
- ai = _engage_app_icon_new(ic, e->border, 0);
+// ai = _engage_app_icon_new(ic, e->border, 0);
}
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs