aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-08-29 15:29:30 +0800
committerChris Toshok <toshok@src.gnome.org>2002-08-29 15:29:30 +0800
commitb882d7ff1ec8ae53bea7cc545e2d0f399f2c3486 (patch)
tree471d146d3a000a8793c04bec91e51f993e3b21b3 /addressbook
parent87f846e09ad0b0ff27d25d45e7176cfd0af6677b (diff)
downloadgsoc2013-evolution-b882d7ff1ec8ae53bea7cc545e2d0f399f2c3486.tar.gz
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')
-rw-r--r--addressbook/ChangeLog18
-rw-r--r--addressbook/gui/contact-editor/Makefile.am3
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c7
-rw-r--r--addressbook/gui/contact-list-editor/Makefile.am3
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c7
-rw-r--r--addressbook/gui/widgets/e-minicard.c2
6 files changed, 39 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 11e87b8868..e06621f8fa 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,21 @@
+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"
+
2002-08-28 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_search): spew
diff --git a/addressbook/gui/contact-editor/Makefile.am b/addressbook/gui/contact-editor/Makefile.am
index 8f8cb4c4f9..fe7295bfe6 100644
--- a/addressbook/gui/contact-editor/Makefile.am
+++ b/addressbook/gui/contact-editor/Makefile.am
@@ -9,6 +9,7 @@ INCLUDES = \
-DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \
-DDATADIR=\""$(datadir)"\" \
-DEVOLUTION_DATADIR=\""$(datadir)"\" \
+ -DEVOLUTION_ICONSDIR=\""$(iconsdir)"\" \
-DEVOLUTIONDIR=\""$(evolutiondir)"\" \
-DG_LOG_DOMAIN=\"contact-editor\" \
$(EVOLUTION_ADDRESSBOOK_CFLAGS)
@@ -32,6 +33,8 @@ evolutiondir = $(datadir)/evolution
evolution_DATA = arrow.png
+iconsdir = $(datadir)/images/evolution
+
gladedir = $(datadir)/evolution/glade
glade_DATA = \
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 0e606c1c91..f22aaa5487 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -30,6 +30,7 @@
#include <gtk/gtktext.h>
#include <libgnomeui/gnome-popup-menu.h>
#include <libgnomeui/gnome-dialog-util.h>
+#include <libgnomeui/gnome-window-icon.h>
#include <libgnomeui/gnome-stock.h>
#include <libgnome/gnome-i18n.h>
@@ -1287,6 +1288,7 @@ e_contact_editor_init (EContactEditor *e_contact_editor)
GtkWidget *bonobo_win;
GtkWidget *wants_html;
BonoboUIContainer *container;
+ char *icon_path;
e_contact_editor->email_info = NULL;
e_contact_editor->phone_info = NULL;
@@ -1407,6 +1409,11 @@ e_contact_editor_init (EContactEditor *e_contact_editor)
gtk_signal_connect (GTK_OBJECT (e_contact_editor->app), "delete_event",
GTK_SIGNAL_FUNC (app_delete_event_cb), e_contact_editor);
+
+ /* set the icon */
+ icon_path = g_concat_dir_and_file (EVOLUTION_ICONSDIR, "evolution-contacts-mini.png");
+ gnome_window_icon_set_from_file (GTK_WINDOW (e_contact_editor->app), icon_path);
+ g_free (icon_path);
}
void
diff --git a/addressbook/gui/contact-list-editor/Makefile.am b/addressbook/gui/contact-list-editor/Makefile.am
index 34aea3a678..7349f2a821 100644
--- a/addressbook/gui/contact-list-editor/Makefile.am
+++ b/addressbook/gui/contact-list-editor/Makefile.am
@@ -9,6 +9,7 @@ INCLUDES = \
-DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \
-DDATADIR=\""$(datadir)"\" \
-DEVOLUTION_DATADIR=\""$(datadir)"\" \
+ -DEVOLUTION_ICONSDIR=\""$(iconsdir)"\" \
-DEVOLUTIONDIR=\""$(evolutiondir)"\" \
-DG_LOG_DOMAIN=\"contact-list-editor\" \
$(EVOLUTION_ADDRESSBOOK_CFLAGS)
@@ -22,6 +23,8 @@ libecontactlisteditor_a_SOURCES = \
e-contact-list-model.c \
e-contact-list-model.h
+iconsdir = $(datadir)/images/evolution
+
gladedir = $(datadir)/evolution/glade
glade_DATA = \
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
diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c
index 76761f9515..99e1d524fa 100644
--- a/addressbook/gui/widgets/e-minicard.c
+++ b/addressbook/gui/widgets/e-minicard.c
@@ -67,7 +67,7 @@ struct _EMinicardField {
#define d(x)
-#define LIST_ICON_FILENAME "contact-is-a-list.png"
+#define LIST_ICON_FILENAME "contact-list-16.png"
#define E_MINICARD_FIELD(field) ((EMinicardField *)(field))
n class='insertions'>+38 * - Deprecate (tcl82 support is going to be dropped)mm2009-02-101-0/+2 * Update to 4.0.2.mezz2009-02-092-4/+4 * Update to 0.02erwin2009-01-312-5/+4 * Reassign my p5-* ports to perl@ so more than one personerwin2009-01-3016-16/+16 * - Update X.org ports to 7.4+ (few ports are more recent than the katamari).flz2009-01-241-0/+2 * Bump the version of the curl shared library after the ftp/curl updateroam2009-01-231-2/+2 * - Update to 5.07rafan2009-01-232-5/+4 * - Chase lang/guile shlib bumpmiwi2009-01-231-3/+3 * - add LICENSE:dinoex2009-01-171-0/+2 * - Update to 1.07jadawin2009-01-162-4/+4 * Tarball rerolled after release, fixed SQL quoting errorlth2009-01-152-3/+4 * Update to 2.8.20lth2009-01-143-5/+5 * Presenting GNOME 2.24 for FreeBSD.marcus2009-01-101-3/+3 * - Fix build (needs Xext)pav2009-01-072-0/+2 * Update to 2.8.19lth2008-12-313-5/+6 * With PEAR::Payment_DTA provides functions to create DTA files used in Germanymiwi2008-12-144-0/+37 * Grammar tweak in pkg-descr.mezz2008-12-101-6/+6 * Update to 4.0.1.mezz2008-12-052-11/+5 * Mark it as IGNORE on under FreeBSD 7 as it does not build. Might be fixed inmezz2008-12-041-1/+7 * - Update to 1.2.17pav2008-12-043-5/+8 * - Update to 1.20amdmi32008-12-033-6/+6 * o Fix PLISTlioux2008-12-011-5/+3 * o Add missing dir to PLIST_DIRSlioux2008-11-301-1/+4 * Fix build: JAVA_BUILD has to be "jdk" so that JAVAC is definedlioux2008-11-301-1/+1 * o Uphold NOPORTDOCSlioux2008-11-301-1/+8 * o Make sure a java run time is listed as a extract dependencylioux2008-11-301-1/+4 * o Make sure a java run time is listed as a run dependencylioux2008-11-291-1/+2 * o Fix build on port's cluster: JAVA_VERSION has to be 1.5+ ratherlioux2008-11-291-5/+1 * Update WWW taglioux2008-11-291-1/+1 * Drop maintainership.lioux2008-11-293-3/+3 * - Update to 0.09chinsan2008-11-263-8/+13 * Update to 4.0.mezz2008-11-253-23/+44 * Beanie is a flexible, distributed accounting system for medium-sizedtabthorpe2008-11-145-0/+110 * - Fixed pkg-plist problems and NOPORTDOCS handlingglarkin2008-11-126-28/+122 * - Fixed recursive make invocation that called FreeBSD make insteadglarkin2008-11-108-266/+474 * Update to 1.15skv2008-11-072-5/+4 * - Update to 1.48wxs2008-11-053-12/+10 * Update to 2.8.18lth2008-11-052-4/+4 * Fix dependencies.skv2008-10-181-0/+2 * Update to 3.20erwin2008-10-174-11/+20 * Update to 1.14skv2008-10-163-13/+18 * - Update to 0.8.9glarkin2008-10-1412-78/+236 * webERP is a complete web based accounting/ERP systemmiwi2008-10-116-0/+995 * Update to 2.2.7.kwm2008-10-104-18/+12 * - Update to 1.26miwi2008-09-242-4/+5 * - Fix build on sparc64gahr2008-09-161-6/+8 * Use newer versions of gtkhtml and gofficeahze2008-09-071-3/+3 * Update to 2.2.6ahze2008-09-074-5/+21 * Reset infofarmer due to maintainer-timeouts and no response to email.linimon2008-09-071-1/+1 * Add p5-Finance-QuoteTW, fetch quotes of mutual funds in Taiwan.chinsan2008-09-015-0/+58 * Add p5-Business-OnlinePayment-PaymenTech, PaymenTech backend forchinsan2008-08-315-0/+42 * - Add WWW URL.chinsan2008-08-311-0/+2 * - simplify dependencyleeym2008-08-311-8/+13 * Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.rafan2008-08-217-7/+0 * Conversion from (now defunct) autoconf-2.61 to autoconf-2.62ade2008-08-201-1/+1 * Update to 2.8.17lth2008-08-033-5/+5 * - Drop 4.x supportrafan2008-07-271-7/+1 * - Remove USE_GCC where it can be satisfied with base compiler on followingpav2008-07-252-2/+0 * - Connect ledgersmb12 to the buildpav2008-07-241-0/+1 * - Chase lang/guile share library version bump (.18 -> .19)rafan2008-07-211-1/+1 * - Remove LibOFX optional support (off by default) until somebody fixes itgahr2008-07-092-11/+11 * Update to 2.8.16lth2008-07-092-4/+4 * Add a missing dependency, librsvg2, to view the svg images. Bump themezz2008-07-041-2/+2 * Update to 0.10erwin2008-07-012-4/+4 * - Make fetchable.lippe2008-06-241-1/+1 * - Update to 1.2.13 after repocopy from finance/ledgersmb.lippe2008-06-234-2579/+1386 * - This port has been BROKEN for more than 6 months. It will be removed unlesspav2008-06-191-0/+2 * Update to 2.8.15lth2008-06-192-5/+4 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-0624-15/+24 * - Update to 0.07000miwi2008-06-062-4/+4 * - Update to 1.18miwi2008-05-303-5/+5 * TCLink is a thin client API that allows a merchant to process credit cardchinsan2008-05-294-0/+31 * - Include some ports in perl5 category.araujo2008-05-191-1/+1 * - Update distinfobeech2008-04-241-3/+3 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-2011-27/+21 * - update finance/p5-PayflowPro to latest version to account for change inclsung2008-04-182-4/+4 * Bump PORTREVISION for the switch to ofx off by defaultahze2008-04-171-0/+1 * - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_C...araujo2008-04-1726-51/+26 * Make portlint happyahze2008-04-171-4/+4 * Add options for POSTGRESQL, OFXahze2008-04-172-8/+36 * -Update to 3.8.mezz2008-04-053-6/+39 * Update to 2.8.14lth2008-04-012-4/+4 * Update to 2.2.4ahze2008-03-313-11/+37 * Use the new MASTER_SITES macromat2008-03-311-2/+1 * - Add missing dependensmiwi2008-03-261-1/+2 * - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORGmiwi2008-03-241-1/+1 * - Update to 1.17rafan2008-03-223-5/+5 * Remove USE_XLIB, bump the PORTREVISION on homebank and comix. As for the buoh,mezz2008-03-221-2/+1 * - Update to 0.15miwi2008-03-212-4/+4 * - Update to 1.25miwi2008-03-212-4/+4