[Spice-devel,spice-gtk,Win32,v3,03/12] spicy: more informative presentation of usb devices in menu

Submitted by Uri Lublin on June 28, 2012, 1:46 a.m.

Details

Message ID 1340848001-7791-4-git-send-email-uril@redhat.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Uri Lublin June 28, 2012, 1:46 a.m.
---
 gtk/spicy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/gtk/spicy.c b/gtk/spicy.c
index 98a44d5..ba0aa4b 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);
     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);

Comments

ack, but a short comment on the detailed default format of 
spice_usb_device_get_description() will be nice.

Uri Lublin wrote:
> ---
>  gtk/spicy.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/gtk/spicy.c b/gtk/spicy.c
> index 98a44d5..ba0aa4b 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);
>      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);
>