comparison src/layout_image.c @ 753:477f48ba28d8

rewritten utilops.h: - better integration of external commands - filter commands
author nadvornik
date Sat, 24 May 2008 22:44:18 +0000
parents a7289f9e8d29
children d6a7fb4b8e7c
comparison
equal deleted inserted replaced
752:85c9412d77d2 753:477f48ba28d8
182 { 182 {
183 if (!editor_window_flag_set(n)) 183 if (!editor_window_flag_set(n))
184 { 184 {
185 layout_image_full_screen_stop(lw); 185 layout_image_full_screen_stop(lw);
186 } 186 }
187 start_editor_from_file(n, layout_image_get_fd(lw)); 187 file_util_start_editor_from_file(n, layout_image_get_fd(lw), lw->widget);
188 } 188 }
189 } 189 }
190 else if (event->state & GDK_SHIFT_MASK) 190 else if (event->state & GDK_SHIFT_MASK)
191 { 191 {
192 stop_signal = TRUE; 192 stop_signal = TRUE;
573 573
574 if (!editor_window_flag_set(n)) 574 if (!editor_window_flag_set(n))
575 { 575 {
576 layout_image_full_screen_stop(lw); 576 layout_image_full_screen_stop(lw);
577 } 577 }
578 start_editor_from_file(n, layout_image_get_fd(lw)); 578 file_util_start_editor_from_file(n, layout_image_get_fd(lw), lw->window);
579 } 579 }
580 580
581 static void li_pop_menu_wallpaper_cb(GtkWidget *widget, gpointer data) 581 static void li_pop_menu_wallpaper_cb(GtkWidget *widget, gpointer data)
582 { 582 {
583 LayoutWindow *lw = data; 583 LayoutWindow *lw = data;