[gnumeric] fix triggering of hyperlinks
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] fix triggering of hyperlinks
- Date: Wed, 29 May 2013 20:29:26 +0000 (UTC)
commit e3a363fcc5392d6877c109717c69cfbed54c3cd6
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Wed May 29 14:28:39 2013 -0600
fix triggering of hyperlinks
2013-05-29 Andreas J. Guelzow <aguelzow pyrshep ca>
* src/item-grid.c (item_grid_button_released): do not trigger hyper link
with button 2
ChangeLog | 5 +++++
src/item-grid.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 19e95e2..e565851 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-29 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * src/item-grid.c (item_grid_button_released): do not trigger hyper link
+ with button 2
+
2013-05-27 Morten Welinder <terra gnome org>
* src/mathfunc.c (pnorm2): Drop log_p argument. We don't need it
diff --git a/src/item-grid.c b/src/item-grid.c
index c973890..a281f3d 100644
--- a/src/item-grid.c
+++ b/src/item-grid.c
@@ -1163,7 +1163,7 @@ item_grid_button_released (GocItem *item, int button, G_GNUC_UNUSED double x_, G
gnm_expr_entry_signal_update (
wbcg_get_entry_logical (scg_wbcg (scg)), TRUE);
- if (selecting == GNM_ITEM_GRID_SELECTING_CELL_RANGE) {
+ if (selecting == GNM_ITEM_GRID_SELECTING_CELL_RANGE && button == 1) {
GnmCellPos const *pos = sv_is_singleton_selected (scg_view (scg));
if (pos != NULL) {
GnmHLink *link;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]