summaryrefslogtreecommitdiff
path: root/multimedia/ucview/patches/ucview-0.33-default_video_path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/ucview/patches/ucview-0.33-default_video_path.patch')
-rw-r--r--multimedia/ucview/patches/ucview-0.33-default_video_path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/ucview/patches/ucview-0.33-default_video_path.patch b/multimedia/ucview/patches/ucview-0.33-default_video_path.patch
new file mode 100644
index 0000000000..116474b071
--- /dev/null
+++ b/multimedia/ucview/patches/ucview-0.33-default_video_path.patch
@@ -0,0 +1,11 @@
+diff -r -U 2 a/ucview-0.33/src/callbacks.c b/ucview-0.33/src/callbacks.c
+--- a/ucview-0.33/src/callbacks.c 2010-03-18 10:28:46.000000000 +0100
++++ b/ucview-0.33/src/callbacks.c 2015-02-10 19:29:27.329625095 +0100
+@@ -229,4 +229,7 @@
+
+ path = gconf_client_get_string( window->client, UCVIEW_GCONF_DIR "/video_file_path", NULL );
++ if( !path ){
++ path = g_get_home_dir();
++ }
+ if( !g_file_test( path, ( G_FILE_TEST_IS_DIR ) ) )
+ {