mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-01 02:48:05 +01:00
Version 1.9.9.3 release.
This commit is contained in:
parent
0108c91a9e
commit
3e719069ad
BIN
resources/graphics/icons/mini-kfaenza/view-switch.png
Normal file
BIN
resources/graphics/icons/mini-kfaenza/view-switch.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
@ -101,6 +101,8 @@ void FormMain::prepareMenus() {
|
||||
#endif
|
||||
|
||||
// Add needed items to the menu.
|
||||
m_trayMenu->addAction(m_ui->m_actionSwitchMainWindow);
|
||||
m_trayMenu->addSeparator();
|
||||
m_trayMenu->addAction(m_ui->m_actionUpdateAllFeeds);
|
||||
m_trayMenu->addAction(m_ui->m_actionMarkAllFeedsRead);
|
||||
m_trayMenu->addSeparator();
|
||||
@ -221,6 +223,7 @@ void FormMain::setupIcons() {
|
||||
m_ui->m_actionImport->setIcon(icon_theme_factory->fromTheme("document-import"));
|
||||
m_ui->m_actionExport->setIcon(icon_theme_factory->fromTheme("document-export"));
|
||||
m_ui->m_actionFullscreen->setIcon(icon_theme_factory->fromTheme("view-fullscreen"));
|
||||
m_ui->m_actionSwitchMainWindow->setIcon(icon_theme_factory->fromTheme("view-switch"));
|
||||
|
||||
// Web browser.
|
||||
m_ui->m_actionAddBrowser->setIcon(icon_theme_factory->fromTheme("list-add"));
|
||||
@ -306,6 +309,7 @@ void FormMain::createConnections() {
|
||||
|
||||
// Menu "View" connections.
|
||||
connect(m_ui->m_actionFullscreen, SIGNAL(triggered()), this, SLOT(switchFullscreenMode()));
|
||||
connect(m_ui->m_actionSwitchMainWindow, SIGNAL(triggered()), this, SLOT(switchVisibility()));
|
||||
|
||||
// Menu "Tools" connections.
|
||||
connect(m_ui->m_actionSettings, SIGNAL(triggered()), this, SLOT(showSettings()));
|
||||
|
@ -436,6 +436,17 @@
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
</action>
|
||||
<action name="m_actionSwitchMainWindow">
|
||||
<property name="text">
|
||||
<string>Switch visibility of main window</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Hides main window if it is visible and shows it if it is hidden.</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
|
Loading…
Reference in New Issue
Block a user