+ } else if (def_key("tab_switch_1", GDK_KEY_1) == key) {
+ gtk_notebook_set_current_page(GTK_NOTEBOOK(mw.notebook), 0);
+ return TRUE;
+ } else if (def_key("tab_switch_2", GDK_KEY_2) == key) {
+ gtk_notebook_set_current_page(GTK_NOTEBOOK(mw.notebook), 1);
+ return TRUE;
+ } else if (def_key("tab_switch_3", GDK_KEY_3) == key) {
+ gtk_notebook_set_current_page(GTK_NOTEBOOK(mw.notebook), 2);
+ return TRUE;
+ } else if (def_key("tab_switch_4", GDK_KEY_4) == key) {
+ gtk_notebook_set_current_page(GTK_NOTEBOOK(mw.notebook), 3);
+ return TRUE;
+ } else if (def_key("tab_switch_5", GDK_KEY_5) == key) {
+ gtk_notebook_set_current_page(GTK_NOTEBOOK(mw.notebook), 4);
+ return TRUE;
+ } else if (def_key("tab_switch_6", GDK_KEY_6) == key) {
+ gtk_notebook_set_current_page(GTK_NOTEBOOK(mw.notebook), 5);
+ return TRUE;
+ } else if (def_key("tab_switch_7", GDK_KEY_7) == key) {
+ gtk_notebook_set_current_page(GTK_NOTEBOOK(mw.notebook), 6);
+ return TRUE;
+ } else if (def_key("tab_switch_8", GDK_KEY_8) == key) {
+ gtk_notebook_set_current_page(GTK_NOTEBOOK(mw.notebook), 7);
+ return TRUE;
+ } else if (def_key("tab_switch_9", GDK_KEY_9) == key) {
+ gtk_notebook_set_current_page(GTK_NOTEBOOK(mw.notebook), 8);
+ return TRUE;