Relocated Timeline Toolbar into the grip

This commit is contained in:
Joel Holdsworth 2009-03-14 15:09:18 +00:00
parent 6ce9aff38b
commit 46a310ad8c
2 changed files with 12 additions and 25 deletions

View file

@ -79,7 +79,7 @@ TimelinePanel::TimelinePanel(workspace::WorkspaceWindow
// Setup the toolbar
timeIndicatorButton.set_label_widget(timeIndicator);
toolbar.append(timeIndicatorButton);
//toolbar.append(timeIndicatorButton);
toolbar.append(previousButton);
toolbar.append(rewindButton);
@ -102,23 +102,10 @@ TimelinePanel::TimelinePanel(workspace::WorkspaceWindow
toolbar.append(zoomIn, mem_fun(this, &TimelinePanel::on_zoom_in));
toolbar.append(zoomOut, mem_fun(this, &TimelinePanel::on_zoom_out));
toolbar.set_toolbar_style(TOOLBAR_ICONS);
/*#if 0
toolbar.set_icon_size(WindowManager::MenuIconSize);
#else
TODO("This code soon be removed when we drop Etch compatibility");
// Temporary bodge for etch compatibility - will be removed soon
gtk_toolbar_set_icon_size (toolbar.gobj(),
(GtkIconSize)(int)WindowManager::MenuIconSize);
#endif*/
toolbar.show_all();
panelBar.pack_start(toolbar, PACK_EXPAND_WIDGET);
// Add the toolbar
//pack_start(toolbar, PACK_SHRINK);
// Add the notebook
pack_start(notebook, PACK_EXPAND_WIDGET);
// Set the initial UI state

View file

@ -116,20 +116,20 @@ private:
Gtk::Label timeIndicator;
Gtk::ToolButton timeIndicatorButton;
Gtk::ToolButton previousButton;
Gtk::ToolButton rewindButton;
Gtk::ToolButton playPauseButton;
Gtk::ToolButton stopButton;
Gtk::ToolButton forwardButton;
Gtk::ToolButton nextButton;
MiniButton previousButton;
MiniButton rewindButton;
MiniButton playPauseButton;
MiniButton stopButton;
MiniButton forwardButton;
MiniButton nextButton;
Gtk::ToggleToolButton arrowTool;
Gtk::ToggleToolButton iBeamTool;
MiniToggleButton arrowTool;
MiniToggleButton iBeamTool;
Gtk::SeparatorToolItem seperator1;
Gtk::ToolButton zoomIn;
Gtk::ToolButton zoomOut;
MiniButton zoomIn;
MiniButton zoomOut;
Gtk::SeparatorToolItem seperator2;