[gvfs] [gdu] Fix setting the BDMV name
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] [gdu] Fix setting the BDMV name
- Date: Thu, 7 Apr 2011 22:46:12 +0000 (UTC)
commit bda0c0afb3500f5648b3f9ee0dab3511927fb221
Author: Bastien Nocera <hadess hadess net>
Date: Thu Apr 7 23:41:06 2011 +0100
[gdu] Fix setting the BDMV name
Who forgot that else? Oh. Never mind.
monitor/gdu/ggdumount.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/monitor/gdu/ggdumount.c b/monitor/gdu/ggdumount.c
index 1b2e690..83c1847 100644
--- a/monitor/gdu/ggdumount.c
+++ b/monitor/gdu/ggdumount.c
@@ -230,7 +230,7 @@ update_mount (GGduMount *mount)
/* order of preference : bdmv, xdg, probed */
if (mount->bdmv_volume_info_name != NULL)
mount->name = g_strdup (mount->bdmv_volume_info_name);
- if (mount->xdg_volume_info_name != NULL)
+ else if (mount->xdg_volume_info_name != NULL)
mount->name = g_strdup (mount->xdg_volume_info_name);
else
mount->name = g_volume_get_name (G_VOLUME (mount->volume));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]