...on start. Users who open GIMP with images (such as via the command line or drag & drop) may not want the Welcome Dialog to appear over their image. This patch moves the check for files to be above the code that loads the Welcome Dialog, so that we can pass that information to gimp_update_auto_check (). If files are being loaded, we don't display the Welcome Dialog (with the exception of on first update, so users don't miss the update information).
29 lines
1.1 KiB
C
29 lines
1.1 KiB
C
/* GIMP - The GNU Image Manipulation Program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* gimp-update.h
|
|
* Copyright (C) 2019 Jehan
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
gboolean gimp_update_auto_check (GimpCoreConfig *config,
|
|
Gimp *gimp,
|
|
gboolean files_loaded);
|
|
|
|
void gimp_update_check (GimpCoreConfig *config);
|
|
void gimp_update_refresh (GimpCoreConfig *config);
|