Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.

Implemented mouse wheel handling and fixed click handling #22

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
f993e2f
src/classes/presentation_controller.vala
mikerofone Jan 30, 2011
a443471
src/classes/presentation_controller.vala
mikerofone Jan 30, 2011
d3a7981
Implemented coutdown timer to start of presentation
jakobwesthoff Mar 11, 2011
5886db8
Implemented the countdown timer in a same way. No more hacks ;)
jakobwesthoff Mar 11, 2011
be6d58d
Added method for going back 10 slides
Nov 18, 2011
ccfbba1
Implemented the "go back 10 slides" on backspace
Nov 18, 2011
d613d75
Implemented jump10 calls
Nov 22, 2011
7f90e99
Fine tuning of jump and back for border cases
Nov 22, 2011
926b3df
Small optimization moving two function calls
Nov 22, 2011
77fdfc1
Added p as key to go back 10 slides
Nov 22, 2011
8f9a742
Adapted to poppler >= 0.17
Nov 23, 2011
f522b54
Updated the README with the new keybindings for 10 slides jumps
Nov 23, 2011
ae283a5
Added a text view for displaying notes
Dec 9, 2011
daf66ee
Reading of notes from external file
Dec 10, 2011
1294929
Added .gitignore
Dec 10, 2011
626a68a
Next view "disappears" on last slide
Dec 12, 2011
726715c
Added an option for having a black slide at the end of the presentation
Dec 12, 2011
e8464f7
Added a switch for single monitor presentation
Dec 14, 2011
e93445a
Merge branch 'master' into blackOnEnd
Dec 14, 2011
b4dccd9
Removed warnings when displaying black slide at end
Dec 14, 2011
b7b50e2
Fading to black enabled, but going out not yet
Dec 14, 2011
d573c15
Going in and out of fade_to_black
Dec 14, 2011
72879f4
Fade to black is also shown in the presenter window
Dec 14, 2011
f17d324
First steps towards note editing
Dec 15, 2011
cfc5f04
Merge branch 'notes', remote-tracking branch 'origin/notes' into notes
Dec 16, 2011
3f96b9c
Moved ignoring of key (& mouse) events to the presentation_controller
Dec 16, 2011
eec0664
Note saving supported
Dec 16, 2011
3952c9a
Changed the slide id for notes
Dec 16, 2011
2f74579
Trying to circumvent the issue with endlines at the end of file
Dec 16, 2011
1d63446
Merge branch 'notes'
Dec 16, 2011
399799d
Updated README
Dec 16, 2011
0bca8bf
Added a grab_focus when editing notes
Dec 16, 2011
5d6193a
Added possibility to jump to a slide by number
Dec 16, 2011
f1cb6b7
Merge branch 'gotoPage'
Dec 16, 2011
455c15a
Added a null-resetting for avoiding segfaults at end of presentation
Jan 13, 2012
ccef269
Merge git://github.com/davvil/Pdf-Presenter-Console
mikerofone Jan 28, 2012
f5ab9af
Changed README to include mouse wheel commands
mikerofone Jan 28, 2012
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
src/classes/presentation_controller.vala
  ignoring GDK_2/3BUTTON_PRESS events to avoid clicks being handled multiple times
  • Loading branch information
mikerofone authored and Mike Rofone committed Jan 30, 2011
commit f993e2f2385c00140a7f25a2108b91f7ad466cb2
4 changes: 4 additions & 0 deletions src/classes/presentation_controller.vala
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ namespace org.westhoffswelt.pdfpresenter {
* Handle mouse clicks to each of the controllables
*/
public void button_press( Gdk.EventButton button ) {
if (button.type != Gdk.EventType.BUTTON_PRESS) {
/* Either a release or a double/triple click event - ignore */
return;
}
switch( button.button ) {
case 1: /* Left button */
this.controllables_next_page();
Expand Down