Bug 3437

Summary: various cleanups
Product: Claws Mail (GTK 2) Reporter: Christian Hesse <mail>
Component: OtherAssignee: users
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 3.12.0   
Hardware: All   
OS: All   
Attachments:
Description Flags
fix inconsistent use of tabs and spaces in indentation
none
add *.tar.xz (xz compressed source tarball) to .gitignore
none
fix type in yacc file
none
remove unused variables
none
do not redefine MIN and MAX
none
remove useless rule
none
remove unused variable
none
remove unused code relating to old unsupported version of libarchive
none
replace raw logo with xpm and fix deprecated gdk_pixbuf_new_from_inline none

Description Christian Hesse 2015-06-18 15:21:36 UTC
Created attachment 1517 [details]
fix inconsistent use of tabs and spaces in indentation

I sent most of this to the mailing list but nobody cared... So uploading here.
Comment 1 Christian Hesse 2015-06-18 15:22:04 UTC
Created attachment 1518 [details]
add *.tar.xz (xz compressed source tarball) to .gitignore
Comment 2 Christian Hesse 2015-06-18 15:22:20 UTC
Created attachment 1519 [details]
fix type in yacc file
Comment 3 Christian Hesse 2015-06-18 15:22:38 UTC
Created attachment 1520 [details]
remove unused variables
Comment 4 Christian Hesse 2015-06-18 15:22:55 UTC
Created attachment 1521 [details]
do not redefine MIN and MAX
Comment 5 Christian Hesse 2015-06-18 15:23:17 UTC
Created attachment 1522 [details]
remove useless rule
Comment 6 Christian Hesse 2015-06-18 15:23:38 UTC
Created attachment 1523 [details]
remove unused variable
Comment 7 Christian Hesse 2015-06-18 15:24:05 UTC
Created attachment 1524 [details]
remove unused code relating to old unsupported version of libarchive
Comment 8 Christian Hesse 2015-06-18 15:29:36 UTC
Created attachment 1525 [details]
replace raw logo with xpm and fix deprecated gdk_pixbuf_new_from_inline
Comment 9 Christian Hesse 2015-06-18 16:21:35 UTC
I pushed the changes to a branch on github:
https://github.com/eworm-de/claws-mail/commits/various-cleanups
Comment 10 Ricardo Mones 2015-08-04 10:29:17 UTC
Last patch still not applied to master, may fix bug 2918.
Comment 11 Christian Hesse 2015-08-04 10:53:01 UTC
The last patch still hardcodes the icon, though in another format. (And it has an extra issue: This does support transparency on/off only, no real alpha channel, so icon borders are ugly.)

Probably it would be worth it installing the icon to /usr/share/icons/ and selecting by name.
Comment 12 users 2016-09-01 19:42:04 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

++ ChangeLog	2016-09-01 19:42:02.941825457 +0200
http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=d3b60aded0edcd3ef3ea1cd725b7149779c685f4
Merge: a10423d db2ee15
Author: Colin Leroy <colin@colino.net>
Date:   Thu Sep 1 19:42:02 2016 +0200

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=db2ee150ef10f77d1b724a9cdf93df890cafc534
Author: Ricardo Mones <ricardo@mones.org>
Date:   Thu Sep 1 19:40:31 2016 +0200

    Fix bug #2918: Notification Popup icon is hardcoded
    
    Also fixes last part of bug #3437 by removing the call to deprecated
    function gdk_pixbuf_new_from_inline and not using a raw pixmap.

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=fcfeb30db6fb32972acb57aec3c8cde7978e8f0e
Author: Ricardo Mones <ricardo@mones.org>
Date:   Thu Sep 1 19:39:46 2016 +0200

    Add 64x64 icon version to stock pixmaps
    
    Icon data purloined from last patch of #3437 by Christian Hesse.
Comment 13 Ricardo Mones 2016-09-01 19:49:10 UTC
(In reply to comment #11)
> The last patch still hardcodes the icon, though in another format. (And it
> has an extra issue: This does support transparency on/off only, no real
> alpha channel, so icon borders are ugly.)

Right, but that's a general problem of internal theme, not fixable until its format is switched to PNG (RFE #3488) or something better.
 
> Probably it would be worth it installing the icon to /usr/share/icons/ and
> selecting by name.

Now is a stock icon, so is theme-able in PNG format, if somebody feels it's too ugly for their visual tastes :)