gnome-terminal r2951 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2951 - trunk/src
- Date: Mon, 7 Jul 2008 22:35:02 +0000 (UTC)
Author: chpe
Date: Mon Jul 7 22:35:02 2008
New Revision: 2951
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2951&view=rev
Log:
Fix return value when not popping up the context menu.
Modified:
trunk/src/terminal-window.c
Modified: trunk/src/terminal-window.c
==============================================================================
--- trunk/src/terminal-window.c (original)
+++ trunk/src/terminal-window.c Mon Jul 7 22:35:02 2008
@@ -2256,11 +2256,11 @@
tab_clicked = find_tab_num_at_pos (notebook, event->x_root, event->y_root);
- if (tab_clicked == -1)
+ if (tab_clicked < 0)
/* consume event, so that we don't pop up the context menu when
* the mouse if not over a tab label
*/
- return TRUE;
+ return FALSE;
/* switch to the page the mouse is over, but don't consume the event */
gtk_notebook_set_current_page (notebook, tab_clicked);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]