[gnome-system-monitor] Fixed menu popup problems
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor] Fixed menu popup problems
- Date: Sat, 22 Oct 2016 17:12:07 +0000 (UTC)
commit 07b570c6be54831efbe0e4127c4d2544413082a9
Author: Robert Roth <robert roth off gmail com>
Date: Sat Oct 22 20:11:48 2016 +0300
Fixed menu popup problems
configure.ac | 2 +-
src/proctable.cpp | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5d2dc4f..5a52f11 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,7 +31,7 @@ LT_INIT
GLIB_REQUIRED=2.37.3
LIBWNCK_REQUIRED=2.91.0
LIBGTOP_REQUIRED=2.28.2
-GTK_REQUIRED=3.12.0
+GTK_REQUIRED=3.22.0
GNOME_ICON_THEME_REQUIRED=2.31
GTKMM_REQUIRED=3.3.18
GIOMM_REQUIRED=2.46
diff --git a/src/proctable.cpp b/src/proctable.cpp
index c8dc023..208a289 100644
--- a/src/proctable.cpp
+++ b/src/proctable.cpp
@@ -114,9 +114,7 @@ cb_tree_button_pressed (GtkWidget *widget, GdkEventButton *event, gpointer data)
gtk_tree_path_free (path);
- gtk_menu_popup (GTK_MENU (app->popup_menu),
- NULL, NULL, NULL, NULL,
- event->button, event->time);
+ gtk_menu_popup_at_pointer (GTK_MENU (app->popup_menu), NULL);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]