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
savoirfairelinux
jami-daemon
Commits
4d6a885c
Commit
4d6a885c
authored
Jul 18, 2012
by
Emmanuel Lepage Vallee
Browse files
Fix regression
parent
e9ae581b
Changes
1
Hide whitespace changes
Inline
Side-by-side
gnome/src/messaging/message_tab.c
View file @
4d6a885c
...
...
@@ -197,7 +197,7 @@ on_clicked(GtkTextBuffer *textbuffer UNUSED, GtkTextIter *location UNUSED, GtkTe
end_link
=
NULL
;
if
(
strlen
(
text
))
{
gchar
*
url_command
=
eel_gconf_get_string
(
MESSAGING_URL_COMMAND
);
if
(
!
strlen
(
url_command
))
if
(
url_command
&&
!
strlen
(
url_command
))
url_command
=
"xdg-open"
;
const
gchar
*
argv
[
3
]
=
{
url_command
,
text
,(
char
*
)
NULL
};
g_spawn_async
(
NULL
,(
gchar
**
)
argv
,
NULL
,
G_SPAWN_SEARCH_PATH
|
G_SPAWN_STDOUT_TO_DEV_NULL
|
G_SPAWN_STDERR_TO_DEV_NULL
,
NULL
,
NULL
,
NULL
,
NULL
);
...
...
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