[kazehakase-svn] [3315] 2007-10-26 Hiroyuki Ikezoe <poinc****@ikezo*****>

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
Fri Oct 26 10:04:28 JST 2007


Revision: 3315
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3315
Author:   ikezoe
Date:     2007-10-26 10:04:27 +0900 (Fri, 26 Oct 2007)

Log Message:
-----------
2007-10-26  Hiroyuki Ikezoe  <poinc****@ikezo*****>

	* module/embed/ie/kz-ie.c: Implement new window.

Modified Paths:
--------------
    kazehakase/trunk/ChangeLog
    kazehakase/trunk/module/embed/ie/kz-ie.c

Modified: kazehakase/trunk/ChangeLog
===================================================================
--- kazehakase/trunk/ChangeLog	2007-10-25 23:23:10 UTC (rev 3314)
+++ kazehakase/trunk/ChangeLog	2007-10-26 01:04:27 UTC (rev 3315)
@@ -1,5 +1,9 @@
 2007-10-26  Hiroyuki Ikezoe  <poinc****@ikezo*****>
 
+	* module/embed/ie/kz-ie.c: Implement new window.
+
+2007-10-26  Hiroyuki Ikezoe  <poinc****@ikezo*****>
+
 	* module/embed/ie/kz-ie.c: Set "use-context-menu" FALSE.
 
 2007-10-26  Hiroyuki Ikezoe  <poinc****@ikezo*****>

Modified: kazehakase/trunk/module/embed/ie/kz-ie.c
===================================================================
--- kazehakase/trunk/module/embed/ie/kz-ie.c	2007-10-25 23:23:10 UTC (rev 3314)
+++ kazehakase/trunk/module/embed/ie/kz-ie.c	2007-10-26 01:04:27 UTC (rev 3315)
@@ -70,6 +70,7 @@
 						  GtkIEEmbedDOMMouseEvent *event);
 static gboolean	    kz_ie_embed_dom_mouse_click  (GtkIEEmbed   *embed,
 						  GtkIEEmbedDOMMouseEvent *event);
+static gboolean	    kz_ie_embed_new_window	 (GtkIEEmbed   *embed, GtkIEEmbed **newembed);
 static gboolean	    kz_ie_embed_close_window	 (GtkIEEmbed   *embed);
 static void	    kz_ie_embed_selection_changed(GtkIEEmbed   *embed);
 
@@ -199,6 +200,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->new_window	    = kz_ie_embed_new_window;
 	ie_class->close_window	    = kz_ie_embed_close_window;
 	ie_class->selection_changed = kz_ie_embed_selection_changed;
 
@@ -477,10 +479,18 @@
 }
 
 static gboolean
+kz_ie_embed_new_window (GtkIEEmbed *embed, GtkIEEmbed **newembed)
+{
+	g_signal_emit_by_name(embed, "kz-new-window", newembed);
+
+	return newembed ? FALSE : TRUE;
+}
+
+static gboolean
 kz_ie_embed_close_window (GtkIEEmbed *embed)
 {
 	gtk_widget_destroy(GTK_WIDGET(embed));
-	return TRUE;
+	return FALSE;
 }
 
 static void




More information about the Kazehakase-cvs mailing list
アーカイブの一覧に戻る