app: debug dialog will now advise to update when relevant.

Instead of making the focus on bug reporting, the debug dialog will now
make the focus on updating the application if it is found that one is
not using the last version.
Debug data (backtraces and co.) will still be available and copiable,
but under an expander, and bug report button won't be displayed (i.e.
data will still be available upon request but we don't push anymore
people to submit it directly if they are using old versions of GIMP).

Of course, if you are using the last version (or version check was not
possible), the dialog still stays the same.
This commit is contained in:
Jehan 2020-01-02 23:36:46 +01:00
parent d5febf6e62
commit 2f379494a7
4 changed files with 248 additions and 110 deletions

View file

@ -75,7 +75,7 @@ main (int argc,
gtk_init (&argc, &argv);
dialog = gimp_critical_dialog_new (_("GIMP Crash Debug"));
dialog = gimp_critical_dialog_new (_("GIMP Crash Debug"), NULL, 0);
gimp_critical_dialog_add (dialog, error, trace, TRUE, program,
g_ascii_strtoull (pid, NULL, 10));
g_free (error);