mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-10-29 03:34:16 +00:00
Ensure that window no longer shows CD contents after CD is ejected.
2008-05-19 Padraig O'Briain <padraig.obriain@sun.com> * src/nautilus-application.c (mount_removed_callback): Ensure that window no longer shows CD contents after CD is ejected. (#531678) svn path=/trunk/; revision=14176
This commit is contained in:
parent
6341ebde99
commit
22dc77ce23
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-05-19 Padraig O'Briain <padraig.obriain@sun.com>
|
||||
|
||||
* src/nautilus-application.c (mount_removed_callback): Ensure that
|
||||
window no longer shows CD contents after CD is ejected. (#531678)
|
||||
|
||||
2008-05-19 Christian Neumair <cneumair@gnome.org>
|
||||
|
||||
* libnautilus-private/nautilus-file.c (nautilus_file_get_icon):
|
||||
|
|
|
@ -1468,7 +1468,7 @@ mount_removed_callback (GVolumeMonitor *monitor,
|
|||
|
||||
location = nautilus_window_get_location (window);
|
||||
|
||||
if (g_file_has_prefix (location, root)) {
|
||||
if (g_file_equal(location, root) || g_file_has_prefix (location, root)) {
|
||||
close_list = g_list_prepend (close_list, window);
|
||||
}
|
||||
g_object_unref (location);
|
||||
|
|
Loading…
Reference in a new issue