On Thu, 26 Feb 2009, Matt Rogers sent out 0.3K bytes to say:
> Patch?
Had skipped the patch as it's kind of trivial. It's attatched here.
--
Tejas Dinkar
http://gja.in
diff --git a/kopete/plugins/history/historyguiclient.cpp b/kopete/plugins/history/historyguiclient.cpp
index 747cd49..b57a668 100644
--- a/kopete/plugins/history/historyguiclient.cpp
+++ b/kopete/plugins/history/historyguiclient.cpp
@@ -62,6 +62,7 @@ HistoryGUIClient::HistoryGUIClient ( Kopete::ChatSession *parent )
KAction *viewChatHistory = new KAction( KIcon("view-history"), i18n("View &History" ), this );
actionCollection()->addAction( "viewChatHistory", viewChatHistory );
+ viewChatHistory->setShortcut(KShortcut (Qt::CTRL + Qt::Key_H));
connect(viewChatHistory, SIGNAL(triggered(bool)), this, SLOT(slotViewHistory()));
KAction *actionQuote = new KAction ( KIcon ( "go-last" ),i18n ( "Quote Last Message" ), this );
diff --git a/kopete/plugins/history/historyplugin.cpp b/kopete/plugins/history/historyplugin.cpp
index a6e51ee..bedd560 100644
--- a/kopete/plugins/history/historyplugin.cpp
+++ b/kopete/plugins/history/historyplugin.cpp
@@ -51,6 +51,7 @@ HistoryPlugin::HistoryPlugin( QObject *parent, const QStringList & /* args */ )
{
KAction *viewMetaContactHistory = new KAction( KIcon("view-history"), i18n("View &History" ), this );
actionCollection()->addAction( "viewMetaContactHistory", viewMetaContactHistory );
+ viewMetaContactHistory->setShortcut(KShortcut(Qt::CTRL + Qt::Key_H));
connect(viewMetaContactHistory, SIGNAL(triggered(bool)), this, SLOT(slotViewHistory()));
viewMetaContactHistory->setEnabled(
Kopete::ContactList::self()->selectedMetaContacts().count() == 1 );
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel