Hello community,

here is the log from the commit of package claws-mail for openSUSE:Factory 
checked in at 2017-02-21 13:50:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/claws-mail (Old)
 and      /work/SRC/openSUSE:Factory/.claws-mail.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "claws-mail"

Changes:
--------
--- /work/SRC/openSUSE:Factory/claws-mail/claws-mail.changes    2016-11-17 
12:44:05.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.claws-mail.new/claws-mail.changes       
2017-02-21 13:50:19.360587610 +0100
@@ -1,0 +2,6 @@
+Thu Feb 16 14:14:45 UTC 2017 - o...@aepfle.de
+
+- Use xdg-open (instead of gedit) as default mime_open_command
+  use-xdg-open-as-default-mime_open_command.patch
+
+-------------------------------------------------------------------

New:
----
  use-xdg-open-as-default-mime_open_command.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ claws-mail.spec ++++++
--- /var/tmp/diff_new_pack.1pZu5J/_old  2017-02-21 13:50:19.956503742 +0100
+++ /var/tmp/diff_new_pack.1pZu5J/_new  2017-02-21 13:50:19.964502616 +0100
@@ -29,6 +29,7 @@
 License:        GPL-3.0+
 Group:          Productivity/Networking/Email/Clients
 Source:         
http://www.claws-mail.org/download.php?file=releases/%{name}-%{version}.tar.xz
+Patch0:         use-xdg-open-as-default-mime_open_command.patch
 BuildRequires:  NetworkManager-devel
 BuildRequires:  compface
 BuildRequires:  db-devel
@@ -122,6 +123,7 @@
 %lang_package
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \

++++++ use-xdg-open-as-default-mime_open_command.patch ++++++
>From 8f2c1491f848e3f5419bf0f93a07ebd4e08b6d61 Mon Sep 17 00:00:00 2001
From: Paul <p...@claws-mail.org>
Date: Thu, 16 Feb 2017 13:49:00 +0000
Subject: [PATCH] use xdg-open as default mime_open_command

---
 src/prefs_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/prefs_common.c b/src/prefs_common.c
index 66b1b38fe..2d8f5bd1a 100644
--- a/src/prefs_common.c
+++ b/src/prefs_common.c
@@ -790,7 +790,7 @@ static PrefParam param[] = {
        /* MIME viewer */
        {"mime_textviewer",   NULL,
         &SPECIFIC_PREFS.mime_textviewer,   P_STRING, NULL, NULL, NULL},
-       {"mime_open_command", "gedit '%s'",
+       {"mime_open_command", "xdg-open '%s'",
         &SPECIFIC_PREFS.mime_open_cmd,     P_STRING, NULL, NULL, NULL},
        {"show_inline_attachments", "TRUE", 
         &prefs_common.show_inline_attachments, P_BOOL, NULL, NULL, NULL},

Reply via email to