Compare commits
No commits in common. "37adaac965d2dc7cbb28c1068c382521a30092b6" and "c905f64d123f68f6559efaf9b14cc7d8709f3337" have entirely different histories.
37adaac965
...
c905f64d12
@ -269,8 +269,6 @@ fastiv_view_scroll_event(GtkWidget *widget, GdkEventScroll *event)
|
||||
FastivView *self = FASTIV_VIEW(widget);
|
||||
if (!self->surface)
|
||||
return FALSE;
|
||||
if (event->state & gtk_accelerator_get_default_mod_mask())
|
||||
return FALSE;
|
||||
|
||||
switch (event->direction) {
|
||||
case GDK_SCROLL_UP:
|
||||
@ -314,7 +312,7 @@ fastiv_view_class_init(FastivViewClass *klass)
|
||||
"scale", "Scale", "Zoom level",
|
||||
0, G_MAXDOUBLE, 1.0, G_PARAM_READABLE);
|
||||
view_properties[PROP_SCALE_TO_FIT] = g_param_spec_boolean(
|
||||
"scale-to-fit", "Scale to fit", "Scale images down to fit the window",
|
||||
"scale-to-fit", "Scale to fit", "Scale images doewn to fit the window",
|
||||
TRUE, G_PARAM_READABLE);
|
||||
g_object_class_install_properties(
|
||||
object_class, N_PROPERTIES, view_properties);
|
||||
|
Loading…
x
Reference in New Issue
Block a user