Enlightenment CVS committal

Author  : dj2
Project : misc
Module  : eke

Dir     : misc/eke/src


Modified Files:
        Eke.h eke_gui_edje.c 


Log Message:
- set the window title to the title of the feed

===================================================================
RCS file: /cvsroot/enlightenment/misc/eke/src/Eke.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Eke.h       27 Dec 2004 22:45:01 -0000      1.1
+++ Eke.h       30 Dec 2004 06:19:09 -0000      1.2
@@ -5,6 +5,7 @@
 #include <stdlib.h>
 
 #include <Ecore.h>
+#include <Ecore_Evas.h>
 #include <Evas.h>
 #include <Ewl.h>
 
@@ -28,6 +29,7 @@
 
         struct {
             char *theme;
+            Ecore_Evas *ee;
             Evas_Object *edje;
         } edje;
     } gui;
===================================================================
RCS file: /cvsroot/enlightenment/misc/eke/src/eke_gui_edje.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- eke_gui_edje.c      30 Dec 2004 05:03:09 -0000      1.7
+++ eke_gui_edje.c      30 Dec 2004 06:19:09 -0000      1.8
@@ -55,6 +55,7 @@
     ecore_evas_borderless_set(ee, 0);
     ecore_evas_shaped_set(ee, 0);
     ecore_evas_show(ee);
+    eke->gui.edje.ee = ee;
 
     ecore_evas_callback_delete_request_set(ee, eke_gui_edje_win_del_cb);
     ecore_evas_callback_resize_set(ee, eke_gui_edje_win_resize_cb);
@@ -149,6 +150,12 @@
     }
     edje_object_part_text_set(disp->menu_item, "label", feed->title);
 
+    {
+        char buf[128];
+        snprintf(buf, sizeof(buf), PACKAGE " -- %s", feed->title);
+        ecore_evas_title_set(eke->gui.edje.ee, buf);
+    }
+
     if((part = edje_object_part_swallow_get(eke->gui.edje.edje, 
                                                     "feed.body"))) {
         edje_object_part_unswallow(eke->gui.edje.edje, part);




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to