comparison src/pan-view.c @ 60:9c0c402b0ef3

Mon Jun 13 17:31:46 2005 John Ellis <johne@verizon.net> * editors.[ch]: Add "%w" macro to disable full screen deactivation when running an editor command. * img-view.c, layout_image.c, pan-view.c: Honor %w editor flag to prevent exit of full screen. * image-load.c (image_load_begin): Fix to not treat short reads as end of file condition. * README, doc/10_5_editor_commands.html: Document %w macro for editor commands. * po/it.po: Update Italian translation, submitted by Kostantino <inverness1ATvirgilio.it>.
author gqview
date Mon, 13 Jun 2005 21:39:13 +0000
parents c722cbf9ad25
children 04ff0df3ad2f
comparison
equal deleted inserted replaced
59:57f6da2510d9 60:9c0c402b0ef3
3521 pan_window_close(pw); 3521 pan_window_close(pw);
3522 break; 3522 break;
3523 } 3523 }
3524 if (n != -1 && path) 3524 if (n != -1 && path)
3525 { 3525 {
3526 pan_fullscreen_toggle(pw, TRUE); 3526 if (!editor_window_flag_set(n))
3527 {
3528 pan_fullscreen_toggle(pw, TRUE);
3529 }
3527 start_editor_from_file(n, path); 3530 start_editor_from_file(n, path);
3528 stop_signal = TRUE; 3531 stop_signal = TRUE;
3529 } 3532 }
3530 } 3533 }
3531 else if (event->state & GDK_SHIFT_MASK) 3534 else if (event->state & GDK_SHIFT_MASK)
4654 if (!pw) return; 4657 if (!pw) return;
4655 4658
4656 path = pan_menu_click_path(pw); 4659 path = pan_menu_click_path(pw);
4657 if (path) 4660 if (path)
4658 { 4661 {
4659 pan_fullscreen_toggle(pw, TRUE); 4662 if (!editor_window_flag_set(n))
4663 {
4664 pan_fullscreen_toggle(pw, TRUE);
4665 }
4660 start_editor_from_file(n, path); 4666 start_editor_from_file(n, path);
4661 } 4667 }
4662 } 4668 }
4663 4669
4664 static void pan_info_cb(GtkWidget *widget, gpointer data) 4670 static void pan_info_cb(GtkWidget *widget, gpointer data)