Comment 2 for bug 231385

Revision history for this message
sz (szeder) wrote :

Why not do simply the following?

diff --git a/src/eog-window.c b/src/eog-window.c
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -1300,7 +1300,7 @@ eog_window_obtain_desired_size (EogImage *image,
  screen_height = monitor.height;

  deco_width = window_width - view_width;
- deco_height = window_height - view_height;
+ deco_height = window_height - view_height + 5;

  if (img_width > 0 && img_height > 0) {
   if ((img_width + deco_width > screen_width) ||

OK, it's not the right solution, but
- it solves the problem (at least with ubuntu's default gtk theme; I don't know, it might depend on the theme used)
- it has minimal impact (getting a window 5 pixel higher when image collection is shown doesn't really matters)
- you could ship intrepid with one less annoying bug