[glide] glide-slide-button: Only queue redraws on undo manager position change when slide for button is sele
- From: Robert Carr <racarr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glide] glide-slide-button: Only queue redraws on undo manager position change when slide for button is sele
- Date: Mon, 24 May 2010 22:21:23 +0000 (UTC)
commit dff22c9b5b3d9a03df0e5096a6127d484f4de9cc
Author: Robert Carr <racarr Valentine localdomain>
Date: Mon May 24 18:18:29 2010 -0400
glide-slide-button: Only queue redraws on undo manager position change when slide for button is selected
libglide/glide-slide-button.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libglide/glide-slide-button.c b/libglide/glide-slide-button.c
index 602cfcd..54d1f98 100644
--- a/libglide/glide-slide-button.c
+++ b/libglide/glide-slide-button.c
@@ -42,7 +42,8 @@ glide_slide_button_undo_position_changed (GlideUndoManager *manager,
{
GlideSlideButton *b = (GlideSlideButton *)user_data;
- gtk_widget_queue_draw (GTK_WIDGET (b));
+ if (CLUTTER_ACTOR_IS_VISIBLE (b->priv->slide))
+ gtk_widget_queue_draw (GTK_WIDGET (b));
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]