tMessage boxes now use pretty GTK+2 icons where appropriate. - 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 b003a777913f479b1b22a0a8d6d23b803dc3a973
 (DIR) parent df49d2933f8173b3e473677f6cc09dc7d4c561c5
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Mon, 25 Mar 2002 16:52:14 +0000
       
       Message boxes now use pretty GTK+2 icons where appropriate.
       
       
       Diffstat:
         M src/gtkport/gtkport.h               |      10 +++++++++-
       
       1 file changed, 9 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/gtkport/gtkport.h b/src/gtkport/gtkport.h
       t@@ -766,6 +766,14 @@ void gtk_container_set_size(GtkWidget *widget, GtkAllocation *allocation);
        #define GTK_STOCK_REFRESH _("Refresh")
        
        GtkWidget *gtk_button_new_from_stock(const gchar *label);
       +
       +typedef enum
       +{
       +  GTK_MESSAGE_INFO,
       +  GTK_MESSAGE_WARNING,
       +  GTK_MESSAGE_QUESTION,
       +  GTK_MESSAGE_ERROR
       +} GtkMessageType;
        #endif
        
        typedef struct _GtkUrl GtkUrl;
       t@@ -779,7 +787,7 @@ struct _GtkUrl {
        
        /* Global functions */
        gint GtkMessageBox(GtkWidget *parent, const gchar *Text,
       -                   const gchar *Title, gint Options);
       +                   const gchar *Title, GtkMessageType type, gint Options);
        GtkWidget *gtk_scrolled_clist_new_with_titles(gint columns,
                                                      gchar *titles[],
                                                      GtkWidget **pack_widg);