comparison src/gui_gtk_x11.c @ 1394:1002128c68db v7.1.109

updated for version 7.1-109
author vimboss
date Sat, 15 Sep 2007 12:07:46 +0000
parents 99a9e42e5688
children c44058ba78bc
comparison
equal deleted inserted replaced
1393:b4791bb4fbff 1394:1002128c68db
3221 } 3221 }
3222 else if (bevent->button == 1) 3222 else if (bevent->button == 1)
3223 { 3223 {
3224 if (clicked_page == 0) 3224 if (clicked_page == 0)
3225 { 3225 {
3226 /* Click after all tabs moves to next tab page. */ 3226 /* Click after all tabs moves to next tab page. When "x" is
3227 if (send_tabline_event(0) && gtk_main_level() > 0) 3227 * small guess it's the left button. */
3228 if (send_tabline_event(x < 50 ? -1 : 0) && gtk_main_level() > 0)
3228 gtk_main_quit(); 3229 gtk_main_quit();
3229 } 3230 }
3230 #ifndef HAVE_GTK2 3231 #ifndef HAVE_GTK2
3231 else 3232 else
3232 gtk_notebook_set_page(GTK_NOTEBOOK(gui.tabline), 3233 gtk_notebook_set_page(GTK_NOTEBOOK(gui.tabline),