Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
9f040483
Commit
9f040483
authored
Sep 15, 2017
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Xtt crossreference window, segfault at double click fixed
parent
7437ee2a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
src/msg/flow/src/flow_msg.msg
src/msg/flow/src/flow_msg.msg
+1
-0
xtt/lib/flow/gtk/flow_draw_gtk.cpp
xtt/lib/flow/gtk/flow_draw_gtk.cpp
+4
-1
xtt/lib/xtt/src/xtt_xattnav.cpp
xtt/lib/xtt/src/xtt_xattnav.cpp
+3
-2
No files found.
src/msg/flow/src/flow_msg.msg
View file @
9f040483
...
...
@@ -47,3 +47,4 @@ nonextsibling <There is no next sibling> /error
destroyed <Flow ctx is destroyed> /info
no_propagate <Don't propagate event handling> /info
fileopen <Unable to open file> /error
terminated <Ctx is terminated> /info
xtt/lib/flow/gtk/flow_draw_gtk.cpp
View file @
9f040483
...
...
@@ -763,7 +763,10 @@ int FlowDrawGtk::event_handler( FlowCtx *ctx, GdkEvent event)
sts
=
ctx
->
event_handler
(
flow_eEvent_MB1DoubleClickShiftCtrl
,
(
int
)
event
.
button
.
x
,
(
int
)
event
.
button
.
y
,
0
,
0
);
else
sts
=
ctx
->
event_handler
(
flow_eEvent_MB1DoubleClick
,
(
int
)
event
.
button
.
x
,
(
int
)
event
.
button
.
y
,
0
,
0
);
if
(
sts
==
FLOW__TERMINATED
)
return
sts
;
click_sensitivity
=
0
;
break
;
case
2
:
// Button2
if
(
(
event
.
button
.
state
&
GDK_SHIFT_MASK
)
&&
...
...
@@ -2013,4 +2016,4 @@ FlowPrintDraw *FlowDrawGtk::print_draw_new( void *context, const char *title, in
FlowPrintDrawGtk
*
pd
=
new
FlowPrintDrawGtk
(
context
,
title
,
page
,
flow_ctx
,
page_border
,
sts
);
return
(
FlowPrintDraw
*
)
pd
;
}
\ No newline at end of file
}
xtt/lib/xtt/src/xtt_xattnav.cpp
View file @
9f040483
...
...
@@ -49,6 +49,7 @@
#include "flow.h"
#include "flow_browctx.h"
#include "flow_browapi.h"
#include "flow_msg.h"
#include "xtt_xatt.h"
#include "xtt_xattnav.h"
...
...
@@ -473,7 +474,7 @@ int XAttNav::brow_cb( FlowCtx *ctx, flow_tEvent event)
((
ItemCrossref
*
)
item
)
->
ref_name
);
if
(
xattnav
->
close_cb
)
{
(
xattnav
->
close_cb
)(
xattnav
->
parent_ctx
);
return
1
;
return
FLOW__TERMINATED
;
}
}
break
;
...
...
@@ -953,4 +954,4 @@ void XAttNav::zoom( double zoom_factor)
void
XAttNav
::
unzoom
()
{
brow_UnZoom
(
brow
->
ctx
);
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment