From 6473c03e61c3d9f7da865f83b4bd142f237c817b Mon Sep 17 00:00:00 2001
From: Stefano Karapetsas <stefano@karapetsas.com>
Date: Fri, 8 Mar 2013 12:48:04 +0100
Subject: Rename 'parches' to 'patches' Closes
 https://github.com/mate-desktop/mate-power-manager/issues/48

---
 parches/dont-eat-the-logs.patch | 20 --------------------
 parches/gpm-manager.patch       | 14 --------------
 patches/dont-eat-the-logs.patch | 20 ++++++++++++++++++++
 patches/gpm-manager.patch       | 14 ++++++++++++++
 4 files changed, 34 insertions(+), 34 deletions(-)
 delete mode 100644 parches/dont-eat-the-logs.patch
 delete mode 100644 parches/gpm-manager.patch
 create mode 100644 patches/dont-eat-the-logs.patch
 create mode 100644 patches/gpm-manager.patch

diff --git a/parches/dont-eat-the-logs.patch b/parches/dont-eat-the-logs.patch
deleted file mode 100644
index bba9e35..0000000
--- a/parches/dont-eat-the-logs.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-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/parches/gpm-manager.patch b/parches/gpm-manager.patch
deleted file mode 100644
index 499ed5e..0000000
--- a/parches/gpm-manager.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- 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);
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);
-- 
cgit v1.2.1