[nautilus-actions] Make the code in adequation with the comment
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] Make the code in adequation with the comment
- Date: Sat, 3 Jul 2010 07:57:41 +0000 (UTC)
commit 0f1471ce996542a1c28fccf01efa3591f4111b1f
Author: pierre <pierre vfedora10 virtuals pwi>
Date: Tue Jun 29 13:37:12 2010 +0200
Make the code in adequation with the comment
ChangeLog | 3 +++
src/nact/nact-tree-model-dnd.c | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2fcc6bf..f326bd8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2010-06-29 Pierre Wieser <pwieser trychlos org>
+ * src/nact/nact-tree-model-dnd.c (drop_uri_list):
+ Make the code in adequation with the comment.
+
* src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
Do not emit a warning when file is just not found.
diff --git a/src/nact/nact-tree-model-dnd.c b/src/nact/nact-tree-model-dnd.c
index 04a042c..1c54959 100644
--- a/src/nact/nact-tree-model-dnd.c
+++ b/src/nact/nact-tree-model-dnd.c
@@ -842,7 +842,7 @@ drop_uri_list( NactTreeModel *model, GtkTreePath *dest, GtkSelectionData *selec
/* if there is more than one message, display them in a dialog box
*/
- if( parms.messages && g_slist_length( parms.messages ) >= 2 ){
+ if( parms.messages && g_slist_length( parms.messages ) > 1 ){
GtkMessageDialog *dialog = GTK_MESSAGE_DIALOG( gtk_message_dialog_new(
parms.window,
GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_CLOSE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]