@@ -81,14 +81,6 @@ save_options_error_response( GtkWidget *button, int response,
8181 save_options_error_hide ( options );
8282}
8383
84- static void
85- save_options_preeval ( VipsImage * image ,
86- VipsProgress * progress , SaveOptions * options )
87- {
88- gtk_action_bar_set_revealed ( GTK_ACTION_BAR ( options -> progress_bar ),
89- TRUE );
90- }
91-
9284static void
9385save_options_eval ( VipsImage * image ,
9486 VipsProgress * progress , SaveOptions * options )
@@ -110,6 +102,11 @@ save_options_eval( VipsImage *image,
110102 return ;
111103 options -> last_progress_time = time_now ;
112104
105+ // you'd think we could do this in preeval, but it doesn't always seem to
106+ // fire for some reason
107+ gtk_action_bar_set_revealed ( GTK_ACTION_BAR ( options -> progress_bar ),
108+ TRUE );
109+
113110 vips_buf_appendf ( & buf , "%d%% complete, %d seconds to go" ,
114111 progress -> percent , progress -> eta );
115112 gtk_progress_bar_set_text ( GTK_PROGRESS_BAR ( options -> progress ),
@@ -526,8 +523,6 @@ save_options_new( GtkWindow *parent_window,
526523
527524 if ( options -> image ) {
528525 vips_image_set_progress ( options -> image , TRUE );
529- g_signal_connect_object ( options -> image , "preeval" ,
530- G_CALLBACK ( save_options_preeval ), options , 0 );
531526 g_signal_connect_object ( options -> image , "eval" ,
532527 G_CALLBACK ( save_options_eval ), options , 0 );
533528 g_signal_connect_object ( options -> image , "posteval" ,
0 commit comments