Re: [E-devel] [PATCH] Exquisite clear text fix

2008-11-02 Thread The Rasterman
On Fri, 3 Oct 2008 08:27:24 +0200 [EMAIL PROTECTED] (Lars Munch) babbled:

> Hi
> 
> In exquisite: if the textblock has not been used and the CLEAR command
> is called, it will enable the textblock and then clear it. This causes
> the textblock to appear and then quickly disappear again. Attached patch
> makes sure that the CLEAR command does not enable the text block before
> clearing it.
> 
> Please apply

in svn :) thanks!


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH] Exquisite clear text fix

2008-10-02 Thread Lars Munch
Hi

In exquisite: if the textblock has not been used and the CLEAR command
is called, it will enable the textblock and then clear it. This causes
the textblock to appear and then quickly disappear again. Attached patch
makes sure that the CLEAR command does not enable the text block before
clearing it.

Please apply

Regards
Lars Munch
Index: src/bin/theme.c
===
--- src/bin/theme.c	(revision 36407)
+++ src/bin/theme.c	(working copy)
@@ -58,8 +58,6 @@
   edje_object_signal_emit(o_bg, "exquisite", "text_set");  
 else if(signal == 2)
   edje_object_signal_emit(o_bg, "exquisite", "status_set");
-else if(signal == 3) 
-  edje_object_signal_emit(o_bg, "exquisite", "text_clear");
 
 edje_object_part_text_set(o_bg, "textarea", buf);
 edje_object_part_text_set(o_bg, "statusarea", buf2);
@@ -242,9 +240,14 @@
   evas_list_free(messages);
   messages = NULL;
 }  
-  
-  /*A 3 means a text clear signal will be sent*/
-  theme_update_text(3);
+
+   if (edje_object_part_exists(o_bg, "textarea") &&
+   edje_object_part_exists(o_bg, "statusarea"))
+ {
+	edje_object_signal_emit(o_bg, "exquisite", "text_clear");
+	edje_object_part_text_set(o_bg, "textarea", "");
+	edje_object_part_text_set(o_bg, "statusarea", "");
+ }
 }
 
 static void
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel