gnome-panel r11554 - trunk/gnome-panel
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-panel r11554 - trunk/gnome-panel
- Date: Wed, 11 Mar 2009 13:00:57 +0000 (UTC)
Author: vuntz
Date: Wed Mar 11 13:00:57 2009
New Revision: 11554
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=11554&view=rev
Log:
2009-03-11 Vincent Untz <vuntz gnome org>
* panel-menu-items.c: (panel_place_menu_item_append_local_gio),
(panel_place_menu_item_append_remote_gio): ignore shadow mounts.
Modified:
trunk/gnome-panel/ChangeLog
trunk/gnome-panel/panel-menu-items.c
Modified: trunk/gnome-panel/panel-menu-items.c
==============================================================================
--- trunk/gnome-panel/panel-menu-items.c (original)
+++ trunk/gnome-panel/panel-menu-items.c Wed Mar 11 13:00:57 2009
@@ -831,6 +831,11 @@
mount = l->data;
+ if (g_mount_is_shadowed (mount)) {
+ g_object_unref (mount);
+ continue;
+ }
+
volume = g_mount_get_volume (mount);
if (volume != NULL) {
g_object_unref (volume);
@@ -917,6 +922,12 @@
GFile *root;
mount = l->data;
+
+ if (g_mount_is_shadowed (mount)) {
+ g_object_unref (mount);
+ continue;
+ }
+
volume = g_mount_get_volume (mount);
if (volume != NULL) {
g_object_unref (volume);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]