Mercurial > pidgin
comparison src/gtkimhtml.c @ 12635:8584cc19ee48
[gaim-migrate @ 14971]
Change the accelerator on Paste as Plain Text from s to t. I can't get these accelerators to work when I pull up the menu. Anyway, this is in preparation for the Send menu change I'm about to commit.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 23 Dec 2005 02:03:41 +0000 |
parents | cd1d0131e07f |
children | 4bd7e2ebb4cb |
comparison
equal
deleted
inserted
replaced
12634:8512c990967b | 12635:8584cc19ee48 |
---|---|
811 | 811 |
812 static void hijack_menu_cb(GtkIMHtml *imhtml, GtkMenu *menu, gpointer data) | 812 static void hijack_menu_cb(GtkIMHtml *imhtml, GtkMenu *menu, gpointer data) |
813 { | 813 { |
814 GtkWidget *menuitem; | 814 GtkWidget *menuitem; |
815 | 815 |
816 menuitem = gtk_menu_item_new_with_mnemonic(_("Pa_ste as Plain Text")); | 816 menuitem = gtk_menu_item_new_with_mnemonic(_("Paste as Plain _Text")); |
817 gtk_widget_show(menuitem); | 817 gtk_widget_show(menuitem); |
818 gtk_widget_set_sensitive(menuitem, | 818 gtk_widget_set_sensitive(menuitem, |
819 (imhtml->editable && | 819 (imhtml->editable && |
820 gtk_clipboard_wait_is_text_available( | 820 gtk_clipboard_wait_is_text_available( |
821 gtk_widget_get_clipboard(GTK_WIDGET(imhtml), GDK_SELECTION_CLIPBOARD)))); | 821 gtk_widget_get_clipboard(GTK_WIDGET(imhtml), GDK_SELECTION_CLIPBOARD)))); |