diff --git a/icons/timeline-panel.png b/icons/timeline-panel.png new file mode 100644 index 000000000..91bf10a96 Binary files /dev/null and b/icons/timeline-panel.png differ diff --git a/icons/timeline-panel.svg b/icons/timeline-panel.svg new file mode 100644 index 000000000..f77c1c0a0 --- /dev/null +++ b/icons/timeline-panel.svg @@ -0,0 +1,415 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/src/gui/Makefile.am b/src/gui/Makefile.am index ff02570bd..5ea08b2a8 100644 --- a/src/gui/Makefile.am +++ b/src/gui/Makefile.am @@ -72,7 +72,8 @@ lumigui_LDADD = $(GTK_LUMIERA_LIBS) lumigui_DEPENDENCIES = \ $(top_builddir)/lumiera_ui.rc \ - $(top_builddir)/viewer-panel.png + $(top_builddir)/viewer-panel.png \ + $(top_builddir)/timeline.png $(top_builddir)/lumiera_ui.rc: cp $(lumigui_srcdir)/lumiera_ui.rc $(top_builddir) @@ -80,3 +81,6 @@ $(top_builddir)/lumiera_ui.rc: $(top_builddir)/viewer-panel.png: cp $(top_srcdir)/icons/viewer-panel.png $(top_builddir) +$(top_builddir)/timeline.png: + cp $(top_srcdir)/icons/timeline.png $(top_builddir) + diff --git a/src/gui/panels/timeline-panel.cpp b/src/gui/panels/timeline-panel.cpp index 7d1de24ea..06e6187e0 100644 --- a/src/gui/panels/timeline-panel.cpp +++ b/src/gui/panels/timeline-panel.cpp @@ -27,7 +27,7 @@ namespace gui { namespace panels { TimelinePanel::TimelinePanel() : - Panel("timeline", "Timeline") + Panel("timeline", "Timeline", "timeline_panel") { pack_start(timeline_widget); } diff --git a/src/gui/workspace/actions.cpp b/src/gui/workspace/actions.cpp index 389c0059a..73c3d7983 100644 --- a/src/gui/workspace/actions.cpp +++ b/src/gui/workspace/actions.cpp @@ -67,7 +67,7 @@ namespace workspace { actionGroup->add(Action::create("ViewMenu", _("_View"))); actionGroup->add(Action::create("ViewViewer", Gtk::StockID("viewer_panel")), sigc::mem_fun(*this, &Actions::on_menu_view_viewer)); - actionGroup->add(Action::create("ViewTimeline", _("_Timeline")), + actionGroup->add(Action::create("ViewTimeline", Gtk::StockID("timeline_panel")), sigc::mem_fun(*this, &Actions::on_menu_view_timeline)); // Help Menu @@ -81,6 +81,7 @@ namespace workspace { { RefPtr factory = IconFactory::create(); add_stock_item(factory, "viewer-panel.png", "viewer_panel", _("_Viewer")); + add_stock_item(factory, "timeline-panel.png", "timeline_panel", _("_Timeline")); factory->add_default(); //Add factory to list of factories. }