[dia: 1/2] Update disp_callbacks.c
- From: Zander <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia: 1/2] Update disp_callbacks.c
- Date: Thu, 12 Dec 2019 17:24:04 +0000 (UTC)
commit c07551335675e8ea1a0326908c4fefe117890b9f
Author: nsynet <nsynet hotmail com>
Date: Thu Dec 12 05:04:17 2019 +0000
Update disp_callbacks.c
To zoom in, Dia user need to press the CTRL+SHIFT+ "+" keys (3 keys), but some people can't understand
why the CTRL+"+" key (2 keys)not works . I tested with Chrome and Firefox, find both of them support the 2
keys and 3 keys way, so I add the 2 keys way for Dia,to avoid user confused.
app/disp_callbacks.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/app/disp_callbacks.c b/app/disp_callbacks.c
index 3bf12515..41206cf3 100644
--- a/app/disp_callbacks.c
+++ b/app/disp_callbacks.c
@@ -999,6 +999,7 @@ ddisplay_canvas_events (GtkWidget *canvas,
break;
case GDK_KP_Add:
case GDK_plus:
+ case GDK_equal:
ddisplay_zoom_middle(ddisp, M_SQRT2);
break;
case GDK_KP_Subtract:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]