Tools menu

This pull implements the Tool menu:

http://wstaw.org/m/2014/04/02/tools_menu_1.png

Launchers for "Pacman Log Viewer" and "Repository Editor" are in place and working.

"Repository Editor" was imported by Manu from Qt-AppSet, but never implemented. I started from the same code, fixed and a bit custumized adding more features.

http://wstaw.org/m/2014/04/02/octopi-repoeditor.png

The code resides on main folder, beside notifier and src folders. I followed your layout but if I can suggest a : why not compile and install them from the same .pro file, at the same time, without passing from three qmake/make/make install chains?

What I left to you is the code to launch the octopi-repoeditor binary, who needs root privileges. My code is at the end of mainwindow_transaction.cpp and used the following:

void MainWindow::launchRepoEditor()
{
  m_unixCommand = new UnixCommand(this);
  m_unixCommand->executeCommand(QLatin1String("octopi-repoeditor"));
}

It works, asking for root password. You should add routines so when repoeditor window is closed, octopi runs, automatically, a mirror check.

Maybe, you could change icons selection. I used theme icons. For the main window of repoeditor I choosed octopi_red.png. I dunno if you desire create a custom icon for it.

Finally I added translation files.

Cheers.