From bf42156c575b7909647c0875c021b475a8f39a3d Mon Sep 17 00:00:00 2001 From: dx Date: Tue, 13 Dec 2011 23:08:59 +0200 Subject: [PATCH] Fix bug #4922 - Mixer's app close button not consistent with rest of Xfce --- xfce4-mixer/xfce-mixer-window.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xfce4-mixer/xfce-mixer-window.c b/xfce4-mixer/xfce-mixer-window.c index acbc67f..3e10804 100644 --- a/xfce4-mixer/xfce-mixer-window.c +++ b/xfce4-mixer/xfce-mixer-window.c @@ -81,7 +81,7 @@ struct _XfceMixerWindow static const GtkActionEntry action_entries[] = { - { "quit", GTK_STOCK_QUIT, N_ ("_Quit"), "q", N_ ("Exit the mixer"), + { "close", GTK_STOCK_CLOSE, N_ ("_Close"), NULL, N_ ("Exit the mixer"), G_CALLBACK (xfce_mixer_window_close) }, { "select-controls", NULL, N_ ("_Select Controls..."), "s", N_ ("Select which controls are displayed"), G_CALLBACK (xfce_mixer_window_action_select_controls) }, @@ -231,8 +231,8 @@ xfce_mixer_window_init (XfceMixerWindow *window) gtk_widget_show (window->select_controls_button); button = gtk_button_new (); - gtk_action_connect_proxy (gtk_action_group_get_action (window->action_group, "quit"), button); - gtk_button_set_image (GTK_BUTTON (button), gtk_image_new_from_stock (GTK_STOCK_QUIT, GTK_ICON_SIZE_BUTTON)); + gtk_action_connect_proxy (gtk_action_group_get_action (window->action_group, "close"), button); + gtk_button_set_image (GTK_BUTTON (button), gtk_image_new_from_stock (GTK_STOCK_CLOSE, GTK_ICON_SIZE_BUTTON)); gtk_box_pack_start (GTK_BOX (bbox), button, FALSE, TRUE, 0); gtk_widget_show (button); -- 1.7.8