[gimp/gimp-2-10] app: don't show "Check for updates" button in Preferences when option...
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] app: don't show "Check for updates" button in Preferences when option...
- Date: Thu, 6 Feb 2020 23:16:13 +0000 (UTC)
commit 4e1f175bf6299a4d442c4fe7b3c794ffaeb12fcc
Author: Jehan <jehan girinstud io>
Date: Thu Feb 6 22:20:28 2020 +0100
app: don't show "Check for updates" button in Preferences when option...
... deactivated at build anyway.
(cherry picked from commit f9f45383585c4d9d09ce2359b9e5b0c7f97e058c)
app/dialogs/preferences-dialog.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/app/dialogs/preferences-dialog.c b/app/dialogs/preferences-dialog.c
index 5dc0704b3c..c3758ba4e3 100644
--- a/app/dialogs/preferences-dialog.c
+++ b/app/dialogs/preferences-dialog.c
@@ -1216,12 +1216,14 @@ prefs_dialog_new (Gimp *gimp,
gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0);
/* Internet access */
+#ifdef CHECK_UPDATE
vbox2 = prefs_frame_new (_("Network access"), GTK_CONTAINER (vbox),
FALSE);
prefs_check_button_add (object, "check-updates",
_("Check for updates (requires internet)"),
GTK_BOX (vbox2));
+#endif
/* Image Thumbnails */
vbox2 = prefs_frame_new (_("Image Thumbnails"), GTK_CONTAINER (vbox), FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]