From b08893a4d4e65385ca11c4dae21b869f31048627 Mon Sep 17 00:00:00 2001 From: infirit Date: Sat, 13 Dec 2014 14:00:25 +0100 Subject: xrandr: Add icon to the "Keep settings" dialogue Taken from GSD commit: 6cd5f46fcb6d0580e541f8d462a1a61e5f0150a3 From: Bastien Nocera --- plugins/xrandr/msd-xrandr-manager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c index abb5043..8d90c2e 100644 --- a/plugins/xrandr/msd-xrandr-manager.c +++ b/plugins/xrandr/msd-xrandr-manager.c @@ -504,6 +504,7 @@ user_says_things_are_ok (MsdXrandrManager *manager, GdkWindow *parent_window) print_countdown_text (&timeout); + gtk_window_set_icon_name (GTK_WINDOW (timeout.dialog), "preferences-desktop-display"); gtk_dialog_add_button (GTK_DIALOG (timeout.dialog), _("_Restore Previous Configuration"), GTK_RESPONSE_CANCEL); gtk_dialog_add_button (GTK_DIALOG (timeout.dialog), _("_Keep This Configuration"), GTK_RESPONSE_ACCEPT); gtk_dialog_set_default_response (GTK_DIALOG (timeout.dialog), GTK_RESPONSE_ACCEPT); /* ah, the optimism */ -- cgit v1.2.1