$NetBSD: patch-ac,v 1.1 2005/03/16 18:32:50 rillig Exp $ Copy and paste bug. --- app/store_frame_manager.c.orig Tue Dec 28 17:22:02 2004 +++ app/store_frame_manager.c Sat Mar 12 14:36:11 2005 @@ -2153,51 +2153,6 @@ sfm_store_change_frame_to (GDisplay* dis disp->ID = disp->gimage->ID; item->gimage = disp->gimage; sfm_store_make_cur (disp, fm->fg); -void -sfm_slide_show (GtkWidget *w, gpointer data) -{ - GDisplay *display=NULL; - GtkWidget *window; - static gint win_x, win_y, win_w, win_h, win_d; - - display = gdisplay_active(); - window = display->shell; - - if(display) - { - display->slide_show = display->slide_show ? 0 : 1; - if(display->slide_show) - { - gdk_window_get_geometry(window->window, &win_x, &win_y, &win_w, &win_h, &win_d); - - gtk_widget_hide(display->menubar); - gtk_widget_hide(display->hsb); - gtk_widget_hide(display->vsb); - gtk_widget_hide(display->hrule); - gtk_widget_hide(display->vrule); - - gdk_window_move_resize (window->window, -50, -75, gdk_screen_width()+92, - gdk_screen_height()+105); - gtk_window_set_default_size (GTK_WINDOW (window), gdk_screen_width()+92, - gdk_screen_height()+105); - gtk_widget_set_usize (GTK_WIDGET(window), gdk_screen_width()+92, - gdk_screen_height()+105); - } - else - { - gdk_window_move_resize (window->window, win_x, win_y, win_w, win_h); - gtk_window_set_default_size (GTK_WINDOW (window), win_w, win_h); - gtk_widget_set_usize (GTK_WIDGET(window), win_w, win_h); - - gtk_widget_show(display->menubar); - gtk_widget_show(display->hsb); - gtk_widget_show(display->vsb); - gtk_widget_show(display->hrule); - gtk_widget_show(display->vrule); - } - gdisplays_flush(); - } -} gtk_clist_set_text (GTK_CLIST (disp->bfm->sfm->store_list), disp->bfm->sfm->fg, 5, temp_name);