[gimp] 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] app: don't show "Check for updates" button in Preferences when option...
- Date: Thu, 6 Feb 2020 21:23:21 +0000 (UTC)
commit f9f45383585c4d9d09ce2359b9e5b0c7f97e058c
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.
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 c22dad364e..dedfe2a3ab 100644
--- a/app/dialogs/preferences-dialog.c
+++ b/app/dialogs/preferences-dialog.c
@@ -1211,12 +1211,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]