[Spice-devel] [spice-gtk Win32 v5 01/22] spicy: more informative presentation of usb devices in menu

Uri Lublin uril at redhat.com
Mon Jul 9 05:14:44 PDT 2012


Using the default format.
---
 gtk/spicy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gtk/spicy.c b/gtk/spicy.c
index 98a44d5..5ffe3b7 100644
--- a/gtk/spicy.c
+++ b/gtk/spicy.c
@@ -460,7 +460,7 @@ static void menu_cb_select_usb_devices(GtkAction *action, void *data)
     area = gtk_dialog_get_content_area(GTK_DIALOG(dialog));
 
     usb_device_widget = spice_usb_device_widget_new(win->conn->session,
-                                                    "%s %s");
+                                                    NULL); /* default format */
     g_signal_connect(usb_device_widget, "connect-failed",
                      G_CALLBACK(usb_connect_failed), NULL);
     gtk_box_pack_start(GTK_BOX(area), usb_device_widget, TRUE, TRUE, 0);
-- 
1.7.1



More information about the Spice-devel mailing list