Author Topic: [solved] Larry Theme - Always show minimal topline  (Read 7951 times)

Offline utopist

  • Newbie
  • *
  • Posts: 4
[solved] Larry Theme - Always show minimal topline
« on: January 30, 2013, 03:37:24 AM »
Hi guys,

after looking a little bit on the Larry skin, I would like to always start the window in the "minimal" view mode, suprressing the "about" line completely.

I have seen that when clicking on the top right arrow, the style of the body - tag is set to "minimal".
What is the best way to always insert this and where do I need to change the code?

Thanks for your help and keep up the excellent work!
Christian
« Last Edit: February 05, 2013, 03:27:50 AM by utopist »

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Re: Larry Theme - Always show minimal topline
« Reply #1 on: January 30, 2013, 08:37:29 AM »
change this line:

Code: [Select]
var minmode = rcmail.get_cookie('minimalmode'); from here https://github.com/roundcube/roundcubemail/blob/master/skins/larry/ui.js#L48

to

Code: [Select]
var minmode = 1;
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline utopist

  • Newbie
  • *
  • Posts: 4
Re: Larry Theme - Always show minimal topline
« Reply #2 on: February 05, 2013, 03:27:26 AM »
Thanks! Worked!