Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gnome-bluetooth
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gnome-bluetooth
Commits
6a8e406b
Commit
6a8e406b
authored
Aug 27, 2020
by
Bastien Nocera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
settings: Allow $HOME to be the Downloads dir
Closes:
#67
parent
59d6de7d
Pipeline
#208156
passed with stage
in 2 minutes and 1 second
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/bluetooth-settings-obexpush.c
lib/bluetooth-settings-obexpush.c
+1
-1
No files found.
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
Markdown
is supported
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