diff options
-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; } |