[dia] [embedded image] avoid endless loop with paste on multiple select
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [embedded image] avoid endless loop with paste on multiple select
- Date: Sun, 2 Jan 2011 18:26:09 +0000 (UTC)
commit 881e9be32f5e0e2e5a2b240c0a5f15daef615fa5
Author: Hans Breuer <hans breuer org>
Date: Sat Dec 11 22:19:57 2010 +0100
[embedded image] avoid endless loop with paste on multiple select
The Paste Image operation was not iterating the list of the selected
objects. So pasting an image did only work if the first selected
object was an image object.
app/commands.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/commands.c b/app/commands.c
index 88942be..50b6edd 100644
--- a/app/commands.c
+++ b/app/commands.c
@@ -257,6 +257,7 @@ received_clipboard_image_handler(GtkClipboard *clipboard,
diagram_flush (dia);
break;
}
+ list = g_list_next (list);
}
if (!change)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]