[baobab] Fix context menu in treeview
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab] Fix context menu in treeview
- Date: Fri, 11 Jul 2014 11:47:50 +0000 (UTC)
commit bc562619eea257a1574e9937110c566eb7a7c04b
Author: Stefano Facchini <stefano facchini gmail com>
Date: Fri Jul 11 13:45:53 2014 +0200
Fix context menu in treeview
https://bugzilla.gnome.org/show_bug.cgi?id=731688
src/baobab-window.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/baobab-window.vala b/src/baobab-window.vala
index ce9f9fb..102f444 100644
--- a/src/baobab-window.vala
+++ b/src/baobab-window.vala
@@ -434,7 +434,7 @@ namespace Baobab {
void setup_treeview () {
treeview.button_press_event.connect ((event) => {
- if (((Gdk.Event) (&event)).triggers_context_menu ()) {
+ if (event.triggers_context_menu ()) {
return show_treeview_popup (treeview_popup_menu, event);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]