Enlightenment CVS committal
Author : tsauerbeck
Project : misc
Module : eplayer
Dir : misc/eplayer/src
Modified Files:
eplayer.c interface.c playlist.c playlist.h playlist_item.c
Log Message:
slight improvements to the playlist api
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/src/eplayer.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- eplayer.c 1 Feb 2004 12:03:53 -0000 1.32
+++ eplayer.c 1 Feb 2004 13:12:12 -0000 1.33
@@ -2,7 +2,7 @@
/* Edje Overhaul startnig phase 4 - Started 7/30/03 */
/*
- * $Id: eplayer.c,v 1.32 2004/02/01 12:03:53 tsauerbeck Exp $
+ * $Id: eplayer.c,v 1.33 2004/02/01 13:12:12 tsauerbeck Exp $
*/
#include <config.h>
@@ -271,7 +271,6 @@
player->playlist = playlist_new(player->gui.evas,
player->input_plugins,
- player->gui.playlist,
player->cfg.theme);
assert(player->playlist);
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/src/interface.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -3 -r1.44 -r1.45
--- interface.c 1 Feb 2004 12:03:53 -0000 1.44
+++ interface.c 1 Feb 2004 13:12:12 -0000 1.45
@@ -1,5 +1,5 @@
/*
- * $Id: interface.c,v 1.44 2004/02/01 12:03:53 tsauerbeck Exp $
+ * $Id: interface.c,v 1.45 2004/02/01 13:12:12 tsauerbeck Exp $
*/
#include <config.h>
@@ -170,7 +170,7 @@
player->gui.edje = edje_object_add(player->gui.evas);
evas_object_name_set(player->gui.edje, "main_edje");
-
+
if (!edje_object_file_set(player->gui.edje,
find_theme(player->cfg.theme),
name)) {
@@ -269,6 +269,7 @@
player->gui.playlist = e_container_new(player->gui.evas);
assert(player->gui.playlist);
+ evas_object_name_set(player->gui.playlist, "PlayList");
evas_object_data_set(player->gui.playlist, "ePlayer", player);
e_container_direction_set(player->gui.playlist, 1);
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/src/playlist.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- playlist.c 1 Feb 2004 12:03:53 -0000 1.21
+++ playlist.c 1 Feb 2004 13:12:12 -0000 1.22
@@ -1,5 +1,5 @@
/*
- * $Id: playlist.c,v 1.21 2004/02/01 12:03:53 tsauerbeck Exp $
+ * $Id: playlist.c,v 1.22 2004/02/01 13:12:12 tsauerbeck Exp $
*/
#include <config.h>
@@ -18,7 +18,7 @@
* @param plugins
* @return The newly created PlayList.
*/
-PlayList *playlist_new(Evas *evas, Evas_List *plugins, Evas_Object *container,
+PlayList *playlist_new(Evas *evas, Evas_List *plugins,
const char *theme) {
PlayList *pl;
@@ -30,7 +30,7 @@
pl->evas = evas;
pl->plugins = plugins;
- pl->container = container;
+ pl->container = evas_object_name_find(evas, "PlayList");
pl->theme = theme;
return pl;
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/src/playlist.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- playlist.h 1 Feb 2004 12:03:53 -0000 1.13
+++ playlist.h 1 Feb 2004 13:12:12 -0000 1.14
@@ -2,7 +2,7 @@
#define __PLAYLIST_H
/*
- * $Id: playlist.h,v 1.13 2004/02/01 12:03:53 tsauerbeck Exp $
+ * $Id: playlist.h,v 1.14 2004/02/01 13:12:12 tsauerbeck Exp $
*/
#include <Evas.h>
@@ -21,7 +21,6 @@
} PlayList;
PlayList *playlist_new(Evas *evas, Evas_List *plugins,
- Evas_Object *container,
const char *theme);
void playlist_free(PlayList *pl);
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/src/playlist_item.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- playlist_item.c 1 Feb 2004 12:03:53 -0000 1.2
+++ playlist_item.c 1 Feb 2004 13:12:12 -0000 1.3
@@ -1,5 +1,5 @@
/*
- * $Id: playlist_item.c,v 1.2 2004/02/01 12:03:53 tsauerbeck Exp $
+ * $Id: playlist_item.c,v 1.3 2004/02/01 13:12:12 tsauerbeck Exp $
*/
#include <config.h>
@@ -151,7 +151,7 @@
pli->evas = evas;
pli->container = container;
- pli->theme = theme;//"/home/tilman/.e/apps/eplayer/themes/iio.eet";
+ pli->theme = theme;
if (!playlist_item_init(pli)) {
playlist_item_free(pli);
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs