Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : proto/entropy

Dir     : e17/proto/entropy/src/plugins


Modified Files:
        Makefile.am layout_etk_simple.c 


Log Message:
Start of about dialog

===================================================================
RCS file: /cvs/e/e17/proto/entropy/src/plugins/Makefile.am,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -3 -r1.50 -r1.51
--- Makefile.am 29 Aug 2007 04:55:06 -0000      1.50
+++ Makefile.am 2 Sep 2007 07:17:31 -0000       1.51
@@ -117,7 +117,8 @@
                                $(top_srcdir)/src/dialogs/etk_options_dialog.c \
                                
$(top_srcdir)/src/dialogs/etk_file_cache_debug_dialog.c \
                                
$(top_srcdir)/src/dialogs/etk_auth_request_dialog.c \
-                               $(top_srcdir)/src/dialogs/etk_efolder_dialog.c
+                               $(top_srcdir)/src/dialogs/etk_efolder_dialog.c \
+                               $(top_srcdir)/src/dialogs/etk_about_dialog.c
 
 layout_etk_simple_la_CFLAGS   = @ETK_CFLAGS@
 layout_etk_simple_la_LDFLAGS  = -module -avoid-version
===================================================================
RCS file: /cvs/e/e17/proto/entropy/src/plugins/layout_etk_simple.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -3 -r1.80 -r1.81
--- layout_etk_simple.c 1 Sep 2007 12:13:15 -0000       1.80
+++ layout_etk_simple.c 2 Sep 2007 07:17:31 -0000       1.81
@@ -12,6 +12,7 @@
 #include "entropy_etk_options_dialog.h"
 #include "etk_auth_request_dialog.h"
 #include "etk_efolder_dialog.h"
+#include "etk_about_dialog.h"
 #include <dlfcn.h>
 #include <Ecore.h>
 #include <stdlib.h>
@@ -368,6 +369,11 @@
        layout_etk_simple_quit(instance->core);
 }
 
+void entropy_etk_about_dialog_cb(Etk_Object* cb, void* data)
+{
+       entropy_etk_about_dialog_show();
+}
+
 
 void etk_mime_dialog_cb(Etk_Object* obj, void* data)
 {
@@ -1038,8 +1044,8 @@
   menu_item = _entropy_etk_menu_item_new(ETK_MENU_ITEM_NORMAL, _("Help"), 
ETK_STOCK_NO_STOCK, ETK_MENU_SHELL(menubar), NULL);
   menu = etk_menu_new();
   etk_menu_item_submenu_set(ETK_MENU_ITEM(menu_item), ETK_MENU(menu));
-  _entropy_etk_menu_item_new(ETK_MENU_ITEM_NORMAL, _("About.."), 
ETK_STOCK_HELP_BROWSER, ETK_MENU_SHELL(menu), NULL);
-
+  menu_item = _entropy_etk_menu_item_new(ETK_MENU_ITEM_NORMAL, _("About.."), 
ETK_STOCK_HELP_BROWSER, ETK_MENU_SHELL(menu), NULL);
+  etk_signal_connect("activated", ETK_OBJECT(menu_item), 
ETK_CALLBACK(entropy_etk_about_dialog_cb), layout);
 
   etk_box_append(ETK_BOX(vbox), menubar, ETK_BOX_START, ETK_BOX_NONE, 0);
   etk_box_append(ETK_BOX(vbox), gui->trackback_shell, ETK_BOX_START, 
ETK_BOX_NONE, 0);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to