This patch is taken from Debian and modified slightly Description: Phoning-home version checks should be disabled in Debian packages Author: Sandro Knauß Origin: debian Bug-debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721341 Forwarded: not-needed Last-Update: 2014-02-17 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/src/libsync/configfile.cpp +++ b/src/libsync/configfile.cpp @@ -522,11 +522,14 @@ bool ConfigFile::skipUpdateCheck(const Q if (connection.isEmpty()) con = defaultConnection(); - QVariant fallback = getValue(QLatin1String(skipUpdateCheckC), con, false); + QVariant fallback = getValue(QLatin1String(skipUpdateCheckC), con, true); fallback = getValue(QLatin1String(skipUpdateCheckC), QString(), fallback); QVariant value = getPolicySetting(QLatin1String(skipUpdateCheckC), fallback); - return value.toBool(); + if ( !value.toBool() ) + qDebug() << "Guix has disabled the UpdateCheck mechanism."; + + return true; } void ConfigFile::setSkipUpdateCheck(bool skip, const QString &connection) --- a/src/gui/generalsettings.cpp +++ b/src/gui/generalsettings.cpp @@ -146,6 +149,7 @@ void GeneralSettings::loadMiscSettings() void GeneralSettings::slotUpdateInfo() { + /* Guix doesn't want an autoupdater if (ConfigFile().skipUpdateCheck() || !Updater::instance()) { // updater disabled on compile _ui->updaterWidget->setVisible(false); @@ -174,6 +178,9 @@ void GeneralSettings::slotUpdateInfo() _ui->updateChannel->setCurrentIndex(ConfigFile().updateChannel() == "beta" ? 1 : 0); connect(_ui->updateChannel, static_cast(&QComboBox::currentIndexChanged), this, &GeneralSettings::slotUpdateChannelChanged, Qt::UniqueConnection); + */ + //hide the update group box for Guix. + _ui->updaterWidget->setVisible(false); } void GeneralSettings::slotUpdateChannelChanged(int index)
AgeCommit message (Expand)Author
2022-08-17gnu: lxsession: Use a mirror:// URI....Maxim Cournoyer
2022-08-17gnu: lxinput: Use a mirror:// URI....Maxim Cournoyer
2022-08-17gnu: lxde-common: Use a mirror:// URI....Maxim Cournoyer
2022-08-17gnu: lxde-icon-theme: Use a mirror:// URI....Maxim Cournoyer
2022-08-17gnu: lxmenu-data: Use a mirror:// URI....Maxim Cournoyer
2022-08-17gnu: Update LXDE packages home page....Maxim Cournoyer
2022-08-17gnu: lxterminal: Build with GTK 3....Maxim Cournoyer
2022-08-17gnu: lxinput: Build with GTK 3....Maxim Cournoyer
2022-08-17gnu: lxtask: Build with GTK 3....Maxim Cournoyer
2022-08-17gnu: lxrandr: Build with GTK 3....Maxim Cournoyer
2022-08-17gnu: lxsession: Build with GTK 3....Maxim Cournoyer
2022-08-17gnu: lxappearance: Build with GTK 3....Maxim Cournoyer
2022-08-17gnu: lxpanel: Build with GTK 3, use gexps and new style inputs....Maxim Cournoyer
2022-08-17gnu: pcmanfm: Build with GTK 3....Maxim Cournoyer
2022-08-17gnu: libfm: Build with GTK 3....Maxim Cournoyer