diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-05 17:28:04 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-05 17:28:04 +0000 |
commit | bc77765e44ca594f4b2501db7a7c7411220552a9 (patch) | |
tree | 3e9791b792567622227245d41200a80d46e46cfc /chrome/browser/gtk | |
parent | e0cd12237c3ce5edf64b66d1d3692255364a5bf1 (diff) | |
download | chromium_src-bc77765e44ca594f4b2501db7a7c7411220552a9.zip chromium_src-bc77765e44ca594f4b2501db7a7c7411220552a9.tar.gz chromium_src-bc77765e44ca594f4b2501db7a7c7411220552a9.tar.bz2 |
Task Manager: show right click context menu no matter where you click on the task manager window.
discoverability++
Review URL: http://codereview.chromium.org/203047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28005 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r-- | chrome/browser/gtk/task_manager_gtk.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/gtk/task_manager_gtk.cc b/chrome/browser/gtk/task_manager_gtk.cc index daa1b0b..f9095d0 100644 --- a/chrome/browser/gtk/task_manager_gtk.cc +++ b/chrome/browser/gtk/task_manager_gtk.cc @@ -802,10 +802,6 @@ gboolean TaskManagerGtk::OnButtonPressEvent(GtkWidget* widget, gboolean TaskManagerGtk::OnButtonReleaseEvent(GtkWidget* widget, GdkEventButton* event, TaskManagerGtk* task_manager) { - // We don't want to open the context menu in the treeview. - if (gtk_util::WidgetContainsCursor(task_manager->treeview_)) - return FALSE; - if (event->button == 3) task_manager->ShowContextMenu(); |