aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r--src/ephy-tab.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index be1942629..578fe6a75 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -849,15 +849,12 @@ ephy_tab_show_embed_popup (EphyTab *tab, EphyEmbedEvent *event)
EphyWindow *window;
char *path;
GtkWidget *widget;
- gresult can_copy;
window = ephy_tab_get_window (tab);
ephy_embed_event_get_property (event, "framed_page", &value);
framed = g_value_get_int (value);
- can_copy = ephy_embed_selection_can_copy (tab->priv->embed);
-
ephy_embed_event_get_context (event, &context);
if ((context & EMBED_CONTEXT_LINK) &&
@@ -877,10 +874,6 @@ ephy_tab_show_embed_popup (EphyTab *tab, EphyEmbedEvent *event)
{
popup = "EphyInputPopup";
}
- else if (can_copy == G_OK)
- {
- popup = "EphyTextPopup";
- }
else
{
popup = framed ? "EphyFramedDocumentPopup" :