summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-03-08 12:48:04 +0100
committerStefano Karapetsas <[email protected]>2013-03-08 12:48:04 +0100
commit6473c03e61c3d9f7da865f83b4bd142f237c817b (patch)
tree3f4db2f193fe086608a56ee84e00c639a37d44fa /patches
parentbc3f344e197af0334e5dcce6f7d61dab0ccf9ec0 (diff)
downloadmate-power-manager-6473c03e61c3d9f7da865f83b4bd142f237c817b.tar.bz2
mate-power-manager-6473c03e61c3d9f7da865f83b4bd142f237c817b.tar.xz
Rename 'parches' to 'patches'
Closes https://github.com/mate-desktop/mate-power-manager/issues/48
Diffstat (limited to 'patches')
-rw-r--r--patches/dont-eat-the-logs.patch20
-rw-r--r--patches/gpm-manager.patch14
2 files changed, 34 insertions, 0 deletions
diff --git a/patches/dont-eat-the-logs.patch b/patches/dont-eat-the-logs.patch
new file mode 100644
index 0000000..bba9e35
--- /dev/null
+++ b/patches/dont-eat-the-logs.patch
@@ -0,0 +1,20 @@
+diff -up gnome-power-manager-2.32.0/man/Makefile.am.give-me-some-logs-please gnome-power-manager-2.32.0/man/Makefile.am
+--- gnome-power-manager-2.32.0/man/Makefile.am.give-me-some-logs-please 2010-09-29 08:29:19.983923821 -0400
++++ gnome-power-manager-2.32.0/man/Makefile.am 2010-09-29 08:29:33.667924010 -0400
+@@ -12,13 +12,13 @@ endif
+
+ if HAVE_DOCBOOK2MAN
+ gnome-power-manager.1: gnome-power-manager.sgml
+- docbook2man $? &> /dev/null
++ docbook2man $?
+
+ gnome-power-preferences.1: gnome-power-preferences.sgml
+- docbook2man $? &> /dev/null
++ docbook2man $?
+
+ gnome-power-statistics.1: gnome-power-statistics.sgml
+- docbook2man $? &> /dev/null
++ docbook2man $?
+ endif
+
+ clean-local :
diff --git a/patches/gpm-manager.patch b/patches/gpm-manager.patch
new file mode 100644
index 0000000..499ed5e
--- /dev/null
+++ b/patches/gpm-manager.patch
@@ -0,0 +1,14 @@
+--- a/src/gpm-manager.c 2010-09-22 06:02:17.000000000 -0500
++++ b/src/gpm-manager.c 2011-06-04 21:40:15.068151487 -0500
+@@ -483,9 +483,9 @@
+ /* if the status icon is hidden, don't point at it */
+ if (manager->priv->status_icon != NULL &&
+ gtk_status_icon_is_embedded (manager->priv->status_icon))
+- notification = notify_notification_new_with_status_icon (title, message, icon, manager->priv->status_icon);
++ notification = notify_notification_new /*notify_notification_new_with_status_icon*/ (title, message, icon);/*, manager->priv->status_icon);*/
+ else
+- notification = notify_notification_new (title, message, icon, NULL);
++ notification = notify_notification_new (title, message, icon);
+ notify_notification_set_timeout (notification, timeout);
+ notify_notification_set_urgency (notification, urgency);
+ g_signal_connect (notification, "closed", G_CALLBACK (gpm_manager_notification_closed_cb), notification_class);