[glib] gio-tool: Fix alignment of monitor messages



commit 6863080c32abff9667238a3b04750c6f675e1e1a
Author: Ondrej Holy <oholy redhat com>
Date:   Tue Jun 6 10:04:56 2017 +0200

    gio-tool: Fix alignment of monitor messages
    
    Name of GMount/GVolume/GDrive is aligned in many cases in output messages,
    except few cases. Let's unify the alignment.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=776169

 gio/gio-tool-mount.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/gio-tool-mount.c b/gio/gio-tool-mount.c
index b2ec57c..9522713 100644
--- a/gio/gio-tool-mount.c
+++ b/gio/gio-tool-mount.c
@@ -998,7 +998,7 @@ monitor_mount_added (GVolumeMonitor *volume_monitor, GMount *mount)
 {
   char *name;
   name = g_mount_get_name (mount);
-  g_print ("Mount added: '%s'\n", name);
+  g_print ("Mount added:        '%s'\n", name);
   g_free (name);
   monitor_print_mount (mount);
 }
@@ -1008,7 +1008,7 @@ monitor_mount_removed (GVolumeMonitor *volume_monitor, GMount *mount)
 {
   char *name;
   name = g_mount_get_name (mount);
-  g_print ("Mount removed: '%s'\n", name);
+  g_print ("Mount removed:      '%s'\n", name);
   g_free (name);
   monitor_print_mount (mount);
 }
@@ -1018,7 +1018,7 @@ monitor_mount_changed (GVolumeMonitor *volume_monitor, GMount *mount)
 {
   char *name;
   name = g_mount_get_name (mount);
-  g_print ("Mount changed: '%s'\n", name);
+  g_print ("Mount changed:      '%s'\n", name);
   g_free (name);
   monitor_print_mount (mount);
 }


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