summaryrefslogtreecommitdiff
path: root/plugins/xrandr
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-13 14:00:25 +0100
committerinfirit <[email protected]>2014-12-13 18:32:16 +0100
commitb08893a4d4e65385ca11c4dae21b869f31048627 (patch)
tree3e4bbbcbffc5a3a3972234c3c6a0ea283a13d022 /plugins/xrandr
parentf8f216bf7cb0893a2c3a716d070899e39242203a (diff)
downloadmate-settings-daemon-b08893a4d4e65385ca11c4dae21b869f31048627.tar.bz2
mate-settings-daemon-b08893a4d4e65385ca11c4dae21b869f31048627.tar.xz
xrandr: Add icon to the "Keep settings" dialogue
Taken from GSD commit: 6cd5f46fcb6d0580e541f8d462a1a61e5f0150a3 From: Bastien Nocera <[email protected]>
Diffstat (limited to 'plugins/xrandr')
-rw-r--r--plugins/xrandr/msd-xrandr-manager.c1
1 files changed, 1 insertions, 0 deletions
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 */