diff options
author | Pablo Barciela <[email protected]> | 2018-05-15 10:19:16 +0200 |
---|---|---|
committer | lukefromdc <[email protected]> | 2018-05-16 18:34:23 -0400 |
commit | 9f08546cff6b4d88835b35b4e000ac7a18b6fb39 (patch) | |
tree | f63e6f595c3cc357fca06020d92fbec8d59d1db1 /eel/eel-editable-label.c | |
parent | 9bf65eef92d7753a6be904fab41bb076697a4a87 (diff) | |
download | caja-9f08546cff6b4d88835b35b4e000ac7a18b6fb39.tar.bz2 caja-9f08546cff6b4d88835b35b4e000ac7a18b6fb39.tar.xz |
editable-label: avoid deprecated 'gtk_im_multicontext_append_menuitems'
drop "Input Methods"
Diffstat (limited to 'eel/eel-editable-label.c')
-rw-r--r-- | eel/eel-editable-label.c | 16 |
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); |