[Win32] Make the fatal error message box easier to notice with
authorTor Lillqvist <tml@iki.fi>
Tue, 19 Aug 2003 19:12:07 +0000 (19:12 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 19 Aug 2003 19:12:07 +0000 (19:12 +0000)
2003-08-19  Tor Lillqvist  <tml@iki.fi>

* glib/gmessages.c (g_logv): [Win32] Make the fatal error message
box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR
to get a nice stop-sign icon.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmessages.c

index dd00456..b84b356 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-08-19  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gmessages.c (g_logv): [Win32] Make the fatal error message
+       box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR
+       to get a nice stop-sign icon.
+
 Tue Aug 19 09:42:06 2003  Owen Taylor  <otaylor@redhat.com>
  
        * m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
index dd00456..b84b356 100644 (file)
@@ -1,3 +1,9 @@
+2003-08-19  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gmessages.c (g_logv): [Win32] Make the fatal error message
+       box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR
+       to get a nice stop-sign icon.
+
 Tue Aug 19 09:42:06 2003  Owen Taylor  <otaylor@redhat.com>
  
        * m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
index dd00456..b84b356 100644 (file)
@@ -1,3 +1,9 @@
+2003-08-19  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gmessages.c (g_logv): [Win32] Make the fatal error message
+       box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR
+       to get a nice stop-sign icon.
+
 Tue Aug 19 09:42:06 2003  Owen Taylor  <otaylor@redhat.com>
  
        * m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
index dd00456..b84b356 100644 (file)
@@ -1,3 +1,9 @@
+2003-08-19  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gmessages.c (g_logv): [Win32] Make the fatal error message
+       box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR
+       to get a nice stop-sign icon.
+
 Tue Aug 19 09:42:06 2003  Owen Taylor  <otaylor@redhat.com>
  
        * m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
index dd00456..b84b356 100644 (file)
@@ -1,3 +1,9 @@
+2003-08-19  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gmessages.c (g_logv): [Win32] Make the fatal error message
+       box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR
+       to get a nice stop-sign icon.
+
 Tue Aug 19 09:42:06 2003  Owen Taylor  <otaylor@redhat.com>
  
        * m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
index dd00456..b84b356 100644 (file)
@@ -1,3 +1,9 @@
+2003-08-19  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gmessages.c (g_logv): [Win32] Make the fatal error message
+       box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR
+       to get a nice stop-sign icon.
+
 Tue Aug 19 09:42:06 2003  Owen Taylor  <otaylor@redhat.com>
  
        * m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
index fde63f7..c3bedf3 100644 (file)
@@ -510,7 +510,8 @@ g_logv (const gchar   *log_domain,
 #ifdef G_OS_WIN32
              gchar *locale_msg = g_locale_from_utf8 (fatal_msg_buf, -1, NULL, NULL, NULL);
              
-             MessageBox (NULL, locale_msg, NULL, MB_OK);
+             MessageBox (NULL, locale_msg, NULL,
+                         MB_ICONERROR|MB_SETFOREGROUND);
 #endif
 #if defined (G_ENABLE_DEBUG) && (defined (SIGTRAP) || defined (G_OS_WIN32))
              if (!(test_level & G_LOG_FLAG_RECURSION))