[epiphany] Rename EphyWebView::ge-new-window to EphyWebView::new-window
- From: Xan Lopez <xan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [epiphany] Rename EphyWebView::ge-new-window to EphyWebView::new-window
- Date: Fri, 8 Jan 2010 19:31:31 +0000 (UTC)
commit 23b77f1230e6843456b83db937920db8202d1a10
Author: Xan Lopez <xan gnome org>
Date: Fri Jan 8 21:30:41 2010 +0200
Rename EphyWebView::ge-new-window to EphyWebView::new-window
embed/ephy-web-view.c | 16 ++++++++--------
src/ephy-window.c | 2 +-
2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 6b717a0..ff4f912 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1509,14 +1509,14 @@ ephy_web_view_class_init (EphyWebViewClass *klass)
G_PARAM_READABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
/**
- * EphyWebView::ge-new-window:
+ * EphyWebView::new-window:
* @view: the #EphyWebView that received the signal
* @new_view: the newly opened #EphyWebView
*
- * The ::ge_new_window signal is emitted after a new window has been opened by
+ * The ::new-window signal is emitted after a new window has been opened by
* the view. For example, when a JavaScript popup window is opened.
**/
- g_signal_new ("ge_new_window",
+ g_signal_new ("new-window",
EPHY_TYPE_WEB_VIEW,
G_SIGNAL_RUN_FIRST | G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (EphyWebViewClass, new_window),
@@ -1818,9 +1818,9 @@ favicon_cb (EphyWebView *view,
}
static void
-ge_new_window_cb (EphyWebView *view,
- EphyWebView *new_view,
- gpointer user_data)
+new_window_cb (EphyWebView *view,
+ EphyWebView *new_view,
+ gpointer user_data)
{
EphyEmbedContainer *container;
@@ -2000,8 +2000,8 @@ ephy_web_view_init (EphyWebView *web_view)
G_CALLBACK (favicon_cb),
web_view, (GConnectFlags)0);
- g_signal_connect_object (web_view, "ge_new_window",
- G_CALLBACK (ge_new_window_cb),
+ g_signal_connect_object (web_view, "new-window",
+ G_CALLBACK (new_window_cb),
web_view, (GConnectFlags)0);
g_signal_connect_object (web_view, "ge_popup_blocked",
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 6de59f9..46a2e01 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2495,7 +2495,7 @@ web_view_ready_cb (WebKitWebView *web_view,
update_chromes_actions (window);
sync_chromes_visibility (window);
- g_signal_emit_by_name (parent_web_view, "ge-new-window", web_view);
+ g_signal_emit_by_name (parent_web_view, "new-window", web_view);
}
gtk_widget_show (GTK_WIDGET (window));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]