summaryrefslogtreecommitdiff
path: root/sensors-applet/prefs-dialog.c
diff options
context:
space:
mode:
authorAlex Murray <[email protected]>2014-12-23 16:22:20 +0100
committermonsta <[email protected]>2015-07-10 11:04:51 +0300
commitcc00230076c62ee2a8717609b6a8007e53213c82 (patch)
tree7f37d833d2fffd14e93ae98a37f60a3e97f7795e /sensors-applet/prefs-dialog.c
parent71cc075711a0d44ab7bc2ff62b043203f0547493 (diff)
downloadmate-sensors-applet-cc00230076c62ee2a8717609b6a8007e53213c82.tar.bz2
mate-sensors-applet-cc00230076c62ee2a8717609b6a8007e53213c82.tar.xz
Set icon name for dialog windows
Taken from sensors-applet commit: c2596b4534f612ae890fac1719d4e6e6ef35ef91 and adapted for MATE by [email protected]
Diffstat (limited to 'sensors-applet/prefs-dialog.c')
-rw-r--r--sensors-applet/prefs-dialog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sensors-applet/prefs-dialog.c b/sensors-applet/prefs-dialog.c
index ab2278c..7dedb36 100644
--- a/sensors-applet/prefs-dialog.c
+++ b/sensors-applet/prefs-dialog.c
@@ -415,6 +415,9 @@ void prefs_dialog_open(SensorsApplet *sensors_applet) {
GTK_STOCK_CLOSE,
GTK_RESPONSE_CLOSE,
NULL));
+ gtk_window_set_icon_name(GTK_WINDOW(prefs_dialog->dialog),
+ "mate-sensors-applet");
+
g_object_set(prefs_dialog->dialog,
"border-width", 12,
"default-width", 480,