aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorDuncan Mak <duncan@src.gnome.org>2001-04-22 04:20:34 +0800
committerDuncan Mak <duncan@src.gnome.org>2001-04-22 04:20:34 +0800
commitadb3761ed62ffc0fbfc840b07ef409c0a6f36f67 (patch)
tree6ca7faedf9c1546c6657b42c793332e16368f7a2 /composer
parentfe466a70b6ce0784a1ad75eff21081dfe499e8a2 (diff)
downloadgsoc2013-evolution-adb3761ed62ffc0fbfc840b07ef409c0a6f36f67.tar
gsoc2013-evolution-adb3761ed62ffc0fbfc840b07ef409c0a6f36f67.tar.gz
gsoc2013-evolution-adb3761ed62ffc0fbfc840b07ef409c0a6f36f67.tar.bz2
gsoc2013-evolution-adb3761ed62ffc0fbfc840b07ef409c0a6f36f67.tar.lz
gsoc2013-evolution-adb3761ed62ffc0fbfc840b07ef409c0a6f36f67.tar.xz
gsoc2013-evolution-adb3761ed62ffc0fbfc840b07ef409c0a6f36f67.tar.zst
gsoc2013-evolution-adb3761ed62ffc0fbfc840b07ef409c0a6f36f67.zip
Set window_icon of the Composer window to be compose-message.png
svn path=/trunk/; revision=9489
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog8
-rw-r--r--composer/e-msg-composer.c3
2 files changed, 10 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 6cfadb93fb..a4c1fd9a7c 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,11 @@
+2001-04-21 Duncan Mak <duncan@ximian.com>
+
+ * e-msg-composer.c (e_msg_composer_construct): Set window_icon to
+ "compose-message.png" for the composer window.
+
+ Did #include <libgnomeui/gnome-window-icon.h> so we could use
+ gnome_window_icon_set_from_file() here.
+
2001-04-17 Radek Doulik <rodo@ximian.com>
* listener.c (reply_indent): more auto-indentation magic
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 142a71f1d7..1e8d116c6c 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -48,6 +48,7 @@
#include <libgnomeui/gnome-dialog.h>
#include <libgnomeui/gnome-dialog-util.h>
#include <libgnomeui/gnome-stock.h>
+#include <libgnomeui/gnome-window-icon.h>
#include <bonobo/bonobo-exception.h>
#include <bonobo/bonobo-moniker-util.h>
#include <bonobo/bonobo-object-client.h>
@@ -1735,7 +1736,7 @@ e_msg_composer_construct (EMsgComposer *composer)
gtk_window_set_default_size (GTK_WINDOW (composer),
DEFAULT_WIDTH, DEFAULT_HEIGHT);
-
+ gnome_window_icon_set_from_file (GTK_WINDOW (composer), EVOLUTION_DATADIR "/images/evolution/compose-message.png");
bonobo_window_construct (BONOBO_WINDOW (composer), "e-msg-composer",
_("Compose a message"));