Updating branch refs/heads/master to 673f739167aa23710a7b570eb7e863871fd09e4d (commit) from 24c163061c3e40620db488f98c51f1edd8d20f62 (commit)
commit 673f739167aa23710a7b570eb7e863871fd09e4d Author: Nick Schermer <n...@xfce.org> Date: Thu Oct 25 20:46:06 2007 +0000 * mousepad/mousepad-view.c: Redraw selection on theme change. (Old svn revision: 26197) ChangeLog | 4 ++++ mousepad/mousepad-view.c | 4 ++++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5e9a0f3..718f5ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ 2007-10-25 Nick Schermer <n...@xfce.org> + * mousepad/mousepad-view.c: Redraw selection on theme change. + + +2007-10-25 Nick Schermer <n...@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 diff --git a/mousepad/mousepad-view.c b/mousepad/mousepad-view.c index 088f44d..dec3071 100644 --- a/mousepad/mousepad-view.c +++ b/mousepad/mousepad-view.c @@ -343,6 +343,10 @@ mousepad_view_style_set (GtkWidget *widget, /* 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 Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits