Mercurial > geeqie
diff src/layout_image.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 | 17acca639a86 |
children | 04ff0df3ad2f |
line wrap: on
line diff
--- a/src/layout_image.c Sun Jun 12 23:45:45 2005 +0000 +++ b/src/layout_image.c Mon Jun 13 21:39:13 2005 +0000 @@ -282,7 +282,10 @@ } if (n != -1) { - layout_image_full_screen_stop(lw); + if (!editor_window_flag_set(n)) + { + layout_image_full_screen_stop(lw); + } start_editor_from_file(n, layout_image_get_path(lw)); } } @@ -568,8 +571,10 @@ lw = submenu_item_get_data(widget); n = GPOINTER_TO_INT(data); - layout_image_full_screen_stop(lw); - + if (!editor_window_flag_set(n)) + { + layout_image_full_screen_stop(lw); + } start_editor_from_file(n, layout_image_get_path(lw)); }