Accepting request 353183 from home:vmiklos:branches:server:mail

fix patch-1.5.24.sidebar.20151111.patch wrt boo#961470

OBS-URL: https://build.opensuse.org/request/show/353183
OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=114
This commit is contained in:
Dr. Werner Fink 2016-02-10 10:52:11 +00:00 committed by Git OBS Bridge
parent a3fbd8aa1c
commit 63c8d28be8
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 12 08:46:42 UTC 2016 - vmiklos@collabora.co.uk
- Fix patch-1.5.24.sidebar.20151111.patch to shorten
imaps://imap.example.com/INBOX correctly to INBOX, not to NBOX. (boo#961470)
-------------------------------------------------------------------
Tue Dec 22 09:44:55 UTC 2015 - vmiklos@collabora.co.uk

View File

@ -1,7 +1,7 @@
#
# spec file for package mutt
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed

View File

@ -1892,7 +1892,7 @@ index 0000000..e9d9eba
+ /* calculate depth of current folder and generate its display name with indented spaces */
+ int sidebar_folder_depth = 0;
+ char *sidebar_folder_name;
+ sidebar_folder_name = option(OPTSIDEBARSHORTPATH) ? mutt_basename(tmp->path) : tmp->path + maildir_is_prefix*(strlen(Maildir) + 1);
+ sidebar_folder_name = option(OPTSIDEBARSHORTPATH) ? mutt_basename(tmp->path) : tmp->path + maildir_is_prefix*(strlen(Maildir));
+ if ( maildir_is_prefix && option(OPTSIDEBARFOLDERINDENT) ) {
+ char *tmp_folder_name;
+ int i;