summaryrefslogtreecommitdiff
path: root/common/gvfsmountinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/gvfsmountinfo.c')
-rw-r--r--common/gvfsmountinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/gvfsmountinfo.c b/common/gvfsmountinfo.c
index 60a3527f..054af574 100644
--- a/common/gvfsmountinfo.c
+++ b/common/gvfsmountinfo.c
@@ -107,7 +107,7 @@ on_autorun_loaded (GObject *source_object,
/* [^,] is because sometimes the icon= line
* has a comma at the end
**/
- icon_regex = g_regex_new ("icon=([^,\\r\\n]+)",
+ icon_regex = g_regex_new ("icon\\s*=\\s*+([^,\\r\\n]+)",
G_REGEX_CASELESS, 0, NULL);
g_regex_match (icon_regex, content, 0,
&match_info);