]> git.lyx.org Git - features.git/commitdiff
No need for an extra icon
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 27 Dec 2018 10:18:13 +0000 (11:18 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 12:39:53 +0000 (14:39 +0200)
lib/Makefile.am
lib/images/classic/dynamic-freefonts.png [deleted file]
lib/images/dynamic-freefonts.svgz [deleted file]
lib/images/oxygen/dynamic-freefonts.svgz [deleted file]
lib/ui/stdtoolbars.inc
src/frontends/qt4/GuiToolbar.cpp
src/frontends/qt4/GuiToolbar.h

index 032103e2abb5df9bb7865ed434f4f872be163a30..3816d5c7279e763d19a0056a372e20dac6558efa 100644 (file)
@@ -473,7 +473,6 @@ dist_images_DATA1X = \
        images/down.svgz \
        images/dynamic-char-styles.svgz \
        images/dynamic-custom-insets.svgz \
-       images/dynamic-freefonts.svgz \
        images/editclear.svgz \
        images/emblem-readonly.svgz \
        images/emblem-shellescape.svgz \
@@ -1760,7 +1759,6 @@ dist_imagesoxygen_DATA1X = \
        images/oxygen/dialog-toggle_toc.svgz \
        images/oxygen/dynamic-char-styles.svgz \
        images/oxygen/dynamic-custom-insets.svgz \
-       images/oxygen/dynamic-freefonts.svgz \
        images/oxygen/down.svgz \
        images/oxygen/editclear.svgz \
        images/oxygen/ert-insert.svgz \
@@ -1967,7 +1965,6 @@ dist_imagesclassic_DATA = \
        images/classic/dialog-show_vclog.png  \
        images/classic/dialog-toggle_findreplaceadv.png  \
        images/classic/dialog-toggle_toc.png  \
-       images/classic/dynamic-freefonts.png \
        images/classic/down.png  \
        images/classic/ert-insert.png  \
        images/classic/file-open.png  \
diff --git a/lib/images/classic/dynamic-freefonts.png b/lib/images/classic/dynamic-freefonts.png
deleted file mode 100644 (file)
index a63ad1d..0000000
Binary files a/lib/images/classic/dynamic-freefonts.png and /dev/null differ
diff --git a/lib/images/dynamic-freefonts.svgz b/lib/images/dynamic-freefonts.svgz
deleted file mode 100644 (file)
index 5830eef..0000000
Binary files a/lib/images/dynamic-freefonts.svgz and /dev/null differ
diff --git a/lib/images/oxygen/dynamic-freefonts.svgz b/lib/images/oxygen/dynamic-freefonts.svgz
deleted file mode 100644 (file)
index 7a7ffd0..0000000
Binary files a/lib/images/oxygen/dynamic-freefonts.svgz and /dev/null differ
index 4d862d8387bbc4eb641274c5d9309d1e999ce2bd..4b20445ca07ed25bfc8e6b1b76489e70e6d39cf2 100644 (file)
@@ -138,7 +138,7 @@ ToolbarSet
                Item "Include file" "dialog-show-new-inset include"
                Separator
                Item "Text properties" "dialog-show character"
-               DynamicMenu "dynamic-freefonts" "Apply recent text properties"
+               DynamicMenu "textstyle-apply" "Apply recent text properties"
                Item "Paragraph settings" "layout-paragraph"
                Item "Thesaurus" "thesaurus-entry"
        End
index 006a35371045b00065a7537d5cf8d09603d96a55..0fba820ba51689958179f6d858a78ea1ae334823 100644 (file)
@@ -323,7 +323,7 @@ bool DynamicMenuButton::isMenuType(string const & s)
 {
        return s == "dynamic-custom-insets"
                || s == "dynamic-char-styles"
-               || s == "dynamic-freefonts"
+               || s == "textstyle-apply"
                || s == "paste";
 }
 
@@ -365,7 +365,7 @@ void DynamicMenuButton::updateTriggered()
                setEnabled(!bv->buffer().isReadonly()
                           && !m->isEmpty()
                           && inset->insetAllowed(FLEX_CODE));
-       } else if (menutype == "dynamic-freefonts") {
+       } else if (menutype == "textstyle-apply") {
                m->clear();
                vector<docstring> ffList = bv->cursor().innerText()->getFreeFonts();
                unsigned int i = 0;
index 8d82f538e337288f703ce2d2a52db5ec23a3e495..24d11e3137faa0edcef2ca51025cbb50d11df0c9 100644 (file)
@@ -86,7 +86,7 @@ protected Q_SLOTS:
 /// (stdtoolbars.inc, usually) and must be one of:
 ///            dynamic-custom-insets
 ///            dynamic-char-styles
-///            dynamic-freefonts
+///            textstyle-apply
 ///            paste
 /// To add a new one of these, you must add a routine, like 
 /// loadFlexInsets, that will populate the menu, and call it from