Enlightenment CVS committal
Author : rbdpngn
Project : misc
Module : erss
Dir : misc/erss/src
Modified Files:
erss.c
Log Message:
Set the window title based on the config in use.
===================================================================
RCS file: /cvsroot/enlightenment/misc/erss/src/erss.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- erss.c 14 Jan 2004 19:26:38 -0000 1.18
+++ erss.c 14 Jan 2004 21:09:48 -0000 1.19
@@ -417,6 +417,7 @@
int main (int argc, char * const argv[])
{
+ Ecore_X_Window win;
Evas_Object *header;
int x, y, w, h;
int height;
@@ -552,12 +553,14 @@
height += 26;
ee = ecore_evas_software_x11_new (NULL, 0, 0, 0, width, height);
+ win = ecore_evas_software_x11_window_get(ee);
if (!ee)
return -1;
ecore_evas_borderless_set (ee, cfg->borderless);
- ecore_evas_title_set (ee, "erss");
+ snprintf(theme_file, PATH_MAX, "erss - %s", config_file);
+ ecore_evas_title_set (ee, theme_file);
ecore_evas_shaped_set (ee, 1);
ecore_evas_show (ee);
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs