diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2013-06-17 16:48:20 -0700 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2013-06-17 17:06:57 -0700 |
commit | 7965944d6be5ac8f26e008db68b7b64e4c9981f8 (patch) | |
tree | 3659ef63ea9bc311bacea7146129b357bf8f2dce /eel | |
parent | 523ea0c4bc628197cfd20f38ebd5f6fc99b737a0 (diff) | |
download | nautilus-7965944d6be5ac8f26e008db68b7b64e4c9981f8.tar.gz |
editable-label: remove multicontext menuitems
They have been removed from stock GtkEntry as well, and this function is
now deprecated.
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-editable-label.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/eel/eel-editable-label.c b/eel/eel-editable-label.c index 243b655ec..fd61f90e3 100644 --- a/eel/eel-editable-label.c +++ b/eel/eel-editable-label.c @@ -3053,7 +3053,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; @@ -3095,17 +3095,7 @@ popup_targets_received (GtkClipboard *clipboard, menuitem = gtk_separator_menu_item_new (); gtk_widget_show (menuitem); gtk_menu_shell_append (GTK_MENU_SHELL (label->popup_menu), menuitem); - - menuitem = gtk_menu_item_new_with_label (_("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); |