diff options
author | Xan Lopez <xan@src.gnome.org> | 2008-06-28 21:59:16 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2008-06-28 21:59:16 +0800 |
commit | eb22ece42e0587ce1e932296254e14220f084756 (patch) | |
tree | a3abe4aca9475b352ec562ac04153b7f96e4318a /src/ephy-find-toolbar.c | |
parent | 85fcdd9d27b4ceab098c8b5ca45c8ca476aade8d (diff) | |
download | gsoc2013-epiphany-eb22ece42e0587ce1e932296254e14220f084756.tar.gz gsoc2013-epiphany-eb22ece42e0587ce1e932296254e14220f084756.tar.zst gsoc2013-epiphany-eb22ece42e0587ce1e932296254e14220f084756.zip |
ephy-find-toolbar: rename impl_* functions to ephy_find_toolbar_*
svn path=/trunk/; revision=8296
Diffstat (limited to 'src/ephy-find-toolbar.c')
-rw-r--r-- | src/ephy-find-toolbar.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c index 8675d26ee..219399f46 100644 --- a/src/ephy-find-toolbar.c +++ b/src/ephy-find-toolbar.c @@ -220,8 +220,8 @@ set_string_and_highlight (EphyFindToolbarPrivate *priv, const char *find_string) } static void -impl_set_properties (EphyFindToolbar *toolbar, - const char *find_string) +ephy_find_toolbar_set_properties (EphyFindToolbar *toolbar, + const char *find_string) { EphyFindToolbarPrivate *priv = toolbar->priv; @@ -253,9 +253,9 @@ real_find (EphyFindToolbarPrivate *priv, } static EphyEmbedFindResult -impl_find (EphyFindToolbar *toolbar, - const char *find_string, - gboolean links_only) +ephy_find_toolbar_find (EphyFindToolbar *toolbar, + const char *find_string, + gboolean links_only) { EphyFindToolbarPrivate *priv = toolbar->priv; @@ -276,15 +276,15 @@ entry_changed_cb (GtkEntry *entry, text = gtk_entry_get_text (GTK_ENTRY (priv->entry)); case_sensitive = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->case_sensitive)); - impl_set_properties (toolbar, text); - result = impl_find (toolbar, text, priv->links_only); + ephy_find_toolbar_set_properties (toolbar, text); + result = ephy_find_toolbar_find (toolbar, text, priv->links_only); set_status (toolbar, result); } static gboolean -impl_activate_link (EphyFindToolbar *toolbar, - GdkModifierType mask) +ephy_find_toolbar_activate_link (EphyFindToolbar *toolbar, + GdkModifierType mask) { return FALSE; } @@ -333,7 +333,7 @@ entry_key_press_event_cb (GtkEntry *entry, event->keyval == GDK_KP_Enter || event->keyval == GDK_ISO_Enter)) { - handled = impl_activate_link (toolbar, event->state); + handled = ephy_find_toolbar_activate_link (toolbar, event->state); } else if ((event->state & mask) == GDK_SHIFT_MASK && (event->keyval == GDK_Return || @@ -355,7 +355,7 @@ entry_activate_cb (GtkWidget *entry, if (priv->typing_ahead) { - impl_activate_link (toolbar, 0); + ephy_find_toolbar_activate_link (toolbar, 0); } else { @@ -402,7 +402,7 @@ case_sensitive_toggled_cb (GtkWidget *check, (proxy, G_CALLBACK (case_sensitive_menu_toggled_cb), toolbar); } - impl_set_properties (toolbar, text); + ephy_find_toolbar_set_properties (toolbar, text); } static gboolean @@ -747,9 +747,9 @@ find_again_data_destroy_cb (FindAgainCBStruct *data) } static EphyEmbedFindResult -impl_find_again (EphyFindToolbar *toolbar, - gboolean forward, - gboolean links_only) +ephy_find_toolbar_find_again (EphyFindToolbar *toolbar, + gboolean forward, + gboolean links_only) { EphyFindToolbarPrivate *priv = toolbar->priv; @@ -762,7 +762,7 @@ find_again_cb (FindAgainCBStruct *data) EphyEmbedFindResult result; EphyFindToolbarPrivate *priv = data->toolbar->priv; - result = impl_find_again (data->toolbar, data->next, + result = ephy_find_toolbar_find_again (data->toolbar, data->next, priv->links_only); set_status (data->toolbar, result); @@ -845,8 +845,8 @@ ephy_find_toolbar_open (EphyFindToolbar *toolbar, } static void -impl_set_selection (EphyFindToolbar *toolbar, - gboolean attention) +ephy_find_toolbar_set_selection (EphyFindToolbar *toolbar, + gboolean attention) { WebKitWebView *web_view = toolbar->priv->web_view; @@ -861,7 +861,7 @@ ephy_find_toolbar_close (EphyFindToolbar *toolbar) gtk_widget_hide (GTK_WIDGET (toolbar)); if (priv->web_view == NULL) return; - impl_set_selection (toolbar, FALSE); + ephy_find_toolbar_set_selection (toolbar, FALSE); } void |