summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@tbzatek.englab.brq.redhat.com>2009-02-05 15:15:42 +0100
committerTomas Bzatek <tbzatek@tbzatek.englab.brq.redhat.com>2009-02-05 15:15:42 +0100
commitfafd18cbad52b70445cc2012650f6fbedfd4a522 (patch)
tree5464159d91a4eb81c0a3efc3d88c81cf3d092fab
parent4e5430b282708b5748e1dc65d59d858ef6bd43ca (diff)
downloadnautilus-gdu-fafd18cbad52b70445cc2012650f6fbedfd4a522.tar.gz
nautilus-gdu-fafd18cbad52b70445cc2012650f6fbedfd4a522.tar.xz
nautilus-gdu-fafd18cbad52b70445cc2012650f6fbedfd4a522.zip
Get real volume label from the device instead of presentable
-rw-r--r--src/nautilus-gdu-window.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nautilus-gdu-window.c b/src/nautilus-gdu-window.c
index 89e12af..0b7d664 100644
--- a/src/nautilus-gdu-window.c
+++ b/src/nautilus-gdu-window.c
@@ -637,8 +637,7 @@ update_ui (FormatDialogPrivate *priv)
*/
/* Volume label */
if (! priv->job_running) {
- gtk_entry_set_text (GTK_ENTRY (priv->label_entry),
- gdu_presentable_get_name (priv->presentable));
+ gtk_entry_set_text (GTK_ENTRY (priv->label_entry), gdu_device_id_get_label (device));
}