diff options
author | Chris Toshok <toshok@ximian.com> | 2002-08-29 15:29:30 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-08-29 15:29:30 +0800 |
commit | b882d7ff1ec8ae53bea7cc545e2d0f399f2c3486 (patch) | |
tree | 471d146d3a000a8793c04bec91e51f993e3b21b3 /addressbook/gui/contact-list-editor/e-contact-list-editor.c | |
parent | 87f846e09ad0b0ff27d25d45e7176cfd0af6677b (diff) | |
download | gsoc2013-evolution-b882d7ff1ec8ae53bea7cc545e2d0f399f2c3486.tar gsoc2013-evolution-b882d7ff1ec8ae53bea7cc545e2d0f399f2c3486.tar.gz gsoc2013-evolution-b882d7ff1ec8ae53bea7cc545e2d0f399f2c3486.tar.bz2 gsoc2013-evolution-b882d7ff1ec8ae53bea7cc545e2d0f399f2c3486.tar.lz gsoc2013-evolution-b882d7ff1ec8ae53bea7cc545e2d0f399f2c3486.tar.xz gsoc2013-evolution-b882d7ff1ec8ae53bea7cc545e2d0f399f2c3486.tar.zst gsoc2013-evolution-b882d7ff1ec8ae53bea7cc545e2d0f399f2c3486.zip |
[ fixes #25038 ] need to have EVOLUTION_ICONSDIR defined.
2002-08-29 Chris Toshok <toshok@ximian.com>
[ fixes #25038 ]
* gui/contact-editor/Makefile.am (INCLUDES): need to have
EVOLUTION_ICONSDIR defined.
* gui/contact-list-editor/Makefile.am (INCLUDES): same.
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init):
set the window icon to the contact mini icon.
* gui/contact-list-editor/e-contact-list-editor.c
(e_contact_list_editor_init): set the window icon to the new
contact list icon.
* gui/widgets/e-minicard.c (LIST_ICON_FILENAME): change to (the
prettier, imo) "contact-list-16.png"
svn path=/trunk/; revision=17915
Diffstat (limited to 'addressbook/gui/contact-list-editor/e-contact-list-editor.c')
-rw-r--r-- | addressbook/gui/contact-list-editor/e-contact-list-editor.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c index 9c7ddb0d25..e75d8d35e8 100644 --- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c +++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c @@ -25,6 +25,7 @@ #include <glib.h> #include <libgnome/gnome-defs.h> #include <libgnome/gnome-i18n.h> +#include <libgnomeui/gnome-window-icon.h> #include <bonobo/bonobo-ui-container.h> #include <bonobo/bonobo-ui-util.h> #include <gal/e-table/e-table-scrolled.h> @@ -209,6 +210,7 @@ e_contact_list_editor_init (EContactListEditor *editor) GladeXML *gui; GtkWidget *bonobo_win; BonoboUIContainer *container; + char *icon_path; editor->card = NULL; editor->changed = FALSE; @@ -296,6 +298,11 @@ e_contact_list_editor_init (EContactListEditor *editor) gtk_signal_connect (GTK_OBJECT (editor->app), "delete_event", GTK_SIGNAL_FUNC (app_delete_event_cb), editor); + + /* set the icon */ + icon_path = g_concat_dir_and_file (EVOLUTION_ICONSDIR, "contact-list-16.png"); + gnome_window_icon_set_from_file (GTK_WINDOW (editor->app), icon_path); + g_free (icon_path); } static void |