Release synfig_@VERSION_MAJ@_@VERSION_MIN@_@VERSION_REV@
[synfig.git] / synfig-studio / tags / stable / src / gtkmm / keyframeactionmanager.cpp
index 7e320f6..b91751c 100644 (file)
@@ -6,6 +6,7 @@
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     Copyright (c) 2007 Chris Moore
 **
 **     This package is free software; you can redistribute it and/or
 **     modify it under the terms of the GNU General Public License as
@@ -34,6 +35,8 @@
 #include <synfigapp/action_param.h>
 #include "instance.h"
 
+#include "general.h"
+
 #endif
 
 /* === U S I N G =========================================================== */
@@ -215,7 +218,7 @@ KeyframeActionManager::refresh()
                action_group_->add(Gtk::Action::create(
                        "action-keyframe_add",
                        Gtk::StockID("gtk-add"),
-                       _("Add new Keyframe"),_("Add new Keyframe")
+                       _("Add New Keyframe"),_("Add New Keyframe")
                ),
                        sigc::mem_fun(*this,&KeyframeActionManager::on_add_keyframe)
                );
@@ -232,13 +235,14 @@ KeyframeActionManager::refresh()
        }
 
        {
-               Glib::RefPtr<Gtk::Action> action(Gtk::Action::create("keyframe-properties", Gtk::StockID("gtk-properties"), _("Keyframe Properties")));
+               Glib::RefPtr<Gtk::Action> action(Gtk::Action::create("keyframe-properties", Gtk::StockID("gtk-properties"),
+                                                                                                                        _("Keyframe Properties"), _("Keyframe Properties")));
                action_group_->add(action,sigc::mem_fun(*this,&KeyframeActionManager::on_keyframe_properties));
                if(keyframe_tree_->get_selection()->count_selected_rows()==0)
                        action->set_sensitive(false);
        }
 
-       ui_info="<ui><menubar action='menu-main'><menu action='menu-keyframe'>"+ui_info+"</menu></menubar></ui>";
+       ui_info="<ui><popup action='menu-main'><menu action='menu-keyframe'>"+ui_info+"</menu></popup></ui>";
        popup_id_=get_ui_manager()->add_ui_from_string(ui_info);
 #ifdef ONE_ACTION_GROUP
 #else