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

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
Fri Oct 26 08:20:51 JST 2007


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

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

	* module/embed/ie/kz-ie.c: Emit "kz-selection" signal.

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

Modified: kazehakase/trunk/ChangeLog
===================================================================
--- kazehakase/trunk/ChangeLog	2007-10-23 23:35:55 UTC (rev 3312)
+++ kazehakase/trunk/ChangeLog	2007-10-25 23:20:50 UTC (rev 3313)
@@ -1,3 +1,7 @@
+2007-10-26  Hiroyuki Ikezoe  <poinc****@ikezo*****>
+
+	* module/embed/ie/kz-ie.c: Emit "kz-selection" signal.
+
 2007-10-24  Hiroyuki Ikezoe  <poinc****@ikezo*****>
 
 	* module/embed/ie/kz-ie.c: Add set_lock and get_lock.

Modified: kazehakase/trunk/module/embed/ie/kz-ie.c
===================================================================
--- kazehakase/trunk/module/embed/ie/kz-ie.c	2007-10-23 23:35:55 UTC (rev 3312)
+++ kazehakase/trunk/module/embed/ie/kz-ie.c	2007-10-25 23:20:50 UTC (rev 3313)
@@ -71,6 +71,7 @@
 static gboolean	    kz_ie_embed_dom_mouse_click  (GtkIEEmbed   *embed,
 						  GtkIEEmbedDOMMouseEvent *event);
 static gboolean	    kz_ie_embed_close_window	 (GtkIEEmbed   *embed);
+static void	    kz_ie_embed_selection_changed(GtkIEEmbed   *embed);
 
 /* embed iface */
 static void         kz_ie_load_url         (KzEmbed      *kzembed,
@@ -189,16 +190,17 @@
 
 	object_class->dispose = kz_ie_dispose;
 
-	ie_class->location        = kz_ie_embed_location;
-	ie_class->title           = kz_ie_embed_title;
-	ie_class->net_start       = kz_ie_embed_net_start;
-	ie_class->net_stop        = kz_ie_embed_net_stop;
-	ie_class->progress        = kz_ie_embed_progress;
-	ie_class->dom_mouse_down  = kz_ie_embed_dom_mouse_down;
-	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;
+	ie_class->location          = kz_ie_embed_location;
+	ie_class->title             = kz_ie_embed_title;
+	ie_class->net_start         = kz_ie_embed_net_start;
+	ie_class->net_stop          = kz_ie_embed_net_stop;
+	ie_class->progress          = kz_ie_embed_progress;
+	ie_class->dom_mouse_down    = kz_ie_embed_dom_mouse_down;
+	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;
+	ie_class->selection_changed = kz_ie_embed_selection_changed;
 
 	g_type_class_add_private(object_class, sizeof(KzIEPrivate));
 }
@@ -480,6 +482,12 @@
 }
 
 static void
+kz_ie_embed_selection_changed (GtkIEEmbed *embed)
+{
+	g_signal_emit_by_name(embed, "kz-selection");
+}
+
+static void
 kz_ie_load_url (KzEmbed *kzembed, const gchar  *url)
 {
 	g_return_if_fail(KZ_IS_IE(kzembed));




More information about the Kazehakase-cvs mailing list
Zurück zum Archiv-Index