spek

Acoustic spectrum analyser
git clone http://git.hanabi.in/repos/spek.git
Log | Files | Refs | README

commit b84eb0b845e35e06cda9ecd4a5e037f138f4f996
parent 51c8b6fcc07085c509f02c8b6a9f87de6aab637d
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date:   Tue, 19 Apr 2011 21:26:28 +0800

Force the toolbar style

Diffstat:
Msrc/spek-window.vala | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/spek-window.vala b/src/spek-window.vala @@ -91,7 +91,8 @@ namespace Spek { } var menubar = ui.get_widget ("/MenuBar"); - var toolbar = ui.get_widget ("/ToolBar"); + var toolbar = (Toolbar) ui.get_widget ("/ToolBar"); + toolbar.set_style (ToolbarStyle.BOTH_HORIZ); ((ToolItem) ui.get_widget ("/ToolBar/FileOpen")).is_important = true; ((ToolItem) ui.get_widget ("/ToolBar/FileSave")).is_important = true; ((ToolItem) ui.get_widget ("/ToolBar/HelpAbout")).is_important = true;