[gnome-documents] Revert "preview: don't call gtk_menu_popup_for_device() from JS"
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] Revert "preview: don't call gtk_menu_popup_for_device() from JS"
- Date: Mon, 19 Mar 2012 21:52:22 +0000 (UTC)
commit 69bf9e05be2db4e9924af7ec23c6f030baaac368
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Mar 19 17:50:14 2012 -0400
Revert "preview: don't call gtk_menu_popup_for_device() from JS"
The commit that made this necessary got reverted from GTK in the
meanwhile, see [1].
This reverts commit 8f860b7ff99ac921ef787b9bf01a7365c1d22e95.
[1]
https://mail.gnome.org/archives/release-team/2012-March/msg00142.html
src/preview.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/preview.js b/src/preview.js
index 468c2b0..e98762b 100644
--- a/src/preview.js
+++ b/src/preview.js
@@ -73,7 +73,7 @@ PreviewView.prototype = {
let doc = Global.documentManager.getActiveItem();
let menu = new View.ContextMenu([ doc.id ]);
- menu.widget.popup(null, null, null, null, null, null, button, timestamp);
+ menu.widget.popup_for_device(null, null, null, null, null, null, button, timestamp);
return true;
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]