Cimi’s Official Blog

Italians do it Better…

Just a Blog on Gtk+ Theming, Bleeding-Edge, Good Software...

Optional Flat Toolbars for Clearlooks 2.22 9 February, 2008

I’m actually in love with an optional feature I’ve recently added in Clearlooks:
the ability to draw flat toolbars/menubars. (thanks to lucazade for the idea!)

Clearlooks Shadow None

How to Use this Feature

In order to get this you have to:
1) update to gtk-engines revision 1062 and newer
2) open the gtkrc of Clearlooks (or copy and create a new theme) and add those two lines (see the screenshot above):

GtkMenuBar ::shadow-type = GTK_SHADOW_NONE
GtkToolbar ::shadow-type = GTK_SHADOW_NONE

A little Notice

Please notice that file-roller and inkscape seems to use something different than a GtkToolbar (they use a mix of GtkHBox Vbox and so on… don’t tell me why), and this feature will not work. (Of course I don’t want to write hacks or special cases in the engine to be compatible with their different behaviour).


Posted in English, GNOME, GTK |

23 Replies

  1. Stu said:

    So clean !
    I wonder if the metacity and gtk themes could know about each other to facilitate gradients from one to the other?

  2. John Drinkwater said:

    Looks lovely :)
    Is there any way to regain the few pixels that were used by the bar shadows?
    Seems to make the app look like it’s wasting space in my eyes…

  3. cubo said:

    I hope it will become the default setting… it is far better than before imho.

    cià

  4. Livio said:

    @cubo: default? Never… It’s not Win95.

  5. m5brane said:

    I’m sure lucazade would appreciate it if you mentioned that he originally implemented this feature.

  6. lucazade said:

    thanks m5brane.. livio is the only one who knows the thruth.. it’s really win95.. go updating to vista :)

  7. lucazade said:

    Cimi keep it up your good work, really appreciated!

  8. Michel said:

    Well, let me be the first to say I don’t like it. Sorry.

    It’s one of the reasons I like GNOME themes: when a program says a divider (shadow in gtk) should be used, it is there to put items into an area and making it look less crowded and faster to spot items.

    Removing things does not necessarily make those things more clean. In this example, the icons are now are floating in free space. Think about what it would look like with more rows of toolbars.

    Or perhaps it’s better to give an analogy: think about what it would look like if the page-designer of your favorite magazine would leave out all elements that separate the content from the additional things? (ie. pictures and all that). It would definitely look “clean”, but is it more readable?

    Gnome was going the right direction by using correct amounts of spacing and all that. Having actual elements to divide items in eg. toolbars is one of the things that makes applications in Gnome look more professional then they do in KDE (they remove them by default). In KDE, elements are all floating in free space, and that’s one thing that makes KDE-applications look crowded.

    Hope you’re not offensed by this, but I do hope that if this ever gets into Gnome trunk that people will really think about it first.

  9. Cimi said:

    @Michel:
    OPTIONAL, OPTIONAL, OPTIONAL. (written in the title, written in the entry)
    :)
    Don’t worry, I’m not so crazy ;) the default theme still uses (and will use) the old (usable and HIG compliant) behaviour.
    Cheers

  10. baze said:

    Very nice!! i like it a lot!

  11. JrezIN said:

    Much nicer.

  12. Andreas Nilsson said:

    I would argue this makes a great default, looks nice and clean.

    “think about what it would look like if the page-designer of your favorite magazine would leave out all elements that separate the content from the additional things? (ie. pictures and all that). It would definitely look “clean”, but is it more readable?”

    Yes, a lot of magazine designers do that (using space instead) and it works rather well.

  13. K3ks said:

    I also like it very much! :)
    Now, as i prefer your murrine engine, is it possible to have this with murrine too?

    Thanks for your work!

  14. clarkkent said:

    Like I’ve already told you..I digg it ;)

  15. LADave said:

    I like this implementation better.
    http://www.gnome-look.org/content/show.php/clearlooks+hack?content=73163

  16. someone said:

    And what’s up with the transparent Murrina? Will you release the source?

  17. K3ks said:

    @someone I think getting the source is already possible. I don’t now where for sure but there may be an svn repo that allows you to get the latest source.
    Beside that, i think you should install it if you develop plugins or patches for progs to use transparenci, otherwise resepect the wish of cimi and wait for a stable release.

  18. lucazade said:

    hi!!
    new murrine works like a charm.. i can’t believe to it!! :P
    so cool!

    rgba = TRUE … is this the right/only option to use in .gtkrc ?

  19. Cimi said:

    rgba is enabled by default when a rgba application is founded.
    rgba = FALSE could be useful to draw opaque windows instead

  20. lucazade said:

    perfect..
    i’m going to make a theme for celebrating it!

  21. Cimi said:

    yes but don’t publish it ;)
    I want to publish the repository since I will have too bugreports about development code

  22. lucazade said:

    hehe ok
    i’m thinking to call it: fireworks, you know why!

  23. Cimi’s Official Blog » Blog Archive » Optional Flat Toolbars for Murrine said:

    […] Just a quick note following the previous update to Clearlooks with optional Flat Toolbars. […]

Leave a Comment

Attention: Moderation is enabled, and could cause a delay to the posting.

This blog is "Powered by Cimi"

Theme from: Kaushal Sheth | Modified by: Andrea Cimitan