summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-05-02 13:00:38 +0100
committerDaniel P. Berrange <berrange@redhat.com>2012-05-02 13:02:22 +0100
commitd0d226ca8fddc41ca7b91ea3e18e551a06f1fc00 (patch)
tree55e486bf4b9b5f67bebe176ebc3c05cefac4ebc2
parent90b3edc39645966a11b043600e9918b39fef4c39 (diff)
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
-rw-r--r--src/virt-viewer-session-spice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virt-viewer-session-spice.c b/src/virt-viewer-session-spice.c
index 7f7352b..361e413 100644
--- a/src/virt-viewer-session-spice.c
+++ b/src/virt-viewer-session-spice.c
@@ -379,7 +379,7 @@ virt_viewer_session_spice_usb_device_selection(VirtViewerSession *session,
/* Create the widgets */
dialog = gtk_dialog_new_with_buttons(_("Select USB devices for redirection"), parent,
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);