epiphany r8293 - trunk/src
- From: xan svn gnome org
- To: svn-commits-list gnome org
- Subject: epiphany r8293 - trunk/src
- Date: Sat, 28 Jun 2008 13:59:04 +0000 (UTC)
Author: xan
Date: Sat Jun 28 13:59:03 2008
New Revision: 8293
URL: http://svn.gnome.org/viewvc/epiphany?rev=8293&view=rev
Log:
ephy-find-toolbar: remove _EMBED_ from find results enum.
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:03 2008
@@ -76,9 +76,9 @@
/* Keep these the same as in nsITypeAheadFind */
typedef enum
{
- EPHY_EMBED_FIND_FOUND = 0,
- EPHY_EMBED_FIND_NOTFOUND = 1,
- EPHY_EMBED_FIND_FOUNDWRAPPED = 2
+ EPHY_FIND_FOUND = 0,
+ EPHY_FIND_NOTFOUND = 1,
+ EPHY_FIND_FOUNDWRAPPED = 2
} EphyEmbedFindResult;
static guint signals[LAST_SIGNAL];
@@ -112,10 +112,10 @@
switch (result)
{
- case EPHY_EMBED_FIND_FOUND:
+ case EPHY_FIND_FOUND:
text = NULL;
break;
- case EPHY_EMBED_FIND_NOTFOUND:
+ case EPHY_FIND_NOTFOUND:
{
text = _("Not found");
@@ -128,7 +128,7 @@
priv->source_id = g_timeout_add (500, (GSourceFunc) set_status_notfound_cb, toolbar);
}
break;
- case EPHY_EMBED_FIND_FOUNDWRAPPED:
+ case EPHY_FIND_FOUNDWRAPPED:
text = _("Wrapped");
break;
}
@@ -242,14 +242,14 @@
if (!webkit_web_view_search_text
(web_view, priv->find_string, case_sensitive, TRUE, TRUE)) {
/* there's no result */
- return EPHY_EMBED_FIND_NOTFOUND;
+ return EPHY_FIND_NOTFOUND;
} else {
/* found wrapped */
- return EPHY_EMBED_FIND_FOUNDWRAPPED;
+ return EPHY_FIND_FOUNDWRAPPED;
}
}
- return EPHY_EMBED_FIND_FOUND;
+ return EPHY_FIND_FOUND;
}
static EphyEmbedFindResult
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]