projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove a dependency (introduced r2360) of the (GUI independent) code in
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
widget_time.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/widget_time.cpp
b/synfig-studio/trunk/src/gtkmm/widget_time.cpp
index
caa9924
..
2467c70
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/widget_time.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/widget_time.cpp
@@
-7,6
+7,7
@@
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
** Copyright (c) 2008 Chris Moore
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
** Copyright (c) 2008 Chris Moore
+** Copyright (c) 2008 Paul Wise
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
@@
-120,13
+121,13
@@
Widget_Time::on_event(GdkEvent* event)
switch(event->type)
{
case GDK_SCROLL:
switch(event->type)
{
case GDK_SCROLL:
- if(event->scroll.direction==GDK_SCROLL_DOWN)
+ if(event->scroll.direction==GDK_SCROLL_DOWN
|| event->scroll.direction==GDK_SCROLL_LEFT
)
{
time_-=scroll_amount;
refresh_text();
signal_value_changed()();
}
{
time_-=scroll_amount;
refresh_text();
signal_value_changed()();
}
- else if(event->scroll.direction==GDK_SCROLL_UP)
+ else if(event->scroll.direction==GDK_SCROLL_UP
|| event->scroll.direction==GDK_SCROLL_RIGHT
)
{
time_+=scroll_amount;
refresh_text();
{
time_+=scroll_amount;
refresh_text();