summaryrefslogtreecommitdiff
path: root/eel/eel-editable-label.c
diff options
context:
space:
mode:
Diffstat (limited to 'eel/eel-editable-label.c')
-rw-r--r--eel/eel-editable-label.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/eel/eel-editable-label.c b/eel/eel-editable-label.c
index cb86ed4a..787c71ff 100644
--- a/eel/eel-editable-label.c
+++ b/eel/eel-editable-label.c
@@ -3051,7 +3051,7 @@ popup_targets_received (GtkClipboard *clipboard,
GtkSelectionData *data,
gpointer user_data)
{
- GtkWidget *menuitem, *submenu;
+ GtkWidget *menuitem;
gboolean have_selection;
gboolean clipboard_contains_text;
PopupInfo *info;
@@ -3092,20 +3092,6 @@ popup_targets_received (GtkClipboard *clipboard,
gtk_widget_show (menuitem);
gtk_menu_shell_append (GTK_MENU_SHELL (label->popup_menu), menuitem);
- menuitem = gtk_separator_menu_item_new ();
- gtk_widget_show (menuitem);
- gtk_menu_shell_append (GTK_MENU_SHELL (label->popup_menu), menuitem);
-
- menuitem = eel_image_menu_item_new_from_icon (NULL, _("Input Methods"));
- gtk_widget_show (menuitem);
- submenu = gtk_menu_new ();
- gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem), submenu);
-
- gtk_menu_shell_append (GTK_MENU_SHELL (label->popup_menu), menuitem);
-
- gtk_im_multicontext_append_menuitems (GTK_IM_MULTICONTEXT (label->im_context),
- GTK_MENU_SHELL (submenu));
-
g_signal_emit (label,
signals[POPULATE_POPUP], 0,
label->popup_menu);