[gnome-commander/gcmd-1-3] 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/gcmd-1-3] Fixed problem #556836 (pane scrolling when moving between panes)
- Date: Tue, 9 Jun 2009 15:20:46 -0400 (EDT)
commit 22d293bd287010a0c25939600d788138aa0abe51
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Tue Jun 9 21:19:29 2009 +0200
Fixed problem #556836 (pane scrolling when moving between panes)
---
ChangeLog | 5 +++++
NEWS | 1 +
src/gnome-cmd-file-selector.cc | 4 ++--
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6eded93..0a5bc3e 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 9aac538..e25fc0a 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,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/src/gnome-cmd-file-selector.cc b/src/gnome-cmd-file-selector.cc
index 424c1e9..946cfaa 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]