epiphany r8296 - trunk/src



Author: xan
Date: Sat Jun 28 13:59:16 2008
New Revision: 8296
URL: http://svn.gnome.org/viewvc/epiphany?rev=8296&view=rev

Log:
ephy-find-toolbar: rename impl_* functions to ephy_find_toolbar_*


Modified:
   trunk/src/ephy-find-toolbar.c

Modified: trunk/src/ephy-find-toolbar.c
==============================================================================
--- trunk/src/ephy-find-toolbar.c	(original)
+++ trunk/src/ephy-find-toolbar.c	Sat Jun 28 13:59:16 2008
@@ -220,8 +220,8 @@
 }
 
 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 @@
 }
 
 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 @@
 	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 @@
 		  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 @@
 
 	if (priv->typing_ahead)
 	{
-		impl_activate_link (toolbar, 0);
+		ephy_find_toolbar_activate_link (toolbar, 0);
 	}
 	else
 	{
@@ -402,7 +402,7 @@
 			(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 @@
 }
 	
 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 @@
 	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 @@
 }
 
 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 @@
 	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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]