aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-find-toolbar.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2008-06-28 21:59:03 +0800
committerXan Lopez <xan@src.gnome.org>2008-06-28 21:59:03 +0800
commit2650175cd9aa1f01c65f9caa01345462de2f7524 (patch)
treeb9e5e4e08af19e7fd215c13f80f06fb98f61d404 /src/ephy-find-toolbar.c
parent92a7cf00b53402be364d8cf3d51f7ec8487d7065 (diff)
downloadgsoc2013-epiphany-2650175cd9aa1f01c65f9caa01345462de2f7524.tar
gsoc2013-epiphany-2650175cd9aa1f01c65f9caa01345462de2f7524.tar.gz
gsoc2013-epiphany-2650175cd9aa1f01c65f9caa01345462de2f7524.tar.bz2
gsoc2013-epiphany-2650175cd9aa1f01c65f9caa01345462de2f7524.tar.lz
gsoc2013-epiphany-2650175cd9aa1f01c65f9caa01345462de2f7524.tar.xz
gsoc2013-epiphany-2650175cd9aa1f01c65f9caa01345462de2f7524.tar.zst
gsoc2013-epiphany-2650175cd9aa1f01c65f9caa01345462de2f7524.zip
ephy-find-toolbar: remove _EMBED_ from find results enum.
svn path=/trunk/; revision=8293
Diffstat (limited to 'src/ephy-find-toolbar.c')
-rw-r--r--src/ephy-find-toolbar.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c
index c40011be7..dafa2dfba 100644
--- a/src/ephy-find-toolbar.c
+++ b/src/ephy-find-toolbar.c
@@ -76,9 +76,9 @@ enum
/* 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 @@ set_status (EphyFindToolbar *toolbar,
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 @@ set_status (EphyFindToolbar *toolbar,
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 @@ real_find (EphyFindToolbarPrivate *priv,
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