Ticket #2723: 0001-Switch-default-bindings-from-ooffice-to-libreoffice.patch

File 0001-Switch-default-bindings-from-ooffice-to-libreoffice.patch, 1.3 KB (added by schuay, 12 years ago)
  • misc/mc.ext.in

    From 555edcd0fffbcba836030f946b234620732c19b7 Mon Sep 17 00:00:00 2001
    From: Jakob Gruber <jakob.gruber@gmail.com>
    Date: Sat, 28 Jan 2012 12:40:56 +0100
    Subject: [PATCH] Switch default bindings from ooffice to libreoffice
    
    LibreOffice has replaced OpenOffice.org in most distributions by now,
    update bindings accordingly.
    
    Signed-off-by: Jakob Gruber <jakob.gruber@gmail.com>
    ---
     misc/mc.ext.in |   10 +++++-----
     1 files changed, 5 insertions(+), 5 deletions(-)
    
    diff --git a/misc/mc.ext.in b/misc/mc.ext.in
    index 50bcbda..ce6f40f 100644
    a b regex/\.([hH][tT][mM][lL]?)$ 
    514514 
    515515# StarOffice 5.2 
    516516shell/.sdw 
    517         Open=(ooffice %f &) 
     517        Open=(libreoffice %f &) 
    518518 
    519 # StarOffice 6 and OpenOffice.org formats 
     519# StarOffice 6 and LibreOffice formats 
    520520regex/\.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$ 
    521         Open=(ooffice %f &) 
     521        Open=(libreoffice %f &) 
    522522        View=%view{ascii} odt2txt %f 
    523523 
    524524# AbiWord 
    type/^Microsoft\ Excel 
    545545        Open=(gnumeric %f >/dev/null 2>&1 &) 
    546546        View=%view{ascii} xls2csv %f || strings %f 
    547547 
    548 # Use OpenOffice.org to open any MS Office documents 
     548# Use LibreOffice to open any MS Office documents 
    549549type/^Microsoft\ Office\ Document 
    550         Open=(ooffice %f &) 
     550        Open=(libreoffice %f &) 
    551551 
    552552# Framemaker 
    553553type/^FrameMaker