Author: nick
Date: 2007-10-25 20:46:06 +0000 (Thu, 25 Oct 2007)
New Revision: 26197

Modified:
   mousepad/branches/nick_0_3/ChangeLog
   mousepad/branches/nick_0_3/mousepad/mousepad-view.c
Log:
        * mousepad/mousepad-view.c: Redraw selection on theme change.

Modified: mousepad/branches/nick_0_3/ChangeLog
===================================================================
--- mousepad/branches/nick_0_3/ChangeLog        2007-10-25 18:23:36 UTC (rev 
26196)
+++ mousepad/branches/nick_0_3/ChangeLog        2007-10-25 20:46:06 UTC (rev 
26197)
@@ -1,4 +1,8 @@
 2007-10-25     Nick Schermer <[EMAIL PROTECTED]>
+       * mousepad/mousepad-view.c: Redraw selection on theme change.
+
+
+2007-10-25     Nick Schermer <[EMAIL PROTECTED]>
        * mousepad/mousepad-view.c: Reimplemented multi-selection. It is also
          possible to do multi editing (typing in all the selections), select
          random words in the document (they will be copied to the clipboard as

Modified: mousepad/branches/nick_0_3/mousepad/mousepad-view.c
===================================================================
--- mousepad/branches/nick_0_3/mousepad/mousepad-view.c 2007-10-25 18:23:36 UTC 
(rev 26196)
+++ mousepad/branches/nick_0_3/mousepad/mousepad-view.c 2007-10-25 20:46:06 UTC 
(rev 26197)
@@ -343,6 +343,10 @@
 
       /* update the tab size */
       mousepad_view_set_tab_size (view, view->tab_size);
+
+      /* redraw selection */
+      if (view->flags != 0)
+        mousepad_view_selection_draw (view, !MOUSEPAD_HAS_FLAG (view->flags, 
HAS_CONTENT), FALSE);
     }
 }
 

_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to