[Spice-devel] [PATCH spice-gtk] spicy: Change 'OK' button to 'Close' button in USB device selection
Marc-André Lureau
mlureau at redhat.com
Tue Jun 5 02:15:13 PDT 2012
ack
----- Mensaje original -----
> 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>
> ---
> 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 at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
More information about the Spice-devel
mailing list