[gnome-boxes] Use volume's name in error message rather than path



commit 4011dcf2f6f994e1c0998b08ebb35cb94abc4221
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Feb 2 01:09:17 2012 +0200

    Use volume's name in error message rather than path

 src/vm-creator.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vm-creator.vala b/src/vm-creator.vala
index b4c7651..feb18c8 100644
--- a/src/vm-creator.vala
+++ b/src/vm-creator.vala
@@ -52,7 +52,7 @@ private class Boxes.VMCreator {
                 try {
                     volume.delete (0);
                 } catch (GLib.Error error) {
-                    warning ("Failed to delete volume '%s': %s", volume.get_path (), error.message);
+                    warning ("Failed to delete volume '%s': %s", volume.get_name (), error.message);
                 }
             }
         });



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]