svnno****@sourc*****
svnno****@sourc*****
Fri Sep 4 13:00:38 JST 2009
Revision: 3832 http://sourceforge.jp/projects/kazehakase/svn/view?view=rev&revision=3832 Author: ikezoe Date: 2009-09-04 13:00:38 +0900 (Fri, 04 Sep 2009) Log Message: ----------- * src/kz-window.c: Don't handle DOM key event. We can not use this event efficiently. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/src/kz-window.c Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2009-09-04 03:59:28 UTC (rev 3831) +++ kazehakase/trunk/ChangeLog 2009-09-04 04:00:38 UTC (rev 3832) @@ -18,6 +18,8 @@ * module/embed/gecko/kz-gecko-embed.cpp, module/embed/ie/kz-ie.c: g_free() accepts NULL. * src/kz-tab-label.c: Invoke gtk_image_clear if the site has no favicon. + * src/kz-window.c: Don't handle DOM key event. We can not use + this event efficiently. 2009-09-02 Hiroyuki Ikezoe <poinc****@ikezo*****> Modified: kazehakase/trunk/src/kz-window.c =================================================================== --- kazehakase/trunk/src/kz-window.c 2009-09-04 03:59:28 UTC (rev 3831) +++ kazehakase/trunk/src/kz-window.c 2009-09-04 04:00:38 UTC (rev 3832) @@ -248,9 +248,6 @@ KzWindow *kz); static void cb_web_close_tab (GtkObject *obj, KzWindow *kz); -static gboolean cb_web_dom_key_event (KzWeb *web, - KzEmbedEventKey *event, - KzWindow *kz); static gboolean cb_web_dom_mouse_click (KzWeb *web, KzEmbedEventMouse *event, KzWindow *kz); @@ -1475,13 +1472,6 @@ g_return_if_fail(KZ_IS_WEB(kzweb)); /* - * key event signal - */ - g_signal_connect(kzweb, - "kz-dom-key-down", - G_CALLBACK(cb_web_dom_key_event), kz); - - /* * mouse event signal */ g_signal_connect(kzweb, @@ -1515,13 +1505,6 @@ g_return_if_fail(KZ_IS_WEB(kzweb)); /* - * key event signal - */ - g_signal_handlers_disconnect_by_func - (kzweb, - G_CALLBACK(cb_web_dom_key_event), kz); - - /* * mouse event signal */ g_signal_handlers_disconnect_by_func @@ -2134,18 +2117,6 @@ static gboolean -cb_web_dom_key_event (KzWeb *web, KzEmbedEventKey *event, KzWindow *kz) -{ - - g_return_val_if_fail(KZ_IS_WINDOW(kz), FALSE); - - kz_actions_set_sensitive(kz, web); - - return FALSE; -} - - -static gboolean cb_web_dom_mouse_click (KzWeb *web, KzEmbedEventMouse *event, KzWindow *kz) {