rpms/transmission/F-8 transmission-0.81-downloaddir.patch, 1.1, 1.2 transmission-0.71-manpath.patch, 1.1, NONE

Denis Leroy (denis) fedora-extras-commits at redhat.com
Wed Nov 7 01:31:25 UTC 2007


Author: denis

Update of /cvs/pkgs/rpms/transmission/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12333

Modified Files:
	transmission-0.81-downloaddir.patch 
Removed Files:
	transmission-0.71-manpath.patch 
Log Message:
Updated download dir patch

transmission-0.81-downloaddir.patch:

Index: transmission-0.81-downloaddir.patch
===================================================================
RCS file: /cvs/pkgs/rpms/transmission/F-8/transmission-0.81-downloaddir.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- transmission-0.81-downloaddir.patch	12 Sep 2007 10:45:52 -0000	1.1
+++ transmission-0.81-downloaddir.patch	7 Nov 2007 01:31:21 -0000	1.2
@@ -1,17 +1,13 @@
-Index: gtk/util.c
-===================================================================
---- gtk/util.c	(revision 2629)
-+++ gtk/util.c	(working copy)
-@@ -319,7 +319,12 @@
- {
+--- transmission-0.91/gtk/util.c~	2007-10-29 00:57:11.000000000 +0100
++++ transmission-0.91/gtk/util.c	2007-11-03 16:35:30.000000000 +0100
+@@ -288,6 +288,10 @@
      static char * wd = NULL;
-     const char * dir = tr_prefs_get( PREF_ID_DIR );
-+
-     if (NULL == dir) {
+     char * dir = pref_string_get( PREF_KEY_DIR_DEFAULT );
+     if ( dir == NULL ) {
 +#if GLIB_CHECK_VERSION(2, 13, 7)
-+      dir = g_get_user_special_dir(G_USER_DIRECTORY_DOWNLOAD);
-+      return dir;
++        dir = g_get_user_special_dir(G_USER_DIRECTORY_DOWNLOAD);
++        return dir;
 +#endif
-       if (NULL == wd)
-         wd = g_get_current_dir();
-       dir = wd;
+         if( wd == NULL )
+             wd = g_get_current_dir();
+         dir = g_strdup( wd );


--- transmission-0.71-manpath.patch DELETED ---




More information about the fedora-extras-commits mailing list