[Xfce4-commits] r26197 - in mousepad/branches/nick_0_3: . mousepad

Nick Schermer nick at xfce.org
Thu Oct 25 22:46:06 CEST 2007


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 <nick at xfce.org>
+	* mousepad/mousepad-view.c: Redraw selection on theme change.
+
+
+2007-10-25	Nick Schermer <nick at xfce.org>
 	* 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);
     }
 }
 



More information about the Xfce4-commits mailing list