Commit 8f41eba2 authored by Laurent Montel's avatar Laurent Montel 😁

Show dialog box

parent ecf9ca2a
......@@ -2,7 +2,7 @@
the same menu entries at the same place in KMail and Kontact -->
<!DOCTYPE kpartgui>
<kpartgui version="500" name="kmmainwin" >
<kpartgui version="501" name="kmmainwin" >
<MenuBar>
<Menu noMerge="1" name="file" >
<text>&amp;File</text>
......@@ -32,6 +32,7 @@
<Action name="send_queued" />
<Action name="send_queued_via" />
<Action name="message_delayed"/>
<Action name="followup_reminder_messages"/>
<Separator/>
<Action name="file_quit" />
</Menu>
......
......@@ -60,7 +60,7 @@ void KMConfigureAgent::slotConfigureSendLater()
void KMConfigureAgent::slotConfigureFollowupReminder()
{
OrgFreedesktopAkonadiFollowUpReminderAgentInterface followUpInterface(QLatin1String("org.freedesktop.Akonadi.FollowUpReminderAgent"), QLatin1String("/FollowUpReminder"),QDBusConnection::sessionBus(), this);
OrgFreedesktopAkonadiFollowUpReminderAgentInterface followUpInterface(QLatin1String("org.freedesktop.Akonadi.FollowUpReminder"), QLatin1String("/FollowUpReminder"),QDBusConnection::sessionBus(), this);
if (followUpInterface.isValid()) {
followUpInterface.showConfigureDialog( (qlonglong)mParentWidget->winId() );
} else {
......
......@@ -3101,6 +3101,12 @@ void KMMainWidget::setupActions()
connect(action, SIGNAL(triggered(bool)), mConfigAgent, SLOT(slotConfigureSendLater()));
}
{
KAction *action = new KAction(i18n("Followup Reminder Messages..."), this);
actionCollection()->addAction(QLatin1String("followup_reminder_messages"), action );
connect(action, SIGNAL(triggered(bool)), mConfigAgent, SLOT(slotConfigureFollowupReminder()));
}
// Disable the standard action delete key sortcut.
KAction* const standardDelAction = akonadiStandardAction( Akonadi::StandardActionManager::DeleteItems );
......
......@@ -2,7 +2,7 @@
the same menu entries at the same place in KMail and Kontact -->
<!DOCTYPE kpartgui>
<kpartgui version="500" name="kmmainwin" >
<kpartgui version="501" name="kmmainwin" >
<MenuBar>
<Menu noMerge="1" name="file" >
<text>&amp;File</text>
......@@ -32,6 +32,7 @@
<Action name="send_queued" />
<Action name="send_queued_via" />
<Action name="message_delayed"/>
<Action name="followup_reminder_messages"/>
<Separator/>
<Action name="file_quit" />
</Menu>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment