Enlightenment CVS committal
Author : lok
Project : e17
Module : proto
Dir : e17/proto/emphasis/src/bin
Modified Files:
emphasis_callbacks.c
Log Message:
Flag changed for the mouse events.
===================================================================
RCS file: /cvs/e/e17/proto/emphasis/src/bin/emphasis_callbacks.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- emphasis_callbacks.c 24 Aug 2006 23:18:25 -0000 1.11
+++ emphasis_callbacks.c 25 Aug 2006 14:58:06 -0000 1.12
@@ -529,7 +529,7 @@
player = data;
et = (Emphasis_Type) etk_object_data_get(object, "Emphasis_Type");
- if ((event->button == 1) && (event->flags & EVAS_BUTTON_DOUBLE_CLICK))
+ if ((event->button == 1) && (event->flags == ETK_MOUSE_DOUBLE_CLICK))
{
emphasis_playlist_append_selected(ETK_TREE(object), et);
mpc_play_if_stopped();
@@ -553,7 +553,7 @@
UNUSED(data)
int id;
- if ((event->button == 1) && (event->flags & EVAS_BUTTON_DOUBLE_CLICK))
+ if ((event->button == 1) && (event->flags == ETK_MOUSE_DOUBLE_CLICK))
{
id = (int) etk_tree_row_data_get(row);
mpc_play_id(id);
@@ -990,7 +990,7 @@
player = data;
if (event->button == 1)
{
- if (event->flags == EVAS_BUTTON_NONE)
+ if (event->flags == ETK_MOUSE_NONE)
{
tree = ETK_TREE(object);
col = etk_tree_nth_col_get(tree, 0);
@@ -1002,7 +1002,7 @@
MPD_DATA_TYPE_SONG,
NULL);
}
- else if (event->flags == EVAS_BUTTON_DOUBLE_CLICK)
+ else if (event->flags == ETK_MOUSE_DOUBLE_CLICK)
{
cb_media_pls_load_clicked(NULL, data);
}
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs