summaryrefslogtreecommitdiff
path: root/pcr/petri-foo/petri-foo-0.1.87_fix_recent_file_not_exist.patch
diff options
context:
space:
mode:
authorGuest One <theguestone@gmail.com>2013-05-16 23:24:10 +0200
committerGuest One <theguestone@gmail.com>2013-05-16 23:24:10 +0200
commitee473c2513aeb81ba7ce9f47844f3e4b752a6004 (patch)
treee5c0026a875ed359a3489879e56c697c7831926e /pcr/petri-foo/petri-foo-0.1.87_fix_recent_file_not_exist.patch
parentb52785d38e3ac1bc85c2454870c354846ed78b50 (diff)
added new package petri-foo 0.1.87-1
Diffstat (limited to 'pcr/petri-foo/petri-foo-0.1.87_fix_recent_file_not_exist.patch')
-rw-r--r--pcr/petri-foo/petri-foo-0.1.87_fix_recent_file_not_exist.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/petri-foo/petri-foo-0.1.87_fix_recent_file_not_exist.patch b/pcr/petri-foo/petri-foo-0.1.87_fix_recent_file_not_exist.patch
new file mode 100644
index 000000000..3e88487b0
--- /dev/null
+++ b/pcr/petri-foo/petri-foo-0.1.87_fix_recent_file_not_exist.patch
@@ -0,0 +1,24 @@
+diff -Naur a/gui/bank-ops.c b/gui/bank-ops.c
+--- a/gui/bank-ops.c 2012-08-06 05:33:34.000000000 +0200
++++ b/gui/bank-ops.c 2012-08-07 17:57:28.580145691 +0200
+@@ -393,6 +393,8 @@
+ g_signal_connect_swapped(G_OBJECT(msg), "response",
+ G_CALLBACK(gtk_widget_destroy), msg);
+ gtk_widget_show (msg);
++
++ gtk_recent_manager_remove_item(recent_manager, filename, NULL);
+ }
+ else
+ {
+diff -Naur a/libpetrifui/dish_file.c b/libpetrifui/dish_file.c
+--- a/libpetrifui/dish_file.c 2012-08-06 05:33:34.000000000 +0200
++++ b/libpetrifui/dish_file.c 2012-08-07 17:56:09.063909801 +0200
+@@ -1440,7 +1440,7 @@
+
+ if (stat(path, &st) != 0)
+ {
+- msg_log(MSG_ERROR, "file '%s' does not exist\n");
++ msg_log(MSG_ERROR, "file '%s' does not exist\n", path);
+ return -1;
+ }
+