gedit r6946 - in trunk: . gedit
- From: pborelli svn gnome org
- To: svn-commits-list gnome org
- Subject: gedit r6946 - in trunk: . gedit
- Date: Tue, 3 Mar 2009 16:08:57 +0000 (UTC)
Author: pborelli
Date: Tue Mar 3 16:08:57 2009
New Revision: 6946
URL: http://svn.gnome.org/viewvc/gedit?rev=6946&view=rev
Log:
2009-03-03 Paolo Borelli <pborelli katamail com>
* gedit/gedit-app.c: correctly check viewport when
fullscreen. Bug #559280. Patch by Vassily Gavrilyak.
Modified:
trunk/ChangeLog
trunk/gedit/gedit-app.c
Modified: trunk/gedit/gedit-app.c
==============================================================================
--- trunk/gedit/gedit-app.c (original)
+++ trunk/gedit/gedit-app.c Tue Mar 3 16:08:57 2009
@@ -642,9 +642,9 @@
sc_height = gdk_screen_get_height (screen);
return x + width * .25 >= viewport_x &&
- x + width * .75 < viewport_x + sc_width &&
+ x + width * .75 <= viewport_x + sc_width &&
y >= viewport_y &&
- y + height < viewport_y + sc_height;
+ y + height <= viewport_y + sc_height;
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]