[gnome-commander] Fixed problem #556836 (pane scrolling when moving between panes)
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-commander] Fixed problem #556836 (pane scrolling when moving between panes)
- Date: Tue, 9 Jun 2009 15:12:36 -0400 (EDT)
commit a34382c990f74b4c3bd6946696d33f3c197b907a
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Tue Jun 9 21:10:09 2009 +0200
Fixed problem #556836 (pane scrolling when moving between panes)
---
ChangeLog | 5 +++++
NEWS | 1 +
doc/C/gnome-commander.xml | 3 +++
src/gnome-cmd-file-selector.cc | 4 ++--
4 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3bfdfae..c5429d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-09 Piotr Eljasiak <epiotr use pl>
+
+ * src/gnome-cmd-file-list.cc:
+ Fixed problem #556836 (pane scrolling when moving between panes)
+
2009-06-05 Piotr Eljasiak <epiotr use pl>
* src/gnome-cmd-file-list.cc:
diff --git a/NEWS b/NEWS
index 6038192..a2e31ff 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ Bug fixes:
* Fixed problem #554586 (AC_PROG_CXX macro problem)
* Fixed problem #554598 (GNOME Goal: LINGUAS)
* Fixed problem #556664 (bookmarks can not be saved for mounted devices)
+ * Fixed problem #556836 (pane scrolling when moving between panes)
* Fixed problem #567404 (crash when INSERT pressed over subdir)
* Fixed problem #567506 (slow startup for systems with many users)
* Fixed problem #570727 (usage of deprecated gnome_url_show)
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index 8355dd9..f7ddd63 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -5998,6 +5998,9 @@
<para>Fixed problem #567404 (crash when INSERT pressed over subdir)</para>
</listitem>
<listitem>
+ <para>Fixed problem #556836 (pane scrolling when moving between panes)</para>
+ </listitem>
+ <listitem>
<para>Fixed problem #567506 (slow startup for systems with many users)</para>
</listitem>
<listitem>
diff --git a/src/gnome-cmd-file-selector.cc b/src/gnome-cmd-file-selector.cc
index 5931da3..11a9ae7 100644
--- a/src/gnome-cmd-file-selector.cc
+++ b/src/gnome-cmd-file-selector.cc
@@ -503,11 +503,11 @@ static void autoscroll_if_appropriate (GnomeCmdFileSelector *fs, gint x, gint y)
// guint offset = (0-clist->voffset);
gint w, h;
+ gdk_window_get_size (GTK_WIDGET (clist)->window, &w, &h);
+
gint smin = h/8;
gint smax = h-smin;
- gdk_window_get_size (GTK_WIDGET (clist)->window, &w, &h);
-
if (y < smin)
{
if (fs->priv->autoscroll_timeout) return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]