[gimp] app: don't show the "Fonts" startup status message if we don't loas fonts
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: don't show the "Fonts" startup status message if we don't loas fonts
- Date: Thu, 15 Sep 2016 16:48:50 +0000 (UTC)
commit cbac0a4ddcd2e725f2f613605e990a830585f9a2
Author: Michael Natterer <mitch gimp org>
Date: Thu Sep 15 18:47:55 2016 +0200
app: don't show the "Fonts" startup status message if we don't loas fonts
app/core/gimp.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/app/core/gimp.c b/app/core/gimp.c
index 7d22b95..1a66579 100644
--- a/app/core/gimp.c
+++ b/app/core/gimp.c
@@ -848,9 +848,11 @@ gimp_restore (Gimp *gimp,
gimp_data_factories_load (gimp, status_callback);
/* initialize the list of fonts */
- status_callback (NULL, _("Fonts (this may take a while)"), 0.7);
if (! gimp->no_fonts)
- gimp_fonts_load (gimp, status_callback);
+ {
+ status_callback (NULL, _("Fonts (this may take a while)"), 0.7);
+ gimp_fonts_load (gimp, status_callback);
+ }
/* initialize the template list */
status_callback (NULL, _("Templates"), 0.8);
@@ -863,7 +865,7 @@ gimp_restore (Gimp *gimp,
g_signal_emit (gimp, gimp_signals[RESTORE], 0, status_callback);
/* when done, make sure everything is clean, to clean out dirty
- * states from data object which reference each other and got
+ * states from data objects which reference each other and got
* dirtied by loading the referenced object
*/
gimp_data_factories_data_clean (gimp);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]