Enlightenment CVS committal

Author  : tsauerbeck
Project : misc
Module  : embrace

Dir     : misc/embrace/src


Modified Files:
        mailbox.c 


Log Message:
force a mailbox check on right-click on the "icon" part
===================================================================
RCS file: /cvsroot/enlightenment/misc/embrace/src/mailbox.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- mailbox.c   10 Sep 2004 19:40:18 -0000      1.8
+++ mailbox.c   30 Jan 2005 18:07:32 -0000      1.9
@@ -1,5 +1,5 @@
 /*
- * $Id: mailbox.c,v 1.8 2004/09/10 19:40:18 tsauerbeck Exp $
+ * $Id: mailbox.c,v 1.9 2005/01/30 18:07:32 tsauerbeck Exp $
  *
  * Copyright (C) 2004 Embrace project.
  *
@@ -67,6 +67,12 @@
 }
 #endif
 
+static void on_edje_signal_force_check (void *udata, Evas_Object *o,
+                                        const char *e, const char *s)
+{
+       mailbox_check (udata);
+}
+
 MailBox *mailbox_new (Evas *evas, const char *theme)
 {
        MailBox *mb;
@@ -99,6 +105,10 @@
                                         on_edje_signal_exec, mb);
 #endif
 
+       edje_object_signal_callback_add (mb->edje,
+                                        "MAILBOX_FORCE_CHECK", "*",
+                                        on_edje_signal_force_check, mb);
+
        evas_object_show (mb->edje);
 
        return mb;




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to