[Spice-commits] gtk/spicy.c spice-common

Hans de Goede jwrdegoede at kemper.freedesktop.org
Tue Jun 5 02:15:40 PDT 2012


 gtk/spicy.c  |    2 +-
 spice-common |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 885e4491faf3574ae7d57f7c9d858fb7c219eb0f
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Mon Jun 4 15:46:33 2012 +0200

    spicy: Change 'OK' button to 'Close' button in USB device selection
    
    The USB device selection applies immediately, so the dialog should be using
    'Close' instead of 'OK' for its primary button.
    
    This patch syncs spicy with virt-viewer wrt the USB device selection dialog.
    
    Signed-off-by: Hans de Goede <hdegoede at redhat.com>

diff --git a/gtk/spicy.c b/gtk/spicy.c
index f44642f..98a44d5 100644
--- a/gtk/spicy.c
+++ b/gtk/spicy.c
@@ -451,7 +451,7 @@ static void menu_cb_select_usb_devices(GtkAction *action, void *data)
                     _("Select USB devices for redirection"),
                     GTK_WINDOW(win->toplevel),
                     GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
-                    GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
+                    GTK_STOCK_CLOSE, GTK_RESPONSE_ACCEPT,
                     NULL);
     gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_ACCEPT);
     gtk_container_set_border_width(GTK_CONTAINER(dialog), 12);
diff --git a/spice-common b/spice-common
index 5f44094..e96dbb4 160000
--- a/spice-common
+++ b/spice-common
@@ -1 +1 @@
-Subproject commit 5f4409494066b5f59df58d6207fdbb0441aa9e90
+Subproject commit e96dbb4172ec7a47a5b15d3b9e921e12623fddaa


More information about the Spice-commits mailing list