Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
debs
gnome-bluetooth
Commits
6a8e406b
Commit
6a8e406b
authored
Aug 27, 2020
by
Bastien Nocera
Browse files
settings: Allow $HOME to be the Downloads dir
Closes: #67
parent
59d6de7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/bluetooth-settings-obexpush.c
View file @
6a8e406b
...
...
@@ -484,7 +484,7 @@ lookup_download_dir (void)
char
*
dir
;
special_dir
=
g_get_user_special_dir
(
G_USER_DIRECTORY_DOWNLOAD
);
if
(
special_dir
!=
NULL
&&
strcmp
(
special_dir
,
g_get_home_dir
())
!=
0
)
{
if
(
special_dir
!=
NULL
)
{
g_mkdir_with_parents
(
special_dir
,
0755
);
return
g_strdup
(
special_dir
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment