[virt-tools-list] [PATCH virt-viewer v3 1/3] app: Use debug to inform about smartcard shortcuts state

Pavel Grunt pgrunt at redhat.com
Tue May 31 09:01:22 UTC 2016


Related: rhbz#1339572

Acked-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 src/virt-viewer-app.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
index 6573961..d449f72 100644
--- a/src/virt-viewer-app.c
+++ b/src/virt-viewer-app.c
@@ -1762,7 +1762,7 @@ virt_viewer_update_smartcard_accels(VirtViewerApp *self)
         sw_smartcard = FALSE;
     }
     if (sw_smartcard) {
-        g_warning("enabling smartcard shortcuts");
+        g_debug("enabling smartcard shortcuts");
         gtk_accel_map_change_entry("<virt-viewer>/file/smartcard-insert",
                                    priv->insert_smartcard_accel_key,
                                    priv->insert_smartcard_accel_mods,
@@ -1772,7 +1772,7 @@ virt_viewer_update_smartcard_accels(VirtViewerApp *self)
                                    priv->remove_smartcard_accel_mods,
                                    TRUE);
     } else {
-        g_warning("disabling smartcard shortcuts");
+        g_debug("disabling smartcard shortcuts");
         gtk_accel_map_change_entry("<virt-viewer>/file/smartcard-insert", 0, 0, TRUE);
         gtk_accel_map_change_entry("<virt-viewer>/file/smartcard-remove", 0, 0, TRUE);
     }
-- 
2.8.3




More information about the virt-tools-list mailing list