nautilus r14032 - in branches/gnome-2-22: . libnautilus-private
- From: cneumair svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14032 - in branches/gnome-2-22: . libnautilus-private
- Date: Thu, 3 Apr 2008 22:05:47 +0100 (BST)
Author: cneumair
Date: Thu Apr 3 22:05:47 2008
New Revision: 14032
URL: http://svn.gnome.org/viewvc/nautilus?rev=14032&view=rev
Log:
2008-04-03 Christian Neumair <cneumair gnome org>
* libnautilus-private/nautilus-bookmark.c
(nautilus_bookmark_icon_is_different):
Fix icon comparison if icon has not yet been set.
* libnautilus-private/nautilus-bookmark.c
(nautilus_bookmark_update_icon):
Never update icon if a file has not yet been confirmed.
Modified:
branches/gnome-2-22/ChangeLog
branches/gnome-2-22/libnautilus-private/nautilus-bookmark.c
Modified: branches/gnome-2-22/libnautilus-private/nautilus-bookmark.c
==============================================================================
--- branches/gnome-2-22/libnautilus-private/nautilus-bookmark.c (original)
+++ branches/gnome-2-22/libnautilus-private/nautilus-bookmark.c Thu Apr 3 22:05:47 2008
@@ -329,7 +329,7 @@
g_assert (new_icon != NULL);
if (bookmark->details->icon == NULL) {
- return new_icon == NULL;
+ return TRUE;
}
return !g_icon_equal (bookmark->details->icon, new_icon) != 0;
@@ -350,7 +350,8 @@
return FALSE;
}
- if (nautilus_file_check_if_ready (bookmark->details->file,
+ if (!nautilus_file_is_not_yet_confirmed (bookmark->details->file) &&
+ nautilus_file_check_if_ready (bookmark->details->file,
NAUTILUS_FILE_ATTRIBUTES_FOR_ICON)) {
new_icon = nautilus_file_get_gicon (bookmark->details->file, 0);
if (nautilus_bookmark_icon_is_different (bookmark, new_icon)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]