unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 3e88487b07b95112580fa49e3e53d0003a09bc56 858 bytes (raw)
name: packages/patches/petri-foo-0.1.87-fix-recent-file-not-exist.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
     }
 

debug log:

solving 3e88487b07b95112580fa49e3e53d0003a09bc56 ...
found 3e88487b07b95112580fa49e3e53d0003a09bc56 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).