[egg-list-box] flow-box: select child on button release
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [egg-list-box] flow-box: select child on button release
- Date: Sat, 9 Feb 2013 21:21:50 +0000 (UTC)
commit 589e8984d06afb14d9c671dc9732215f78ec07e8
Author: William Jon McCann <jmccann redhat com>
Date: Sat Feb 9 16:13:27 2013 -0500
flow-box: select child on button release
egg-flow-box.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/egg-flow-box.c b/egg-flow-box.c
index 51cc43f..d782c28 100644
--- a/egg-flow-box.c
+++ b/egg-flow-box.c
@@ -2000,6 +2000,7 @@ egg_flow_box_real_button_press_event (GtkWidget *widget,
{
priv->active_child = child_info;
priv->active_child_active = TRUE;
+ gtk_widget_queue_draw (GTK_WIDGET (box));
if (event->type == GDK_2BUTTON_PRESS &&
!priv->activate_on_single_click)
g_signal_emit (box,
@@ -2097,6 +2098,8 @@ egg_flow_box_real_button_release_event (GtkWidget *widget,
{
if (priv->activate_on_single_click)
egg_flow_box_select_and_activate (box, priv->active_child);
+ else
+ egg_flow_box_select_child_info (box, priv->active_child);
}
priv->active_child = NULL;
priv->active_child_active = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]