Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
Files
Commits
9ed118a9
Commit
9ed118a9
authored
Apr 03, 2008
by
Christian Neumair
Browse files
svn path=/trunk/; revision=14033
svn path=/trunk/; revision=14033
parent
a850772d
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
9ed118a9
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.
2008-04-03 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-icon-container.c
...
...
libnautilus-private/nautilus-bookmark.c
View file @
9ed118a9
...
...
@@ -329,7 +329,7 @@ nautilus_bookmark_icon_is_different (NautilusBookmark *bookmark,
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 @@ nautilus_bookmark_update_icon (NautilusBookmark *bookmark)
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
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment