Description: Patch for ambiguous keyboard shortcuts TODO: Corrected the ambiguity in keyboard shortcuts for save. . kalgebra (4:4.8.4-1boss1) anokha; urgency=low . * src/kalgebra.cpp: Changed Shortcuts for Save. Author: S Gokul, Prathibha B --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- kalgebra-4.8.4.orig/src/kalgebra.cpp +++ kalgebra-4.8.4/src/kalgebra.cpp @@ -169,8 +169,9 @@ KAlgebra::KAlgebra(QWidget *parent) : KM c_menu->addAction(KIcon("document-save"), i18nc("@item:inmenu", "&Save Script..."), this, SLOT(saveScript()), Qt::CTRL+Qt::Key_G); + //Modified by B.Prathibha and S Gokul c_menu->addAction(KIcon("document-save"), i18nc("@item:inmenu", "&Export Log..."), - this, SLOT(saveLog()), QKeySequence::Save); + this, SLOT(saveLog()), Qt::CTRL+Qt::SHIFT+Qt::Key_S); c_menu->addSeparator()->setText(i18n("Execution Mode")); QActionGroup *execGroup = new QActionGroup(c_menu); QAction* calc = c_menu->addAction(i18nc("@item:inmenu", "Calculate"), this, SLOT(consoleCalculate())); @@ -244,7 +245,10 @@ KAlgebra::KAlgebra(QWidget *parent) : KM QAction* b_actions[6]; b_actions[0] = b_menu->addAction(i18n("&Grid"), this, SLOT(toggleSquares())); b_actions[1] = b_menu->addAction(i18n("&Keep Aspect Ratio"), this, SLOT(toggleKeepAspect())); - b_menu->addAction(KStandardAction::save(this, SLOT(saveGraph()), this)); + //b_menu->addAction(KStandardAction::save(this, SLOT(saveGraph()), this)); + //Added by S Gokul + b_menu-> addAction(KIcon("document-save"), i18nc("@item:inmenu", "&Save"), + this, SLOT(saveGraph()), Qt::CTRL+Qt::ALT+Qt::Key_S ); b_menu->addSeparator(); b_menu->addAction(KStandardAction::zoomIn(m_graph2d, SLOT(zoomIn()), this)); b_menu->addAction(KStandardAction::zoomOut(m_graph2d, SLOT(zoomOut()), this));