Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src/plugins


Modified Files:
        layout_ewl_simple.c 


Log Message:
* I should really compile pre-commit - oops

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/proto/entropy/src/plugins/layout_ewl_simple.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- layout_ewl_simple.c 11 Jan 2006 04:56:19 -0000      1.30
+++ layout_ewl_simple.c 11 Jan 2006 04:58:45 -0000      1.31
@@ -6,6 +6,7 @@
 #include <stdio.h>
 #include "ewl_mime_dialog.h"
 #include "entropy_gui.h"
+#include "ewl_tip.h"
 
 #define HEADER_CONFIG_MAX 2048
 
@@ -32,6 +33,7 @@
 void entropy_plugin_init(entropy_core* core);
 void entropy_delete_current_folder(Ecore_List* el);
 entropy_gui_component_instance* entropy_plugin_layout_create(entropy_core* 
core);
+void ewl_layout_simple_tooltip_show_cb(Ewl_Widget *item, void *ev_data, void 
*user_data);
 
 typedef struct entropy_ewl_layout_header_uri entropy_ewl_layout_header_uri;
 struct entropy_ewl_layout_header_uri {
@@ -83,6 +85,10 @@
 }
 
 
+void ewl_layout_simple_tooltip_show_cb(Ewl_Widget *item, void *ev_data, void 
*user_data) {
+       ewl_entropy_tip_window_display();
+}
+
 
 
 /*TODO/FIXME - This needs a rewrite, to be dynamic, and wizard-based*/
@@ -744,7 +750,7 @@
        item = ewl_menu_item_new();
        ewl_menu_item_text_set(EWL_MENU_ITEM(item), "Tip Of The Day..");
        ewl_container_child_append(EWL_CONTAINER(menu), item);
-       ewl_callback_append(EWL_WIDGET(item), EWL_CALLBACK_CLICKED, , layout);
+       ewl_callback_append(EWL_WIDGET(item), EWL_CALLBACK_CLICKED, 
ewl_layout_simple_tooltip_show_cb, layout);
        ewl_widget_show(item);
 
        item = ewl_menu_item_new();




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to