summaryrefslogtreecommitdiff
path: root/sensors-applet/prefs-dialog.c
diff options
context:
space:
mode:
authorAlex Murray <[email protected]>2014-12-23 16:22:20 +0100
committerinfirit <[email protected]>2015-07-07 11:27:28 +0200
commit89b136b9b86ef3f8710295f8023b7bd84c34d0ee (patch)
tree8edfcea34dc9c60d08959311d1dccccba56eefad /sensors-applet/prefs-dialog.c
parent50be0d3c1a5d3110b9ec7493c43fe5eccc2a875e (diff)
downloadmate-sensors-applet-89b136b9b86ef3f8710295f8023b7bd84c34d0ee.tar.bz2
mate-sensors-applet-89b136b9b86ef3f8710295f8023b7bd84c34d0ee.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 97ba8f5..bdc7981 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,