t"Refresh" stock button added; initial attempt to emulate accelerators for stoc… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit f980bd843f254c79f93c7ff7519977f4c0ef9b2a | |
parent 78b2b90dc836bccbb1697d5a764659a9aa7a799c | |
Author: Ben Webb <[email protected]> | |
Date: Mon, 25 Mar 2002 16:51:42 +0000 | |
"Refresh" stock button added; initial attempt to emulate accelerators for | |
stock buttons. | |
Diffstat: | |
M src/gtkport/gtkport.h | 9 +++++---- | |
1 file changed, 5 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/src/gtkport/gtkport.h b/src/gtkport/gtkport.h | |
t@@ -760,11 +760,12 @@ void gtk_container_set_size(GtkWidget *widget, GtkAlloca… | |
#define MB_IMMRETURN 16 | |
#ifndef HAVE_GLIB2 | |
-#define GTK_STOCK_OK _("OK") | |
-#define GTK_STOCK_CLOSE _("Close") | |
-#define GTK_STOCK_CANCEL _("Cancel") | |
+#define GTK_STOCK_OK _("_OK") | |
+#define GTK_STOCK_CLOSE _("_Close") | |
+#define GTK_STOCK_CANCEL _("_Cancel") | |
+#define GTK_STOCK_REFRESH _("_Refresh") | |
-#define gtk_button_new_from_stock gtk_button_new_with_label | |
+GtkWidget *gtk_button_new_from_stock(const gchar *label); | |
#endif | |
typedef struct _GtkUrl GtkUrl; |