[gnome-commander/gcmd-1-3] Fixed problem #584727 (wrong positioning of file popup menu)



commit e7875fceddbc01ee4b025ff7e83a3f3f804124ab
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Thu Jun 4 20:01:48 2009 +0200

    Fixed problem #584727 (wrong positioning of file popup menu)
---
 ChangeLog                  |    5 +++++
 src/gnome-cmd-file-list.cc |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 69c3524..5465705 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-04  Piotr Eljasiak  <epiotr use pl>
+
+	* src/gnome-cmd-file-list.cc:
+	Fixed problem #584727 (wrong positioning of file popup menu)
+
 2009-06-01  Piotr Eljasiak  <epiotr use pl>
 
 	* src/gnome-cmd-xml-config.cc:
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index 3e91bde..be1ec23 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -698,9 +698,9 @@ static void popup_position_function (GtkMenu *menu, gint *x, gint *y, gboolean *
 {
     GnomeCmdFileList *fl = GNOME_CMD_FILE_LIST (user_data);
 
-    gint w, h;
+    gint unused_x, unused_w, unused_h;
 
-    get_focus_row_coordinates (fl, *x, *y, w, h);
+    get_focus_row_coordinates (fl, unused_x, *y, unused_w, unused_h);
 }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]