svnno****@sourc*****
svnno****@sourc*****
Mon Oct 22 19:26:38 JST 2007
Revision: 3308 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3308 Author: ikezoe Date: 2007-10-22 19:26:38 +0900 (Mon, 22 Oct 2007) Log Message: ----------- 2007-10-22 Hiroyuki Ikezoe <poinc****@ikezo*****> * module/embed/ie/kz-ie.c: Add close_window. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/module/embed/ie/kz-ie.c Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2007-10-22 10:23:14 UTC (rev 3307) +++ kazehakase/trunk/ChangeLog 2007-10-22 10:26:38 UTC (rev 3308) @@ -1,5 +1,9 @@ 2007-10-22 Hiroyuki Ikezoe <poinc****@ikezo*****> + * module/embed/ie/kz-ie.c: Add close_window. + +2007-10-22 Hiroyuki Ikezoe <poinc****@ikezo*****> + * module/embed/ie/kz-ie.c: Add find function. 2007-10-22 Hiroyuki Ikezoe <poinc****@ikezo*****> Modified: kazehakase/trunk/module/embed/ie/kz-ie.c =================================================================== --- kazehakase/trunk/module/embed/ie/kz-ie.c 2007-10-22 10:23:14 UTC (rev 3307) +++ kazehakase/trunk/module/embed/ie/kz-ie.c 2007-10-22 10:26:38 UTC (rev 3308) @@ -70,6 +70,7 @@ GtkIEEmbedDOMMouseEvent *event); static gboolean kz_ie_embed_dom_mouse_click (GtkIEEmbed *embed, GtkIEEmbedDOMMouseEvent *event); +static gboolean kz_ie_embed_close_window (GtkIEEmbed *embed); /* embed iface */ static void kz_ie_load_url (KzEmbed *kzembed, @@ -194,6 +195,7 @@ ie_class->dom_mouse_move = kz_ie_embed_dom_mouse_move; ie_class->dom_mouse_up = kz_ie_embed_dom_mouse_up; ie_class->dom_mouse_click = kz_ie_embed_dom_mouse_click; + ie_class->close_window = kz_ie_embed_close_window; g_type_class_add_private(object_class, sizeof(KzIEPrivate)); } @@ -465,6 +467,13 @@ return emit_mouse_signal (embed, event, "kz-dom-mouse-click"); } +static gboolean +kz_ie_embed_close_window (GtkIEEmbed *embed) +{ + gtk_widget_destroy (GTK_WIDGET (embed)); + return TRUE; +} + static void kz_ie_load_url (KzEmbed *kzembed, const gchar *url) {