[kde-doc-english] Re: [kolourpaint] /: Add "screenshot" action to file menu
Yuri Chornoivan
yurchor at ukr.net
Sun Apr 3 10:53:08 CEST 2011
написане Sat, 26 Mar 2011 23:26:25 +0200, Martin Koller <kollix at aon.at>:
> --- a/mainWindow/kpMainWindow_File.cpp
> +++ b/mainWindow/kpMainWindow_File.cpp
> @@ -100,9 +101,13 @@ void kpMainWindow::setupFileMenuActions ()
> connect(d->actionExport, SIGNAL(triggered(bool) ), SLOT (slotExport
> ()));
> d->actionScan = ac->addAction("file_scan");
> - d->actionScan->setText (i18n ("Scan..."));
> - d->actionScan->setIcon (SmallIcon ("scanner"));
> - connect(d->actionScan, SIGNAL(triggered(bool) ), SLOT (slotScan
> ()));
> + d->actionScan->setText(i18n ("Scan..."));
> + d->actionScan->setIcon(SmallIcon("scanner"));
> + connect(d->actionScan, SIGNAL(triggered(bool)), SLOT(slotScan()));
> +
> + d->actionScreenshot = ac->addAction("file_screenshot");
> + d->actionScreenshot->setText(i18n("Acquire Screenshot"));
> + connect(d->actionScreenshot, SIGNAL(triggered(bool)),
> SLOT(slotScreenshot()));
Hi!
Should not it be better "Acquire Screenshot..." because it shows
configuration dialog?
Thanks in advance.
Yuri
More information about the kde-doc-english
mailing list