Commit d5197acf authored by JanKusanagi's avatar JanKusanagi

Added fallback icon for system-users

parent e1e5978c
......@@ -36,6 +36,7 @@
<file>images/button-next.png</file>
<file>images/button-rotleft.png</file>
<file>images/button-rotright.png</file>
<file>images/button-users.png</file>
<file>images/menu-refresh.png</file>
<file>images/menu-find.png</file>
<file>images/list-add.png</file>
......
......@@ -39,7 +39,7 @@ AudienceSelector::AudienceSelector(PumpController *pumpController,
this->setWindowTitle(titlePart + " - Dianara");
this->setWindowIcon(QIcon::fromTheme("system-users",
QIcon(":/images/no-avatar.png")));
QIcon(":/images/button-users.png")));
this->setWindowFlags(Qt::Dialog);
this->setWindowModality(Qt::WindowModal);
this->setMinimumSize(440, 340);
......
......@@ -175,7 +175,7 @@ ContactManager::ContactManager(PumpController *pumpController,
QString());
m_tabWidget->addTab(m_siteUsersList,
QIcon::fromTheme("system-users",
QIcon(":/images/no-avatar.png")),
QIcon(":/images/button-users.png")),
tr("&Neighbors"));
m_tabWidget->setCornerWidget(m_optionsButton);
......
......@@ -183,12 +183,12 @@ HelpWidget::HelpWidget(QWidget *parent) : QWidget(parent)
helpText.append(tr("It is possible to attach images, audio, video, and "
"general files, like PDF documents, to your post.")
+ "<br>");
helpText.append("<br><center>"
"<img src=:/images/attached-image.png/> "
helpText.append("<center>"
"<img src=:/images/attached-audio.png/> "
"<img src=:/images/attached-image.png/> "
"<img src=:/images/attached-video.png/>"
"</center>"
"<br>");
"<br><br>");
helpText.append(tr("You can use the Format button to add formatting to "
"your text, like bold or italics. Some of these options "
"require text to be selected before they are used.")
......@@ -216,7 +216,7 @@ HelpWidget::HelpWidget(QWidget *parent) : QWidget(parent)
helpText.append("<a id=contacts>"
"<h1><img src=:/images/no-avatar.png/> " // FIXME TMP
"<h1><img src=:/images/button-users.png/> "
+ sectionContacts
+ "</h1></a>");
......
......@@ -422,14 +422,14 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
this->setTimelineTabTitle(PumpController::FavoritesTimelineRequest, 0, 0, 0);
tabWidget->addTab(contactManager,
QIcon::fromTheme("system-users",
QIcon(":/images/no-avatar.png")),
QIcon(":/images/button-users.png")),
tr("&Contacts"));
tabWidget->setTabToolTip(4,
"<b></b>" // HTMLized for wordwrap
+ tr("The people you follow, the ones who "
"follow you, and your person lists"));
connect(tabWidget, SIGNAL(currentChanged(int)),
this, SLOT(setTitleAndTrayInfo(int)));
connect(tabWidget, &QTabWidget::currentChanged,
this, &MainWindow::setTitleAndTrayInfo);
......@@ -1245,7 +1245,7 @@ void MainWindow::createMenus()
helpMenu->addAction(helpVisitPumpTips);
helpVisitPumpUserList = new QAction(QIcon::fromTheme("system-users",
QIcon(":/images/no-avatar.png")),
QIcon(":/images/button-users.png")),
tr("List of Some Pump.io &Users"),
this);
connect(helpVisitPumpUserList, SIGNAL(triggered()),
......
......@@ -101,7 +101,8 @@ PeopleWidget::PeopleWidget(QString buttonText,
{
this->setWindowTitle(tr("Add a contact to a list")
+ " - Dianara");
this->setWindowIcon(QIcon::fromTheme("system-users"));
this->setWindowIcon(QIcon::fromTheme("system-users",
QIcon(":/images/button-users.png")));
this->setWindowFlags(Qt::Dialog);
this->setWindowModality(Qt::WindowModal);
this->setMinimumSize(520, 500);
......
......@@ -180,7 +180,7 @@ Publisher::Publisher(PumpController *pumpController,
// To... menu
m_toSelectorMenu = m_toAudienceSelector->getSelectorMenu();
m_toSelectorButton = new QPushButton(QIcon::fromTheme("system-users",
QIcon(":/images/no-avatar.png")),
QIcon(":/images/button-users.png")),
tr("To..."),
this);
m_toSelectorButton->setToolTip("<b></b>"
......@@ -191,7 +191,7 @@ Publisher::Publisher(PumpController *pumpController,
// Cc... menu
m_ccSelectorMenu = m_ccAudienceSelector->getSelectorMenu();
m_ccSelectorButton = new QPushButton(QIcon::fromTheme("system-users",
QIcon(":/images/no-avatar.png")),
QIcon(":/images/button-users.png")),
tr("Cc..."),
this);
m_ccSelectorButton->setToolTip("<b></b>"
......
......@@ -37,7 +37,7 @@ SiteUsersList::SiteUsersList(PumpController *pumpController,
m_getListButton = new QPushButton(QIcon::fromTheme("system-users",
QIcon(":/images/no-avatar.png")),
QIcon(":/images/button-users.png")),
tr("Get list of users from your server"),
this);
connect(m_getListButton, &QAbstractButton::clicked,
......
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