summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Sanda <ps@twin.jikos.cz>2012-03-19 23:51:00 +0100
committerPavel Sanda <ps@twin.jikos.cz>2012-03-19 23:51:00 +0100
commit4a4246dee02ef3ca1cbd3be41194fde7d920cd57 (patch)
tree8a2657dc11f218389dbcbce7b91d1089b44386d0 /app-office/lyx/files
parentlyx - patch glitch no more in tree (diff)
downloadrebutia-4a4246dee02ef3ca1cbd3be41194fde7d920cd57.tar.gz
rebutia-4a4246dee02ef3ca1cbd3be41194fde7d920cd57.tar.bz2
rebutia-4a4246dee02ef3ca1cbd3be41194fde7d920cd57.zip
lyx: add dead caron patch
Diffstat (limited to 'app-office/lyx/files')
-rw-r--r--app-office/lyx/files/2.0.patches20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-office/lyx/files/2.0.patches b/app-office/lyx/files/2.0.patches
index 2b5504e..ac040ab 100644
--- a/app-office/lyx/files/2.0.patches
+++ b/app-office/lyx/files/2.0.patches
@@ -240,3 +240,23 @@ index bcbf6da..0173a8d 100644
// Calculate 1/3 height of the buffer's default font
FontMetrics const & fm
= theFontMetrics(pi_.base.bv->buffer().params().getFont());
+diff --git a/src/frontends/qt4/GuiKeySymbol.cpp b/src/frontends/qt4/GuiKeySymbol.cpp
+index b318430..5ec58c4 100644
+--- a/src/frontends/qt4/GuiKeySymbol.cpp
++++ b/src/frontends/qt4/GuiKeySymbol.cpp
+@@ -341,6 +341,7 @@ static int string_to_qkey(std::string const & str)
+ if (str == "yacute") return Qt::Key_Yacute;
+ if (str == "thorn") return Qt::Key_THORN;
+ if (str == "ydiaeresis") return Qt::Key_ydiaeresis;
++ if (str == "Dead_Caron") return Qt::Key_Dead_Caron;
+
+ // FIXME, correct for all these ?
+ if (str == "Super_L") return Qt::Key_Super_L;
+@@ -559,6 +560,7 @@ static std::string const qkey_to_string(int lkey)
+ case Qt::Key_ssharp: return "ssharp";
+ case Qt::Key_ydiaeresis: return "ydiaeresis";
+ case Qt::Key_Bar: return "bar";
++ case Qt::Key_Dead_Caron: return "Dead_Caron";
+
+ // FIXME: these ones I don't know the names of ... help !
+ // what's here is basically guesses ...