diff options
Diffstat (limited to 'frontends/gtk/toolbar_items.h')
-rw-r--r-- | frontends/gtk/toolbar_items.h | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/frontends/gtk/toolbar_items.h b/frontends/gtk/toolbar_items.h index 0e1eae4fa..5c6033cc5 100644 --- a/frontends/gtk/toolbar_items.h +++ b/frontends/gtk/toolbar_items.h @@ -84,61 +84,61 @@ typedef enum { */ #ifndef TOOLBAR_ITEM -#define TOOLBAR_ITEM(a, b, c) +#define TOOLBAR_ITEM(a, b, c, d) #define TOOLBAR_ITEM_SET #endif -TOOLBAR_ITEM(BACK_BUTTON, back, false) -TOOLBAR_ITEM(HISTORY_BUTTON, history, true) -TOOLBAR_ITEM(FORWARD_BUTTON, forward, false) -TOOLBAR_ITEM(STOP_BUTTON, stop, false) -TOOLBAR_ITEM(RELOAD_BUTTON, reload, true) -TOOLBAR_ITEM(HOME_BUTTON, home, true) -TOOLBAR_ITEM(URL_BAR_ITEM, url_bar, true) -TOOLBAR_ITEM(WEBSEARCH_ITEM, websearch, true) -TOOLBAR_ITEM(THROBBER_ITEM, throbber, true) -TOOLBAR_ITEM(NEWWINDOW_BUTTON, newwindow, true) -TOOLBAR_ITEM(NEWTAB_BUTTON, newtab, true) -TOOLBAR_ITEM(OPENFILE_BUTTON, openfile, true) -TOOLBAR_ITEM(CLOSETAB_BUTTON, closetab, false) -TOOLBAR_ITEM(CLOSEWINDOW_BUTTON, closewindow, true) -TOOLBAR_ITEM(SAVEPAGE_BUTTON, savepage, true) -TOOLBAR_ITEM(PDF_BUTTON, pdf, false) -TOOLBAR_ITEM(PLAINTEXT_BUTTON, plaintext, true) -TOOLBAR_ITEM(DRAWFILE_BUTTON, drawfile, false) -TOOLBAR_ITEM(POSTSCRIPT_BUTTON, postscript, false) -TOOLBAR_ITEM(PRINTPREVIEW_BUTTON, printpreview, false) -TOOLBAR_ITEM(PRINT_BUTTON, print, true) -TOOLBAR_ITEM(QUIT_BUTTON, quit, true) -TOOLBAR_ITEM(CUT_BUTTON, cut, true) -TOOLBAR_ITEM(COPY_BUTTON, copy, true) -TOOLBAR_ITEM(PASTE_BUTTON, paste, true) -TOOLBAR_ITEM(DELETE_BUTTON, delete, false) -TOOLBAR_ITEM(SELECTALL_BUTTON, selectall, true) -TOOLBAR_ITEM(FIND_BUTTON, find, true) -TOOLBAR_ITEM(PREFERENCES_BUTTON, preferences, true) -TOOLBAR_ITEM(ZOOMPLUS_BUTTON, zoomplus, true) -TOOLBAR_ITEM(ZOOMMINUS_BUTTON, zoomminus, true) -TOOLBAR_ITEM(ZOOMNORMAL_BUTTON, zoomnormal, true) -TOOLBAR_ITEM(FULLSCREEN_BUTTON, fullscreen, true) -TOOLBAR_ITEM(VIEWSOURCE_BUTTON, viewsource, true) -TOOLBAR_ITEM(DOWNLOADS_BUTTON, downloads, true) -TOOLBAR_ITEM(SAVEWINDOWSIZE_BUTTON, savewindowsize, true) -TOOLBAR_ITEM(TOGGLEDEBUGGING_BUTTON, toggledebugging, true) -TOOLBAR_ITEM(SAVEBOXTREE_BUTTON, debugboxtree, true) -TOOLBAR_ITEM(SAVEDOMTREE_BUTTON, debugdomtree, true) -TOOLBAR_ITEM(LOCALHISTORY_BUTTON, localhistory, true) -TOOLBAR_ITEM(GLOBALHISTORY_BUTTON, globalhistory, true) -TOOLBAR_ITEM(ADDBOOKMARKS_BUTTON, addbookmarks, true) -TOOLBAR_ITEM(SHOWBOOKMARKS_BUTTON, showbookmarks, true) -TOOLBAR_ITEM(SHOWCOOKIES_BUTTON, showcookies, true) -TOOLBAR_ITEM(OPENLOCATION_BUTTON, openlocation, true) -TOOLBAR_ITEM(NEXTTAB_BUTTON, nexttab, false) -TOOLBAR_ITEM(PREVTAB_BUTTON, prevtab, false) -TOOLBAR_ITEM(CONTENTS_BUTTON, contents, true) -TOOLBAR_ITEM(GUIDE_BUTTON, guide, true) -TOOLBAR_ITEM(INFO_BUTTON, info, true) -TOOLBAR_ITEM(ABOUT_BUTTON, about, true) +TOOLBAR_ITEM(BACK_BUTTON, back, false, NULL) +TOOLBAR_ITEM(HISTORY_BUTTON, history, true, localhistory_button_clicked_cb) +TOOLBAR_ITEM(FORWARD_BUTTON, forward, false, NULL) +TOOLBAR_ITEM(STOP_BUTTON, stop, false, stop_button_clicked_cb) +TOOLBAR_ITEM(RELOAD_BUTTON, reload, true, NULL) +TOOLBAR_ITEM(HOME_BUTTON, home, true, NULL) +TOOLBAR_ITEM(URL_BAR_ITEM, url_bar, true, NULL) +TOOLBAR_ITEM(WEBSEARCH_ITEM, websearch, true, NULL) +TOOLBAR_ITEM(THROBBER_ITEM, throbber, true, NULL) +TOOLBAR_ITEM(NEWWINDOW_BUTTON, newwindow, true, NULL) +TOOLBAR_ITEM(NEWTAB_BUTTON, newtab, true, NULL) +TOOLBAR_ITEM(OPENFILE_BUTTON, openfile, true, NULL) +TOOLBAR_ITEM(CLOSETAB_BUTTON, closetab, false, NULL) +TOOLBAR_ITEM(CLOSEWINDOW_BUTTON, closewindow, true, NULL) +TOOLBAR_ITEM(SAVEPAGE_BUTTON, savepage, true, NULL) +TOOLBAR_ITEM(PDF_BUTTON, pdf, false, NULL) +TOOLBAR_ITEM(PLAINTEXT_BUTTON, plaintext, true, NULL) +TOOLBAR_ITEM(DRAWFILE_BUTTON, drawfile, false, NULL) +TOOLBAR_ITEM(POSTSCRIPT_BUTTON, postscript, false, NULL) +TOOLBAR_ITEM(PRINTPREVIEW_BUTTON, printpreview, false, NULL) +TOOLBAR_ITEM(PRINT_BUTTON, print, true, NULL) +TOOLBAR_ITEM(QUIT_BUTTON, quit, true, NULL) +TOOLBAR_ITEM(CUT_BUTTON, cut, true, NULL) +TOOLBAR_ITEM(COPY_BUTTON, copy, true, NULL) +TOOLBAR_ITEM(PASTE_BUTTON, paste, true, NULL) +TOOLBAR_ITEM(DELETE_BUTTON, delete, false, NULL) +TOOLBAR_ITEM(SELECTALL_BUTTON, selectall, true, NULL) +TOOLBAR_ITEM(FIND_BUTTON, find, true, NULL) +TOOLBAR_ITEM(PREFERENCES_BUTTON, preferences, true, NULL) +TOOLBAR_ITEM(ZOOMPLUS_BUTTON, zoomplus, true, NULL) +TOOLBAR_ITEM(ZOOMMINUS_BUTTON, zoomminus, true, NULL) +TOOLBAR_ITEM(ZOOMNORMAL_BUTTON, zoomnormal, true, NULL) +TOOLBAR_ITEM(FULLSCREEN_BUTTON, fullscreen, true, NULL) +TOOLBAR_ITEM(VIEWSOURCE_BUTTON, viewsource, true, NULL) +TOOLBAR_ITEM(DOWNLOADS_BUTTON, downloads, true, NULL) +TOOLBAR_ITEM(SAVEWINDOWSIZE_BUTTON, savewindowsize, true, NULL) +TOOLBAR_ITEM(TOGGLEDEBUGGING_BUTTON, toggledebugging, true, NULL) +TOOLBAR_ITEM(SAVEBOXTREE_BUTTON, debugboxtree, true, NULL) +TOOLBAR_ITEM(SAVEDOMTREE_BUTTON, debugdomtree, true, NULL) +TOOLBAR_ITEM(LOCALHISTORY_BUTTON, localhistory, true, localhistory_button_clicked_cb) +TOOLBAR_ITEM(GLOBALHISTORY_BUTTON, globalhistory, true, NULL) +TOOLBAR_ITEM(ADDBOOKMARKS_BUTTON, addbookmarks, true, NULL) +TOOLBAR_ITEM(SHOWBOOKMARKS_BUTTON, showbookmarks, true, NULL) +TOOLBAR_ITEM(SHOWCOOKIES_BUTTON, showcookies, true, NULL) +TOOLBAR_ITEM(OPENLOCATION_BUTTON, openlocation, true, NULL) +TOOLBAR_ITEM(NEXTTAB_BUTTON, nexttab, false, NULL) +TOOLBAR_ITEM(PREVTAB_BUTTON, prevtab, false, NULL) +TOOLBAR_ITEM(CONTENTS_BUTTON, contents, true, NULL) +TOOLBAR_ITEM(GUIDE_BUTTON, guide, true, NULL) +TOOLBAR_ITEM(INFO_BUTTON, info, true, NULL) +TOOLBAR_ITEM(ABOUT_BUTTON, about, true, NULL) #ifdef TOOLBAR_ITEM_SET #undef TOOLBAR_ITEM |