t"Refresh" stock button added; initial attempt to emulate accelerators for stock buttons. - vaccinewars - be a doctor and try to vaccinate the world (HTM) git clone git://src.adamsgaard.dk/vaccinewars (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit f980bd843f254c79f93c7ff7519977f4c0ef9b2a (DIR) parent 78b2b90dc836bccbb1697d5a764659a9aa7a799c (HTM) Author: Ben Webb <ben@salilab.org> 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(-) --- (DIR) diff --git a/src/gtkport/gtkport.h b/src/gtkport/gtkport.h t@@ -760,11 +760,12 @@ void gtk_container_set_size(GtkWidget *widget, GtkAllocation *allocation); #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;