[PATCH spice-gtk] spicy: Change 'OK' button to 'Close' button in USB device selection

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

 



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@xxxxxxxxxx>
---
 gtk/spicy.c  |    2 +-
 spice-common |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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
-- 
1.7.10.2

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]