app: don't show "Check for updates" button in Preferences when option...
... deactivated at build anyway.
(cherry picked from commit f9f4538358
)
This commit is contained in:
@ -1216,12 +1216,14 @@ prefs_dialog_new (Gimp *gimp,
|
|||||||
gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0);
|
gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0);
|
||||||
|
|
||||||
/* Internet access */
|
/* Internet access */
|
||||||
|
#ifdef CHECK_UPDATE
|
||||||
vbox2 = prefs_frame_new (_("Network access"), GTK_CONTAINER (vbox),
|
vbox2 = prefs_frame_new (_("Network access"), GTK_CONTAINER (vbox),
|
||||||
FALSE);
|
FALSE);
|
||||||
|
|
||||||
prefs_check_button_add (object, "check-updates",
|
prefs_check_button_add (object, "check-updates",
|
||||||
_("Check for updates (requires internet)"),
|
_("Check for updates (requires internet)"),
|
||||||
GTK_BOX (vbox2));
|
GTK_BOX (vbox2));
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Image Thumbnails */
|
/* Image Thumbnails */
|
||||||
vbox2 = prefs_frame_new (_("Image Thumbnails"), GTK_CONTAINER (vbox), FALSE);
|
vbox2 = prefs_frame_new (_("Image Thumbnails"), GTK_CONTAINER (vbox), FALSE);
|
||||||
|
Reference in New Issue
Block a user