X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-ui-actions.c;h=62494ed3951c707861f72c088ab15ae13ec7ebe1;hp=77994616d791a9c925204e2e68bfee7310bce67a;hb=77f91326a27bdbfe55126e980ecafcc894241481;hpb=21b666ae007ad3d154fb0a081a43404529f57896 diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index 7799461..62494ed 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -1484,7 +1484,7 @@ set_active_account_from_tny_account (TnyAccount *account, static void -folder_refreshed_cb (const GObject *obj, +folder_refreshed_cb (ModestMailOperation *mail_op, TnyFolder *folder, gpointer user_data) { @@ -2401,6 +2401,7 @@ modest_ui_actions_on_cut (GtkAction *action, clipboard = gtk_clipboard_get (GDK_SELECTION_CLIPBOARD); buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (focused_widget)); gtk_text_buffer_cut_clipboard (buffer, clipboard, TRUE); + gtk_clipboard_set_can_store (clipboard, NULL, 0); } else if (MODEST_IS_HEADER_VIEW (focused_widget)) { modest_header_view_cut_selection (MODEST_HEADER_VIEW (focused_widget)); } else if (MODEST_IS_FOLDER_VIEW (focused_widget)) { @@ -2426,7 +2427,7 @@ modest_ui_actions_on_copy (GtkAction *action, GtkTextBuffer *buffer; buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (focused_widget)); gtk_text_buffer_copy_clipboard (buffer, clipboard); - modest_header_view_copy_selection (MODEST_HEADER_VIEW (focused_widget)); + gtk_clipboard_set_can_store (clipboard, NULL, 0); } else if (MODEST_IS_HEADER_VIEW (focused_widget)) { TnyList *header_list = modest_header_view_get_selected_headers (MODEST_HEADER_VIEW (focused_widget)); TnyIterator *iter = tny_list_create_iterator (header_list);