GNOME Bugzilla – Bug 754802
do not show Labels on sidebar if no label is present
Last modified: 2018-01-27 06:08:34 UTC
I hope that I'm not nitpicking too much :) It's really a minor issue but it would be sensible to not list Labels on the side bar if no label has been created yet. If you click on it nothing happens, because it's just a "container" and not a folder.
Created attachment 347044 [details] [review] patch proposal v1 Here is an attempt to hide it. Any test/review's welcome :).
Hey Gautier, I must have missed your patch! I've just tested it and it works great! I have only a minor issue, which does not depend on your patch. Geary cannot detect the Spam and Archive special folders of my dovecot account, while it detects immediately the other special folders. So I had to set them manually in geary.ini file. As a result, when I launch Geary I always see *for a few seconds* the Labels folder containing the Archive and Spam folders. Then I guess that Geary reads the geary.ini file and show them as special folders, so the Labels becomes empty. As soon as it's empty, thanks to your patch, the Labels disappears from sidebar.
Review of attachment 347044 [details] [review]: I was prevaricating landing this because I was hoping to land Bug 730712 instead in 0.13. But that's in danger of slipping to 0.14, and this would be good to apply to 0.12 as well, so it's been pushed to master as commit ff95fb8. Will merge to stable once it's been tested there a bit. Thanks Gautier!
Pushed to geary-0.12 as commit 7fbb67d.