]> git.lyx.org Git - lyx.git/blobdiff - src/LyXAction.C
In for a penny, in for a pound. Consistent use of // -*- C++ -*-
[lyx.git] / src / LyXAction.C
index 6982edccfa263fdb16a7559963fc68a18c4323b7..25c91a8bd21e065d5303bef1f78bc83aab4feeb8 100644 (file)
@@ -62,7 +62,7 @@ void LyXAction::init()
        // occupies after the init is completed. It compiles several
        // magnitudes faster.
        
-       static bool init = false;
+       static bool init;
        if (init) return;
 
        struct lfun_item {
@@ -195,7 +195,9 @@ void LyXAction::init()
                { LFUN_FILE_OPEN, "file-open", _("Open a file"), NoBuffer },
                { LFUN_MENUSEARCH, "find-replace", N_("Find & Replace"),
                  ReadOnly },
-               { LFUN_INSET_FLOAT, "float-insert", "", Noop },
+               { LFUN_INSET_FLOAT, "float-insert", "Insert a Float", Noop },
+               { LFUN_INSET_WIDE_FLOAT, "float-wide-insert",
+                 "Insert a wide Float", Noop },
                { LFUN_BOLD, "font-bold", N_("Toggle bold"), Noop },
                { LFUN_CODE, "font-code", N_("Toggle code style"), Noop },
                { LFUN_DEFAULT, "font-default", N_("Default font style"),