aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-09-05 06:23:50 +0800
committerChris Toshok <toshok@src.gnome.org>2002-09-05 06:23:50 +0800
commitf966fe07757883ad5168a16daa2da39afbb388b3 (patch)
tree9f593a1e1445eefbe7233807e7cb46ee31cfd10d /addressbook
parente724a9a9cfbc3a0c532d0781d5ee304dd724fddc (diff)
downloadgsoc2013-evolution-f966fe07757883ad5168a16daa2da39afbb388b3.tar.gz
gsoc2013-evolution-f966fe07757883ad5168a16daa2da39afbb388b3.tar.zst
gsoc2013-evolution-f966fe07757883ad5168a16daa2da39afbb388b3.zip
[ Fixes #29904 ] we need to activate either a contact list editor or
2002-09-04 Chris Toshok <toshok@ximian.com> [ Fixes #29904 ] * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_activate_obj): we need to activate either a contact list editor or contact editor depending on if it's a list (this screams for a utility function.) svn path=/trunk/; revision=17980
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog8
-rw-r--r--addressbook/gui/component/select-names/e-select-names-text-model.c13
2 files changed, 18 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index c1b4af086e..dca705bfef 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,11 @@
+2002-09-04 Chris Toshok <toshok@ximian.com>
+
+ [ Fixes #29904 ]
+ * gui/component/select-names/e-select-names-text-model.c
+ (e_select_names_text_model_activate_obj): we need to activate
+ either a contact list editor or contact editor depending on if
+ it's a list (this screams for a utility function.)
+
2002-09-04 Dan Winship <danw@ximian.com>
* gui/component/addressbook-storage.c
diff --git a/addressbook/gui/component/select-names/e-select-names-text-model.c b/addressbook/gui/component/select-names/e-select-names-text-model.c
index 0a69137fa5..9c108868b9 100644
--- a/addressbook/gui/component/select-names/e-select-names-text-model.c
+++ b/addressbook/gui/component/select-names/e-select-names-text-model.c
@@ -760,7 +760,6 @@ static void
e_select_names_text_model_activate_obj (ETextModel *model, gint n)
{
ESelectNamesModel *source = E_SELECT_NAMES_TEXT_MODEL (model)->source;
- EContactEditor *contact_editor;
ECard *card;
gint i;
@@ -771,8 +770,16 @@ e_select_names_text_model_activate_obj (ETextModel *model, gint n)
g_return_if_fail (card != NULL);
/* present read-only contact editor when someone double clicks from here */
- contact_editor = e_addressbook_show_contact_editor (e_card_get_book (card), card, FALSE, FALSE);
- e_contact_editor_raise (contact_editor);
+ if (e_card_evolution_list (card)) {
+ EContactListEditor *ce;
+ ce = e_addressbook_show_contact_list_editor (e_card_get_book(card), card, FALSE, FALSE);
+ e_contact_list_editor_raise (ce);
+ }
+ else {
+ EContactEditor *ce;
+ ce = e_addressbook_show_contact_editor (e_card_get_book(card), card, FALSE, FALSE);
+ e_contact_editor_raise (ce);
+ }
}
mit/UPDATING?h=gnome-3.24&id=876acd1dcf237223229b12a3d97338596781acc6'>Switch mDNSResponder from the Apple startup script to a simple rc.subrbrooks2005-03-261-0/+9 * Eventually I'll learn to count, too.lofi2005-03-211-1/+1 * Missed a teensy detail there.lofi2005-03-211-1/+1 * Update to KDE 3.4lofi2005-03-211-0/+78 * Update portsnap to version 0.9. This brings the following changes:krion2005-03-201-0/+18 * Remove trailing whitespace.marcus2005-03-191-4/+4 * Add UPDATING reminder that all versions of postgresql now use needgirgen2005-03-191-0/+10 * - Add UPDATING entry about latest blackbox ports changes.flz2005-03-191-0/+7 * Document changes to mysql 3.23 server startup script.ale2005-03-151-0/+10 * Describe the new way to set the mysql40 database directory.ale2005-03-141-0/+10 * - Update to 0.8sem2005-03-131-0/+8 * - Add note about the Gnome 2.8 to 2.10 and gtk 2.4 to 2.6 upgrade needsahze2005-03-121-0/+12 * Now that WITH_AUTHLIB=yes case has been finally fixed,sergei2005-03-091-0/+20 * Note that math/ploticus now installs as bin/ploticus rather than bin/pl.linimon2005-03-071-0/+7 * Add entry for net/i2p update problem: current version is incompatiblelioux2005-03-041-0/+19 * Upgrade ganglia to 3.0.0.brooks2005-03-021-0/+16 * Fix typo in 20041128 mail/dspamvs2005-02-281-1/+1 * Disable threads again; it has caused the more troubles. This time, it hasmezz2005-02-251-0/+10 * - Fix event MPM build [1]clement2005-02-241-0/+6 * Describe the new way to set the mysql41 database directory.ale2005-02-161-0/+10 * - Add note about updating nagios to 2.0b2pav2005-02-151-0/+10 * Add a note for pitfalls regarding teTeX 3.0.hrs2005-02-131-0/+30 * o Add CONFLITS.nork2005-02-121-0/+13 * Update to 2.99.13.20040204, a teTeX-3.0 release candidate.hrs2005-02-061-0/+18 * The slippery pthread support for systems prior to 502102 has beenknu2005-02-051-0/+13 * Don't tell that it is not necessary to upgrade perl-dependent ports,tobez2005-02-011-3/+0 * Document lang/perl5 and lang/perl5.8 update.tobez2005-02-011-0/+24 * Split the postgresql ports into a server and a client part.girgen2005-01-311-0/+19 * An an entry for net/howl on using its new rcNG script.marcus2005-01-301-0/+14 * - bring xfce4 to 4.2oliver2005-01-271-0/+9 * Enter PostgreSQL 8.0.0. Given 4.11 is still being released, abuse -devel byseanc2005-01-231-0/+14 * Add a entry on upgrading the SpamBouncer installation.thierry2005-01-181-1/+9 * Whitespaces cleanup.krion2005-01-181-4/+4 * Add an entry about astk-client's parameters file.thierry2005-01-181-0/+8 * 20050108: s/rc.sub[^r]/&r/oliver2005-01-181-1/+1 * adjust 20050108 entry about courier-imapoliver2005-01-181-2/+3 * Add an entry instructing people to remove an unintentionally-createdadamw2005-01-151-0/+19 * Add entry for irc/iip update problemlioux2005-01-111-0/+31 * Add an entry for nautilus-cd-burner, and the cdrtools problem.marcus2005-01-111-0/+15 * Fix typos in portnames.lofi2005-01-081-4/+4 * upadate to courier-authlib 0.52, courier-imap 4.0.1 and sqwebmail 5.0.0oliver2005-01-081-0/+34 * Additionally suggest adding /tmp/.ICE-unix to daily_clean_tmps_ignore for userslofi2005-01-031-0/+3 * Say hello to the linux mega patch, it consolidates our linux bits anetchild2005-01-011-0/+11 * - Add a note for users of www/awstatspav2004-12-311-1/+8 * Also suggest to not use clear_tmp_enable right now, since it'll nukelofi2004-12-301-0/+4 * Add a note about checking the ICE socket directory in case KDE refuseslofi2004-12-301-0/+13 * Add a notice about the personal configuration file of Gambas Databasethierry2004-12-281-0/+8 * Alert about the upgrade process of Horde's application.thierry2004-12-261-0/+18 * Explain the switch from graphics/dri to graphics/xfree86-dri forlesi2004-12-251-0/+15 * Remove trailing spaces.krion2004-12-241-4/+4 * - Suggest that sysutils/portupgrade should be upgraded prior toknu2004-12-241-1/+11 * Fix ports: security/clamav and security/clamav-devel (change dbedwin2004-12-221-0/+8 * - Add a small note about gpgme* changesclement2004-12-211-0/+9 * Document the upgrade procedure for JDictionary due to recent file locationhq2004-12-191-0/+10 * Let net/freenet6 use rc.subredwin2004-12-141-0/+7 * Fix typos.lofi2004-12-141-2/+2 * Add note about cryptplug's dependency change and it not being requiredlofi2004-12-141-0/+13 * Add headsup for databases/postgresql-relay rc.conf usages.edwin2004-12-131-0/+7 * Add note about split of sysutils/bacula.linimon2004-12-131-0/+11