|
|
|
@ -192,8 +192,8 @@ MainWindow::MainWindow(TQWidget * parent, const char * name) :
|
|
|
|
|
|
|
|
|
|
for (uint i = 1; i <= 12; ++i)
|
|
|
|
|
{
|
|
|
|
|
KAction* tab_selection_action = new KAction(i18n("Switch to Session %1").tqarg(i), 0, 0,
|
|
|
|
|
tab_selection_mapper, TQT_SLOT(map()), actionCollection(), TQString("go_to_tab_%1").tqarg(i).local8Bit());
|
|
|
|
|
KAction* tab_selection_action = new KAction(i18n("Switch to Session %1").arg(i), 0, 0,
|
|
|
|
|
tab_selection_mapper, TQT_SLOT(map()), actionCollection(), TQString("go_to_tab_%1").arg(i).local8Bit());
|
|
|
|
|
tab_selection_mapper->setMapping(tab_selection_action, i-1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -220,7 +220,7 @@ MainWindow::MainWindow(TQWidget * parent, const char * name) :
|
|
|
|
|
|
|
|
|
|
// Startup notification popup.
|
|
|
|
|
if (Settings::popup() && !Settings::firstrun())
|
|
|
|
|
showPopup(i18n("Application successfully started!\nPress %1 to use it...").tqarg(global_key->shortcut("AccessKey").toString()));
|
|
|
|
|
showPopup(i18n("Application successfully started!\nPress %1 to use it...").arg(global_key->shortcut("AccessKey").toString()));
|
|
|
|
|
|
|
|
|
|
// First run dialog.
|
|
|
|
|
if (Settings::firstrun())
|
|
|
|
@ -711,7 +711,7 @@ int MainWindow::getMouseScreen()
|
|
|
|
|
|
|
|
|
|
TQRect MainWindow::getDesktopGeometry()
|
|
|
|
|
{
|
|
|
|
|
/* Computes the desktop tqgeometry. */
|
|
|
|
|
/* Computes the desktop geometry. */
|
|
|
|
|
|
|
|
|
|
if (full_screen)
|
|
|
|
|
{
|
|
|
|
@ -822,7 +822,7 @@ void MainWindow::updateScreenMenu()
|
|
|
|
|
screen_menu->insertItem(i18n("At mouse location"), 0);
|
|
|
|
|
screen_menu->insertSeparator();
|
|
|
|
|
for (int i = 1; i <= TQApplication::desktop()->numScreens(); i++)
|
|
|
|
|
screen_menu->insertItem(i18n("Screen %1").tqarg(TQString::number(i)), i);
|
|
|
|
|
screen_menu->insertItem(i18n("Screen %1").arg(TQString::number(i)), i);
|
|
|
|
|
screen_menu->setItemChecked(Settings::screen(), true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|