summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Hruby <michal.mhr@gmail.com>2011-01-26 01:13:35 +0100
committerMichal Hruby <michal.mhr@gmail.com>2011-01-26 01:13:35 +0100
commitb58d5dec6ab8612721a8716617847bbb545cd467 (patch)
tree46c5846207ae67ebd6905fa391fb4f4f5f5f3629
parent3a4bbfa0865d03084c09c6c2cfb99cec478d2236 (diff)
Make the ooo workaround work also for libreofficev0.6.00.6
-rw-r--r--src/recent-manager-provider.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/recent-manager-provider.vala b/src/recent-manager-provider.vala
index f789384..7e3cb73 100644
--- a/src/recent-manager-provider.vala
+++ b/src/recent-manager-provider.vala
@@ -197,7 +197,8 @@ public class RecentManagerGtk : DataProvider
private string? get_ooo_desktop_file_for_mimetype (string mimetype)
{
- return find_desktop_file_for_app ("ooffice", mimetype);
+ return find_desktop_file_for_app ("libreoffice", mimetype) ??
+ find_desktop_file_for_app ("ooffice", mimetype);
}
private string? find_desktop_file_for_app (string app_name,