summaryrefslogtreecommitdiff
path: root/community/gnome-settings-daemon-updates/arch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnome-settings-daemon-updates/arch.patch')
-rw-r--r--community/gnome-settings-daemon-updates/arch.patch24
1 files changed, 9 insertions, 15 deletions
diff --git a/community/gnome-settings-daemon-updates/arch.patch b/community/gnome-settings-daemon-updates/arch.patch
index d5a5382fa..f405d7593 100644
--- a/community/gnome-settings-daemon-updates/arch.patch
+++ b/community/gnome-settings-daemon-updates/arch.patch
@@ -1,5 +1,5 @@
diff --git a/data/org.gnome.settings-daemon.plugins.updates.gschema.xml.in.in b/data/org.gnome.settings-daemon.plugins.updates.gschema.xml.in.in
-index 67c551e..7f9f5ba 100644
+index c09096a..3fa4159 100644
--- a/data/org.gnome.settings-daemon.plugins.updates.gschema.xml.in.in
+++ b/data/org.gnome.settings-daemon.plugins.updates.gschema.xml.in.in
@@ -31,7 +31,7 @@
@@ -8,8 +8,8 @@ index 67c551e..7f9f5ba 100644
<key name="auto-update-type" enum="org.gnome.settings-daemon.GsdUpdateType">
- <default>'security'</default>
+ <default>'none'</default>
- <_summary>Automatically update these types of updates</_summary>
- <_description>Automatically update these types of updates.</_description>
+ <_summary>Automatically install these types of updates</_summary>
+ <_description>Automatically install these types of updates.</_description>
</key>
@@ -56,7 +56,7 @@
<_description>The last time we notified the user about non-critical updates. Value is in seconds since the epoch, or zero for never.</_description>
@@ -36,7 +36,7 @@ index 9510c65..191092d 100644
libupdates_la_CPPFLAGS = \
-I$(top_srcdir)/gnome-settings-daemon \
diff --git a/plugins/updates/gsd-updates-manager.c b/plugins/updates/gsd-updates-manager.c
-index 64373bd..275c171 100644
+index 90ea246..d79455c 100644
--- a/plugins/updates/gsd-updates-manager.c
+++ b/plugins/updates/gsd-updates-manager.c
@@ -32,6 +32,7 @@
@@ -47,7 +47,7 @@ index 64373bd..275c171 100644
#include "gsd-updates-common.h"
#include "gnome-settings-profile.h"
-@@ -44,6 +45,7 @@ struct GsdUpdatesManagerPrivate
+@@ -46,6 +47,7 @@ struct GsdUpdatesManagerPrivate
GCancellable *cancellable;
GsdUpdatesRefresh *refresh;
GsdUpdatesFirmware *firmware;
@@ -65,7 +65,7 @@ index 64373bd..275c171 100644
/* get http settings */
manager->priv->settings_http = g_settings_new ("org.gnome.system.proxy.http");
g_signal_connect (manager->priv->settings_http, "changed",
-@@ -1467,6 +1472,10 @@ gsd_updates_manager_stop (GsdUpdatesManager *manager)
+@@ -1464,6 +1469,10 @@ gsd_updates_manager_stop (GsdUpdatesManager *manager)
g_object_unref (manager->priv->firmware);
manager->priv->firmware = NULL;
}
@@ -78,10 +78,10 @@ index 64373bd..275c171 100644
manager->priv->proxy_session = NULL;
diff --git a/plugins/updates/gsd-updates-watch.c b/plugins/updates/gsd-updates-watch.c
new file mode 100644
-index 0000000..cbc3794
+index 0000000..892acad
--- /dev/null
+++ b/plugins/updates/gsd-updates-watch.c
-@@ -0,0 +1,185 @@
+@@ -0,0 +1,179 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
+ *
+ * Copyright (C) 2007-2011 Richard Hughes <richard@hughsie.com>
@@ -149,21 +149,15 @@ index 0000000..cbc3794
+
+ /* display a notification */
+ notification = notify_notification_new (title, message, NULL);
-+ if (notification == NULL) {
-+ g_warning ("failed to create notification");
-+ goto out;
-+ }
-+
++ notify_notification_set_app_name (notification, _("Software Updates"));
+ notify_notification_set_timeout (notification, NOTIFY_EXPIRES_NEVER);
+ notify_notification_set_urgency (notification, NOTIFY_URGENCY_NORMAL);
+
+ if (!notify_notification_show (notification, &error)) {
+ g_warning ("error: %s", error->message);
+ g_error_free (error);
-+ goto out;
+ }
+
-+out:
+ g_free (details);
+}
+