@@ -731,9 +731,7 @@ imagewindow_imageui_set_visible(Imagewindow *win,
731731
732732 if (imageui ) {
733733 // set_transition_type can stack overflow for some transitions
734- // gtk_stack_set_transition_type(GTK_STACK(win->stack), transition);
735- gtk_stack_set_transition_type (GTK_STACK (win -> stack ),
736- GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT );
734+ gtk_stack_set_transition_type (GTK_STACK (win -> stack ), transition );
737735 gtk_stack_set_visible_child (GTK_STACK (win -> stack ), GTK_WIDGET (imageui ));
738736
739737 /* Enable the control settings, if the displaycontrolbar is on.
@@ -1269,8 +1267,8 @@ imagewindow_next_image(GSimpleAction *action,
12691267
12701268 if (win -> n_files > 0 ) {
12711269 win -> current_file = (win -> current_file + 1 ) % win -> n_files ;
1272- imagewindow_open_current_file (win ,
1273- GTK_STACK_TRANSITION_TYPE_ROTATE_LEFT );
1270+ imagewindow_open_current_file (win ,
1271+ GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT );
12741272 }
12751273}
12761274
@@ -1289,7 +1287,7 @@ imagewindow_prev_image(GSimpleAction *action,
12891287 win -> current_file = (win -> current_file + win -> n_files - 1 ) %
12901288 win -> n_files ;
12911289 imagewindow_open_current_file (win ,
1292- GTK_STACK_TRANSITION_TYPE_ROTATE_RIGHT );
1290+ GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT );
12931291 }
12941292}
12951293
@@ -1700,7 +1698,7 @@ imagewindow_open_files(Imagewindow *win, char **files, int n_files)
17001698#endif /*DEBUG*/
17011699
17021700 imagewindow_files_set (win , files , n_files );
1703- imagewindow_open_current_file (win , GTK_STACK_TRANSITION_TYPE_ROTATE_LEFT );
1701+ imagewindow_open_current_file (win , GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT );
17041702}
17051703
17061704void
@@ -1711,7 +1709,7 @@ imagewindow_open_list_gfiles(Imagewindow *win, GSList *gfiles)
17111709#endif /*DEBUG*/
17121710
17131711 imagewindow_files_set_list_gfiles (win , gfiles );
1714- imagewindow_open_current_file (win , GTK_STACK_TRANSITION_TYPE_ROTATE_LEFT );
1712+ imagewindow_open_current_file (win , GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT );
17151713}
17161714
17171715void
0 commit comments