aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-07-24 04:50:17 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-07-24 04:50:17 +0800
commitb7f80576ce2c16c9a6cd56a1c8a8f9326a3d3a82 (patch)
tree2a82348242494975db683203a2a54fadc128157c /widgets
parentb6f3f2287c8908e8bb6b44ae8c266ed7d07cd006 (diff)
downloadgsoc2013-evolution-b7f80576ce2c16c9a6cd56a1c8a8f9326a3d3a82.tar.gz
gsoc2013-evolution-b7f80576ce2c16c9a6cd56a1c8a8f9326a3d3a82.tar.zst
gsoc2013-evolution-b7f80576ce2c16c9a6cd56a1c8a8f9326a3d3a82.zip
(item_key_press): In the case of '-' and '=', check
that no non-Shift modifier is pressed. svn path=/trunk/; revision=17556
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-tree.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index dce60d441c..f3b21fff50 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -869,6 +869,9 @@ item_key_press (ETableItem *eti, int row, int col, GdkEvent *event, ETree *et)
case '=':
case GDK_Right:
case GDK_KP_Right:
+ /* Only allow if the Shift modifier is used -- eg. Ctrl-Equal shouldn't be handled. */
+ if (key->state & ~(GDK_SHIFT_MASK | GDK_LOCK_MASK))
+ break;
if (row != -1) {
path = e_tree_table_adapter_node_at_row(et->priv->etta, row);
if (path)
@@ -879,6 +882,9 @@ item_key_press (ETableItem *eti, int row, int col, GdkEvent *event, ETree *et)
case '-':
case GDK_Left:
case GDK_KP_Left:
+ /* Only allow if the Shift modifier is used -- eg. Ctrl-Minus shouldn't be handled. */
+ if (key->state & ~(GDK_SHIFT_MASK | GDK_LOCK_MASK))
+ break;
if (row != -1) {
path = e_tree_table_adapter_node_at_row(et->priv->etta, row);
if (path)
- Update to 0.19.9dhn2011-02-013-4/+7 * Heiner does not have time for FreeBSD anymore, reset MAINTAINERSHIParved2011-01-111-1/+1 * - Update to 0.19.8dhn2011-01-082-4/+3 * Remove expired ports:garga2011-01-036-158/+0 * - Update to Krusader 2.3.0-beta1 "New Horizons" releasefluffy2010-12-303-5/+85 * Update to 2.32.2.1.avl2010-12-302-3/+3 * - Update to 0.19.7dhn2010-12-252-4/+4 * - Update to 4.2pav2010-12-173-7/+5 * - Update e17 applications suite to the recent snapshot.stas2010-12-141-0/+4 * Update to 2.32.2.kwm2010-12-122-3/+3 * Sync to new bsd.autotools.mkade2010-12-046-6/+6 * - Update to version 0.7.4mva2010-12-022-4/+3 * - Update to 0.19.6dhn2010-11-262-4/+4 * Actualy remove the removed ports from the GNOME 2.32 commit mentioned in MOVED.kwm2010-11-242-16/+0 * Presenting GNOME 2.32.1 for FreeBSD. The offical release notes for thiskwm2010-11-203-9/+22 * - Update to 0.19.5dhn2010-11-182-4/+4 * - Update to 0.19.4dhn2010-10-292-4/+4 * - Update to 0.19.3dhn2010-10-182-4/+4 * Punt autoconf267->autoconf268ade2010-10-161-1/+1 * - Update to 0.19.2dhn2010-10-072-5/+4 * Round one migration of ports from automake{19,110} to automake111ade2010-10-061-1/+1 * - Update to 0.9.7kmoore2010-09-304-66/+25 * - Update to 0.8.5 [1]lme2010-09-303-7/+8 * - Update to 1.32.2gahr2010-09-235-41/+28 * Update to 2.6.5makc2010-09-183-11/+14 * Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-161-1/+2 * - Add missing perl5 virtual categoriespgollucci2010-09-141-1/+1 * - Fix PLISTgahr2010-08-251-0/+1 * - Update to 1.32.1gahr2010-08-248-16/+181 * Fix build with upcoming KDE 4.5makc2010-08-211-0/+2 * - Update to 0.7.3mva2010-06-182-5/+4 * - Update to 1.2.8.6sylvio2010-06-083-5/+5 * LICENSE BSDdinoex2010-06-041-0/+2 * update xfce to 4.6.2oliver2010-05-314-16/+58 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-3113-12/+13 * - drop USE_GNUSTEP_PREFIXdinoex2010-05-302-22/+21 * - fix build with gnustep-make 2.4dinoex2010-05-221-0/+3 * - Fix plistfluffy2010-05-152-3/+1 * - Make tinderbox happy without extra @dirrmtry for common locale dirsfluffy2010-05-142-8/+1 * Presenting GNOME 2.30.1 for FreeBSD. The offical release notes for thiskwm2010-05-114-16/+10 * - Update Krusader2 to 2.2.0-Beta1 releasefluffy2010-05-105-647/+63 * Chase audio/libmodplug update.ehaupt2010-04-241-1/+1 * - fix build for png-1.4.1dinoex2010-03-291-11/+11 * - fix build for png-1.4.1dinoex2010-03-291-0/+11 * - update to 1.4.1dinoex2010-03-2828-30/+32 * - Chase x11-toolkits/fox16 updategahr2010-03-241-1/+1 * - Chase x11-toolkits/fltk updategahr2010-03-242-23/+7 * - Update to 1.2.8.5sylvio2010-03-082-5/+4 * - Update to 0.7.2mva2010-03-083-9/+8 * - update to jpeg-8dinoex2010-02-0529-23/+32 * - Update devel/sdl12 to version 1.2.14.mva2010-01-301-1/+1 * 2010-01-08 x11-toolkits/gtkada-gps: has been broken for 3 monthsmiwi2010-01-289-188/+0 * Update to 0.6.1.marcus2010-01-242-4/+4 * Update to 0.6.0.marcus2010-01-183-13/+13 * - Update to 1.2.8.4sylvio2010-01-172-4/+4 * bump PORTREVISION for the recent update ofoliver2010-01-10 iCalObject. Work around not having a compareJP Rosevear2000-08-213-104/+202 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-20 JP Rosevear <jpr@helixcode.com> * gui/e-week-view.c (e_week_view_update_event): Use CalComponent instead of iCalObject. Work around not having a compare dates routine for two CalComponents. (e_week_view_reload_events): Use revamped CalClient (e_week_view_reshape_event_span): Use CalComponent instead of iCalObject, #if some alarm stuff (e_week_view_update_event_cb): Use CalComponent instead of iCalObject (e_week_view_foreach_event_with_uid): ditto (e_week_view_remove_event_cb): ditto (e_week_view_free_events): ditto (e_week_view_add_event): ditto (e_week_view_on_editing_stopped): ditto (e_week_view_find_event_from_uid): ditto (e_week_view_key_press): ditto (e_week_view_show_popup_menu): ditto (e_week_view_on_new_appointment): ditto (e_week_view_on_edit_appointment): ditto (e_week_view_on_delete_occurrence): ditto (e_week_view_on_delete_appointment): ditto (e_week_view_on_unrecur_appointment): ditto * gui/e-week-view.h: Update prototypes. svn path=/trunk/; revision=4895 * ChangeLog error.Chris Lahey2000-08-211-1/+1 | | | | svn path=/trunk/; revision=4894 * Added e_table_selection_model_selected_count.Christopher James Lahey2000-08-215-0/+59 | | | | | | | | | 2000-08-20 Christopher James Lahey <clahey@helixcode.com> * e-table-selection-model.c: Added e_table_selection_model_selected_count. svn path=/trunk/; revision=4893 * many fixes to make it compile with strange prefixes...Mathieu Lacage2000-08-217-7/+11 | | | | | | | neither mail nor the calendar components work though... evil stuff. svn path=/trunk/; revision=4892 * Translations from KeldKenneth Christiansen2000-08-211-67/+72 | | | | | | | | | | | | | achtung/po/da.po balsa/po/da.po bonobo/po/da.po bug-buddy/po/da.po control-center/po/da.po dia/po/da.po dr-genius/po/da.po eog/po/da.po evolution/po/da.po gconf/po/da.po gedit/po/da.po gernel/po/da.po gnome-db/po/da.po gnome-iconedit/po/da.po gnome-utils/po/da.po gnome-vfs/po/da.po gnumeric/po/da.po gtranslator/po/da.po guppi3/po/da.po mc/po/da.po nautilus/po/da.po oaf/po/da.po pan/po/da.po sodipodi/po/da.po svn path=/trunk/; revision=4891 * Updated Slovenian translationAndraz Tori2000-08-211-1/+1 | | | | svn path=/trunk/; revision=4890 * Fixed a warning.Christopher James Lahey2000-08-203-0/+8 | | | | | | | | 2000-08-20 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/e-text.c: Fixed a warning. svn path=/trunk/; revision=4889 * added UNICODE_LIBS to get unicode linking with the shell...Arik Devens2000-08-202-1/+7 | | | | svn path=/trunk/; revision=4888 * added use of UNICODE_CFLAGS... thanks ian...Arik Devens2000-08-203-2/+9 | | | | svn path=/trunk/; revision=4887 * Moved e-text to UTF-8Lauris Kaplinski2000-08-2010-448/+596 | | | | svn path=/trunk/; revision=4886 * First step moving to UTF-8 stringsLauris Kaplinski2000-08-209-415/+738 | | | | svn path=/trunk/; revision=4885 * Fixed a warning.Christopher James Lahey2000-08-202-2/+6 | | | | | | | | 2000-08-19 Christopher James Lahey <clahey@helixcode.com> * e-shell-folder-title-bar.c: Fixed a warning. svn path=/trunk/; revision=4884 * Fixed a warning.Christopher James Lahey2000-08-202-0/+6 | | | | | | | | 2000-08-19 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Fixed a warning. svn path=/trunk/; revision=4883 * Changed this to use ECardSimple.Christopher James Lahey2000-08-20