[Xfce4-commits] [xfce/xfce4-power-manager] 19/64: Selection follows mouse for treeview
noreply at xfce.org
noreply at xfce.org
Mon May 26 06:00:14 CEST 2014
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/xfce4-power-manager.
commit e0238f0bf787d9670febe06a1f4f2f14c573a6fc
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Fri May 2 16:51:51 2014 +0300
Selection follows mouse for treeview
---
panel-plugins/battery/battery-button.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/panel-plugins/battery/battery-button.c b/panel-plugins/battery/battery-button.c
index a25df7f..d6683ef 100644
--- a/panel-plugins/battery/battery-button.c
+++ b/panel-plugins/battery/battery-button.c
@@ -731,6 +731,10 @@ battery_button_create_popup (BatteryButton *button)
/* turn off alternating row colors, themes will probably override this */
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (button->priv->treeview), FALSE);
+
+ /* selection follows mouse */
+ gtk_tree_view_set_hover_selection (GTK_TREE_VIEW (button->priv->treeview), TRUE);
+
col = gtk_tree_view_column_new ();
renderer = gtk_cell_renderer_pixbuf_new ();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list