Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_alert.c e_main.c e_signals.c
Log Message:
make alerts smaller... small white boxes of death.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_alert.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- e_alert.c 18 Aug 2006 15:07:37 -0000 1.10
+++ e_alert.c 11 Sep 2007 11:57:47 -0000 1.11
@@ -22,7 +22,7 @@
static XFontStruct *fs = NULL;
static GC gc = 0;
static Window win = 0, b1 = 0, b2 = 0;
-static int ww = 600, hh = 440;
+static int ww = 320, hh = 240;
/* externally accessible functions */
EAPI int
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_main.c,v
retrieving revision 1.229
retrieving revision 1.230
diff -u -3 -r1.229 -r1.230
--- e_main.c 12 Aug 2007 09:57:24 -0000 1.229
+++ e_main.c 11 Sep 2007 11:57:48 -0000 1.230
@@ -377,10 +377,12 @@
/* good reason we want to have been launched this way, thus check */
if (!getenv("E_START"))
{
- e_alert_show("You are executing enlightenment directly. This is bad.
Please do not execute the\n"
- "\"enlightenment\" binary. Use the \"enlightenment_start\"
launcher. It will\n"
- "handle setting up environment variables, paths, and
launching any other required\n"
- "services etc. before enlightenment itself begins
running.\n");
+ e_alert_show("You are executing enlightenment directly. This is\n"
+ "bad. Please do not execute the \"enlightenment\"\n"
+ "binary. Use the \"enlightenment_start\" launcher. It\n"
+ "will handle setting up environment variables, paths,\n"
+ "and launching any other required services etc.\n"
+ "before enlightenment itself begins running.\n");
exit(-1);
}
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_signals.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- e_signals.c 27 Aug 2007 10:01:28 -0000 1.16
+++ e_signals.c 11 Sep 2007 11:57:48 -0000 1.17
@@ -25,20 +25,15 @@
ecore_x_keyboard_ungrab();
ecore_x_ungrab();
ecore_x_sync();
- e_alert_show("This is very bad. Enlightenment has segfaulted.\n"
- "This is not meant to happen and is likely a sign of a\n"
- "bug in Enlightenment or the libraries it relies on.\n"
- "\n"
- "You can gdb attach to this process now to try debug it\n"
- "or you could exit, or just hit restart to try and get\n"
- "your desktop back the way it was. This may not always\n"
- "work perfectly, but it is the best we can do for now.\n"
- "\n"
- "Please help us debug this by compiling Enlightenment and\n"
- "all its dependency libraries with gdb debugging enabled\n"
- "and gdb attach to E when this happens and try figure out\n"
- "what's going on and send us gdb backtraces, variable dumps\n"
- "etc.");
+ e_alert_show("This is very bad. Enlightenment SEGV'd.\n"
+ "\n"
+ "This is not meant to happen and is likely a sign of\n"
+ "a bug in Enlightenment or the libraries it relies\n"
+ "on. You can gdb attach to this process now to try\n"
+ "debug it or you could exit, or just hit restart to\n"
+ "try and get your desktop back the way it was.\n"
+ "\n"
+ "Please compile everything with -g in your CFLAGS\n");
exit(-11);
}
#else
@@ -50,20 +45,15 @@
ecore_x_keyboard_ungrab();
ecore_x_ungrab();
ecore_x_sync();
- e_alert_show("This is very bad. Enlightenment has segfaulted.\n"
- "This is not meant to happen and is likely a sign of a\n"
- "bug in Enlightenment or the libraries it relies on.\n"
- "\n"
- "You can gdb attach to this process now to try debug it\n"
- "or you could exit, or just hit restart to try and get\n"
- "your desktop back the way it was. This may not always\n"
- "work perfectly, but it is the best we can do for now.\n"
- "\n"
- "Please help us debug this by compiling Enlightenment and\n"
- "all its dependency libraries with gdb debugging enabled\n"
- "and gdb attach to E when this happens and try figure out\n"
- "what's going on and send us gdb backtraces, variable dumps\n"
- "etc.");
+ e_alert_show("This is very bad. Enlightenment SEGV'd.\n"
+ "\n"
+ "This is not meant to happen and is likely a sign of\n"
+ "a bug in Enlightenment or the libraries it relies\n"
+ "on. You can gdb attach to this process now to try\n"
+ "debug it or you could exit, or just hit restart to\n"
+ "try and get your desktop back the way it was.\n"
+ "\n"
+ "Please compile everything with -g in your CFLAGS\n");
exit(-11);
}
#endif
@@ -76,21 +66,15 @@
ecore_x_keyboard_ungrab();
ecore_x_ungrab();
ecore_x_sync();
- e_alert_show("This is very bad. Enlightenment has executed and illegal\n"
- "instruction. This is most likely because Enlightenment or\n"
- "a library it depends on has been compiled for a CPU type\n"
- "that you don't have.\n"
- "\n"
- "You can gdb attach to this process now to try debug it\n"
- "or you could exit, or just hit restart to try and get\n"
- "your desktop back the way it was. This may not always\n"
- "work perfectly, but it is the best we can do for now.\n"
- "\n"
- "Please help us debug this by compiling Enlightenment and\n"
- "all its dependency libraries with gdb debugging enabled\n"
- "and gdb attach to E when this happens and try figure out\n"
- "what's going on and send us gdb backtraces, variable dumps\n"
- "etc.");
+ e_alert_show("This is very bad. Enlightenment SIGILL'd.\n"
+ "\n"
+ "This is not meant to happen and is likely a sign of\n"
+ "a bug in Enlightenment or the libraries it relies\n"
+ "on. You can gdb attach to this process now to try\n"
+ "debug it or you could exit, or just hit restart to\n"
+ "try and get your desktop back the way it was.\n"
+ "\n"
+ "Please compile everything with -g in your CFLAGS\n");
exit(-11);
}
@@ -102,20 +86,15 @@
ecore_x_keyboard_ungrab();
ecore_x_ungrab();
ecore_x_sync();
- e_alert_show("This is very bad. Enlightenment has recieved a floating\n"
- "point exception. This is probably due to a divide by 0\n"
- "in Enlightenment or a library it depends on.\n"
- "\n"
- "You can gdb attach to this process now to try debug it\n"
- "or you could exit, or just hit restart to try and get\n"
- "your desktop back the way it was. This may not always\n"
- "work perfectly, but it is the best we can do for now.\n"
- "\n"
- "Please help us debug this by compiling Enlightenment and\n"
- "all its dependency libraries with gdb debugging enabled\n"
- "and gdb attach to E when this happens and try figure out\n"
- "what's going on and send us gdb backtraces, variable dumps\n"
- "etc.");
+ e_alert_show("This is very bad. Enlightenment SIGFPE'd.\n"
+ "\n"
+ "This is not meant to happen and is likely a sign of\n"
+ "a bug in Enlightenment or the libraries it relies\n"
+ "on. You can gdb attach to this process now to try\n"
+ "debug it or you could exit, or just hit restart to\n"
+ "try and get your desktop back the way it was.\n"
+ "\n"
+ "Please compile everything with -g in your CFLAGS\n");
exit(-11);
}
@@ -127,20 +106,15 @@
ecore_x_keyboard_ungrab();
ecore_x_ungrab();
ecore_x_sync();
- e_alert_show("This is very bad. Enlightenment has recieved a bus error.\n"
- "This could be for many reasons - accessing memory not in\n"
- "its available address space or unable to be paged in.\n"
- "\n"
- "You can gdb attach to this process now to try debug it\n"
- "or you could exit, or just hit restart to try and get\n"
- "your desktop back the way it was. This may not always\n"
- "work perfectly, but it is the best we can do for now.\n"
- "\n"
- "Please help us debug this by compiling Enlightenment and\n"
- "all its dependency libraries with gdb debugging enabled\n"
- "and gdb attach to E when this happens and try figure out\n"
- "what's going on and send us gdb backtraces, variable dumps\n"
- "etc.");
+ e_alert_show("This is very bad. Enlightenment SIGILL'd.\n"
+ "\n"
+ "This is not meant to happen and is likely a sign of\n"
+ "a bug in Enlightenment or the libraries it relies\n"
+ "on. You can gdb attach to this process now to try\n"
+ "debug it or you could exit, or just hit restart to\n"
+ "try and get your desktop back the way it was.\n"
+ "\n"
+ "Please compile everything with -g in your CFLAGS\n");
exit(-11);
}
@@ -152,19 +126,14 @@
ecore_x_keyboard_ungrab();
ecore_x_ungrab();
ecore_x_sync();
- e_alert_show("This is very bad. Enlightenment has recieved an abort.\n"
- "This could be for many reasons - accessing memory not in\n"
- "its available address space or unable to be paged in.\n"
- "\n"
- "You can gdb attach to this process now to try debug it\n"
- "or you could exit, or just hit restart to try and get\n"
- "your desktop back the way it was. This may not always\n"
- "work perfectly, but it is the best we can do for now.\n"
- "\n"
- "Please help us debug this by compiling Enlightenment and\n"
- "all its dependency libraries with gdb debugging enabled\n"
- "and gdb attach to E when this happens and try figure out\n"
- "what's going on and send us gdb backtraces, variable dumps\n"
- "etc.");
+ e_alert_show("This is very bad. Enlightenment SIGABRT'd.\n"
+ "\n"
+ "This is not meant to happen and is likely a sign of\n"
+ "a bug in Enlightenment or the libraries it relies\n"
+ "on. You can gdb attach to this process now to try\n"
+ "debug it or you could exit, or just hit restart to\n"
+ "try and get your desktop back the way it was.\n"
+ "\n"
+ "Please compile everything with -g in your CFLAGS\n");
exit(-11);
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs