Added an option to disable the startup warning about GnuPG (from
[claws.git] / src / alertpanel.h
index d85eec92c0832d1b4135a703b2426f50f11bf86b..203b5106adac6a824ec2ef352ba4ccd767602095 100644 (file)
@@ -28,7 +28,10 @@ typedef enum
        G_ALERTDEFAULT,
        G_ALERTALTERNATE,
        G_ALERTOTHER,
-       G_ALERTWAIT
+       G_ALERTWAIT,
+
+       G_ALERT_VALUE_MASK      = 0x0000FFFF,
+       G_ALERTDISABLE          = 0x00010000
 } AlertValue;
 
 AlertValue alertpanel  (const gchar    *title,
@@ -40,6 +43,9 @@ AlertValue alertpanel (const gchar    *title,
 void alertpanel_message        (const gchar    *title,
                         const gchar    *message);
 
+AlertValue alertpanel_message_with_disable(const gchar *title,
+                                          const gchar  *message);
+
 void alertpanel_notice (const gchar    *format,
                         ...) G_GNUC_PRINTF(1, 2);
 void alertpanel_warning        (const gchar    *format,