Enlightenment CVS committal
Author : codewarrior
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_fileman_smart.c
Log Message:
- close typebuffer if we click on an icon (mouse up) or on the canvas (mouse
down). the reason i have mouse up on the icon is that sometimes you click and
wait (read it or look at it) then raise you finger off the mouse button. this
doesnt apply to the bg because then you can click and drag to show the rubber
band so we hide it directly.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_fileman_smart.c,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -3 -r1.100 -r1.101
--- e_fileman_smart.c 8 Nov 2005 00:53:33 -0000 1.100
+++ e_fileman_smart.c 8 Nov 2005 13:19:46 -0000 1.101
@@ -1739,6 +1739,12 @@
ev = event_info;
sd = data;
+ if(!strcmp(edje_object_part_state_get(sd->edje_obj, "typebuffer", NULL),
"shown"))
+ {
+ edje_object_signal_emit(sd->edje_obj, "typebuf_hide", "");
+ edje_object_part_text_set(sd->edje_obj, "text", "");
+ }
+
switch (ev->button)
{
case 1:
@@ -1940,7 +1946,7 @@
sd = data;
ev = event_info;
-
+
if (sd->selection.band.enabled)
{
sd->selection.band.enabled = 0;
@@ -2127,6 +2133,12 @@
ev = event_info;
icon = data;
+ if(!strcmp(edje_object_part_state_get(icon->sd->edje_obj, "typebuffer",
NULL), "shown"))
+ {
+ edje_object_signal_emit(icon->sd->edje_obj, "typebuf_hide", "");
+ edje_object_part_text_set(icon->sd->edje_obj, "text", "");
+ }
+
if(icon->sd->win)
icon->sd->drag.start = 0;
}
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs