diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-01-20 18:47:25 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-01-20 18:47:25 +0000 |
commit | ef57df088f4c62d2b49b7a06ccceb7c0df10dff9 (patch) | |
tree | 73d347c23e8b498132f3e90674cd798bb6f4c638 /gtk/compat_macros.h | |
parent | 3172f21ea58c044aeffe90501dbcecf9b9f9fc21 (diff) | |
download | wireshark-ef57df088f4c62d2b49b7a06ccceb7c0df10dff9.tar.gz wireshark-ef57df088f4c62d2b49b7a06ccceb7c0df10dff9.tar.bz2 wireshark-ef57df088f4c62d2b49b7a06ccceb7c0df10dff9.zip |
a.) saving GTK1 and GTK2 fontnames in different preference setting, to prevent problems when switching between GTK1 and GTK2 ethereal versions
b.) added new feature "Edit->Go To First Packet" "Edit->Go To Last Packet" with corresponding menu and toolbar items
c.) added new feature "View->Zoom In" / "View->Zoom Out" / View->Normal Size" with corresponding menu and toolbar items
This feature will act as a "size offset" to the current fontsize, so that the packet list/tree view/... will have a larger/smaller font size.
The value is stored inside the recent file.
d.) Win32 only: Try to get the win32 system font and fontsize at program startup and show the menus/dialogs and such with the same font and fontsize like other win32 windows.
This makes the program make a *lot* more feel like a normal win32 program.
svn path=/trunk/; revision=9753
Diffstat (limited to 'gtk/compat_macros.h')
-rw-r--r-- | gtk/compat_macros.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/gtk/compat_macros.h b/gtk/compat_macros.h index 106b2ae0e3..8a3e5c64bf 100644 --- a/gtk/compat_macros.h +++ b/gtk/compat_macros.h @@ -1,7 +1,7 @@ /* compat_macros.h * GTK-related Global defines, etc. * - * $Id: compat_macros.h,v 1.9 2004/01/20 02:35:31 guy Exp $ + * $Id: compat_macros.h,v 1.10 2004/01/20 18:47:23 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -89,9 +89,12 @@ gtk_signal_emit_stop_by_name(GTK_OBJECT(widget), name) #define GTK_STOCK_COPY "Copy" #define GTK_STOCK_DELETE "Delete" #define GTK_STOCK_FIND "Find" +#define GTK_STOCK_GO_BACK "Back" #define GTK_STOCK_GO_DOWN "Down" #define GTK_STOCK_GO_FORWARD "Next" #define GTK_STOCK_GO_UP "Up" +#define GTK_STOCK_GOTO_BOTTOM "Bottom" +#define GTK_STOCK_GOTO_TOP "Top" #define GTK_STOCK_HELP "Help" #define GTK_STOCK_JUMP_TO "GoTo" #define GTK_STOCK_NEW "New" @@ -106,15 +109,18 @@ gtk_signal_emit_stop_by_name(GTK_OBJECT(widget), name) #define GTK_STOCK_SELECT_COLOR "Color" #define GTK_STOCK_SELECT_FONT "Font" #define GTK_STOCK_STOP "Stop" +#define GTK_STOCK_ZOOM_IN "Zoom In" +#define GTK_STOCK_ZOOM_OUT "Zoom Out" +#define GTK_STOCK_ZOOM_100 "Zoom 100%" #ifdef HAVE_LIBPCAP -#define ETHEREAL_STOCK_CAPTURE_START ETHEREAL_STOCK_LABEL_CAPTURE_START -#define ETHEREAL_STOCK_CAPTURE_FILTER ETHEREAL_STOCK_LABEL_CAPTURE_FILTER -#define ETHEREAL_STOCK_CAPTURE_FILTER_ENTRY ETHEREAL_STOCK_LABEL_CAPTURE_FILTER_ENTRY +#define ETHEREAL_STOCK_CAPTURE_START "New" +#define ETHEREAL_STOCK_CAPTURE_FILTER "CFilter" +#define ETHEREAL_STOCK_CAPTURE_FILTER_ENTRY "CFilter:" #endif -#define ETHEREAL_STOCK_DISPLAY_FILTER ETHEREAL_STOCK_LABEL_DISPLAY_FILTER -#define ETHEREAL_STOCK_DISPLAY_FILTER_ENTRY ETHEREAL_STOCK_LABEL_DISPLAY_FILTER_ENTRY -#define ETHEREAL_STOCK_PREFS ETHEREAL_STOCK_LABEL_PREFS +#define ETHEREAL_STOCK_DISPLAY_FILTER "DFilter" +#define ETHEREAL_STOCK_DISPLAY_FILTER_ENTRY "DFilter:" +#define ETHEREAL_STOCK_PREFS "Prefs" #define BUTTON_NEW_FROM_STOCK(stock_id) \ gtk_button_new_with_label(stock_id); |