diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-06-02 06:29:10 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-06-02 06:29:10 +0800 |
commit | 5ea91bd94b21b27d83d0f6b14d64ce8c0df88acf (patch) | |
tree | a8a02635e105fd6c4a11fb163249c6420755cece /addressbook/gui/widgets | |
parent | 8f4bcac53f23aa42a221f2105263a33521e77c85 (diff) | |
download | gsoc2013-evolution-5ea91bd94b21b27d83d0f6b14d64ce8c0df88acf.tar gsoc2013-evolution-5ea91bd94b21b27d83d0f6b14d64ce8c0df88acf.tar.gz gsoc2013-evolution-5ea91bd94b21b27d83d0f6b14d64ce8c0df88acf.tar.bz2 gsoc2013-evolution-5ea91bd94b21b27d83d0f6b14d64ce8c0df88acf.tar.lz gsoc2013-evolution-5ea91bd94b21b27d83d0f6b14d64ce8c0df88acf.tar.xz gsoc2013-evolution-5ea91bd94b21b27d83d0f6b14d64ce8c0df88acf.tar.zst gsoc2013-evolution-5ea91bd94b21b27d83d0f6b14d64ce8c0df88acf.zip |
return TRUE if opening a contact editor so that we don't get a "new
2000-06-01 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard.c: return TRUE if opening a contact
editor so that we don't get a "new dialog" contact editor.
svn path=/trunk/; revision=3342
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r-- | addressbook/gui/widgets/e-minicard-view.c | 7 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard.c | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/addressbook/gui/widgets/e-minicard-view.c b/addressbook/gui/widgets/e-minicard-view.c index 73463866f4..2243f91b80 100644 --- a/addressbook/gui/widgets/e-minicard-view.c +++ b/addressbook/gui/widgets/e-minicard-view.c @@ -328,9 +328,12 @@ e_minicard_view_event (GnomeCanvasItem *item, GdkEvent *event) NULL); } } - return FALSE; - default: return TRUE; + default: + if (GNOME_CANVAS_ITEM_CLASS(parent_class)->event) + return GNOME_CANVAS_ITEM_CLASS(parent_class)->event(item, event); + else + return FALSE; break; } } diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index 834bd3a0b0..1510c34205 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -423,6 +423,7 @@ e_minicard_event (GnomeCanvasItem *item, GdkEvent *event) card_changed_cb, NULL); } + return TRUE; } break; case GDK_KEY_PRESS: |