gnome-commander r1778 - in branches/gcmd-1-3: . doc/C src/intviewer



Author: epiotr
Date: Wed May 21 22:02:20 2008
New Revision: 1778
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1778&view=rev

Log:
Fixed bug #496150 (scrolling with mouse wheel)

Modified:
   branches/gcmd-1-3/ChangeLog
   branches/gcmd-1-3/doc/C/gnome-commander.xml
   branches/gcmd-1-3/src/intviewer/text-render.cc

Modified: branches/gcmd-1-3/doc/C/gnome-commander.xml
==============================================================================
--- branches/gcmd-1-3/doc/C/gnome-commander.xml	(original)
+++ branches/gcmd-1-3/doc/C/gnome-commander.xml	Wed May 21 22:02:20 2008
@@ -5872,6 +5872,9 @@
                             </itemizedlist>
                         </listitem>
                         <listitem>
+                            <para>Fixed problem #496150 (scrolling with mouse wheel)</para>
+                        </listitem>
+                        <listitem>
                             <para>Fixed problem #499761 (search window cleared when column sorted)</para>
                         </listitem>
                         <listitem>

Modified: branches/gcmd-1-3/src/intviewer/text-render.cc
==============================================================================
--- branches/gcmd-1-3/src/intviewer/text-render.cc	(original)
+++ branches/gcmd-1-3/src/intviewer/text-render.cc	Wed May 21 22:02:20 2008
@@ -358,7 +358,7 @@
 
     if (w->priv)
     {
-        g_free (w->priv->fixed_font_name);
+        g_free(w->priv->fixed_font_name);
         w->priv->fixed_font_name = NULL;
 
         if (w->priv->v_adjustment)
@@ -369,17 +369,17 @@
             gtk_object_unref (GTK_OBJECT(w->priv->h_adjustment));
         w->priv->h_adjustment = NULL;
 
-        g_free (w->priv->encoding);
+        g_free(w->priv->encoding);
         w->priv->encoding = NULL;
 
         text_render_free_font(w);
 
         text_render_free_data(w);
 
-        g_free (w->priv->utf8buf);
+        g_free(w->priv->utf8buf);
         w->priv->utf8buf = NULL;
 
-        g_free (w->priv);
+        g_free(w->priv);
         w->priv = NULL;
     }
 
@@ -633,7 +633,8 @@
             return FALSE;
     }
 
-    text_render_redraw(w);
+    text_render_position_changed (w);
+    text_render_redraw (w);
 
     return TRUE;
 }
@@ -1168,7 +1169,7 @@
        PANGO_PIXELS(pango_font_metrics_get_ascent(w->priv->disp_font_metrics)) +
        PANGO_PIXELS(pango_font_metrics_get_descent(w->priv->disp_font_metrics));
 
-    g_free (fontlabel);
+    g_free(fontlabel);
 }
 
 
@@ -1487,7 +1488,7 @@
             return;
         }
 
-    g_free (w->priv->encoding);
+    g_free(w->priv->encoding);
     w->priv->encoding = g_strdup (encoding);
     gv_set_input_mode(w->priv->im, encoding);
     text_render_filter_undisplayable_chars(w);



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