diff options
author | Hao Sheng <hao.sheng@sun.com> | 2004-11-02 16:36:05 +0800 |
---|---|---|
committer | Harry Lu <haip@src.gnome.org> | 2004-11-02 16:36:05 +0800 |
commit | 6de9a6be95937779ce039dc4c4b426576c3f8db2 (patch) | |
tree | e699bdd305b22bfb6360280bef817acf6ee1a6a7 /addressbook | |
parent | fb88e0be5f426e8ef9a1d20a742d5a8cb6a85328 (diff) | |
download | gsoc2013-evolution-6de9a6be95937779ce039dc4c4b426576c3f8db2.tar gsoc2013-evolution-6de9a6be95937779ce039dc4c4b426576c3f8db2.tar.gz gsoc2013-evolution-6de9a6be95937779ce039dc4c4b426576c3f8db2.tar.bz2 gsoc2013-evolution-6de9a6be95937779ce039dc4c4b426576c3f8db2.tar.lz gsoc2013-evolution-6de9a6be95937779ce039dc4c4b426576c3f8db2.tar.xz gsoc2013-evolution-6de9a6be95937779ce039dc4c4b426576c3f8db2.tar.zst gsoc2013-evolution-6de9a6be95937779ce039dc4c4b426576c3f8db2.zip |
popup right-click menu after pressing Shift+F10.
2004-11-2 Hao Sheng <hao.sheng@sun.com>
* gui/widgets/e-minicard-view.c: popup right-click menu after
pressing Shift+F10.
svn path=/trunk/; revision=27791
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard-view.c | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index b31265ff39..dc183495f8 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2004-11-2 Hao Sheng <hao.sheng@sun.com> + + * gui/widgets/e-minicard-view.c: popup right-click menu after + pressing Shift+F10. + 2004-11-01 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/eab-gui-util.c diff --git a/addressbook/gui/widgets/e-minicard-view.c b/addressbook/gui/widgets/e-minicard-view.c index 6cae674c98..b5803dc658 100644 --- a/addressbook/gui/widgets/e-minicard-view.c +++ b/addressbook/gui/widgets/e-minicard-view.c @@ -29,6 +29,7 @@ #include <gtk/gtkselection.h> #include <gtk/gtkdnd.h> +#include <gdk/gdkkeysyms.h> #include <gal/widgets/e-canvas.h> #include <libgnome/gnome-i18n.h> #include <string.h> @@ -356,6 +357,12 @@ e_minicard_view_event (GnomeCanvasItem *item, GdkEvent *event) e_minicard_view_right_click (view, event); } break; + case GDK_KEY_PRESS: + if (event->key.keyval & GDK_SHIFT_MASK && + event->key.keyval == GDK_F10) { + e_minicard_view_right_click (view, event); + } + break; default: break; } |