Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/gui/owncloudgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,9 @@ void ownCloudGui::slotComputeOverallSyncStatus()
_tray->setToolTip(tr("Disconnected from %1").arg(accountNames.join(QLatin1String(", "))));
#else
QStringList messages;
messages.append(tr("Disconnected from accounts:"));
// messages.append(tr("Disconnected from accounts:"));
for (const auto &accountState : std::as_const(problemAccounts)) {
QString message = tr("Account %1: %2").arg(accountState->account()->displayName(), accountState->stateString(accountState->state()));
QString message = tr("Account %1: %2").arg(accountState->account()->prettyName(), accountState->stateString(accountState->state()));
if (!accountState->connectionErrors().empty()) {
message += QLatin1String("\n");
message += accountState->connectionErrors().join(QLatin1String("\n"));
Expand Down
6 changes: 5 additions & 1 deletion src/libsync/theme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,11 @@ QIcon Theme::syncStateIcon(SyncResult::Status status, bool sysTray) const
break;
case SyncResult::SyncPrepare:
case SyncResult::Success:
statusIcon = QLatin1String("state-ok");
if (sysTray) {
statusIcon = QLatin1String("state-tray-ok");
} else {
statusIcon = QLatin1String("state-ok");
}
break;
case SyncResult::Problem:
statusIcon = QLatin1String("state-warning");
Expand Down
3 changes: 3 additions & 0 deletions theme.qrc.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<file alias="theme/colored/state-error-256.png">theme/colored/@[email protected]</file>

<file alias="theme/colored/state-ok.svg">theme/colored/@[email protected]</file>
<file alias="theme/colored/state-tray-ok.svg">theme/colored/state-tray-ok.svg</file>
<file alias="theme/colored/state-ok-16.png">theme/colored/@[email protected]</file>
<file alias="theme/colored/state-ok-32.png">theme/colored/@[email protected]</file>
<file alias="theme/colored/state-ok-64.png">theme/colored/@[email protected]</file>
Expand Down Expand Up @@ -63,6 +64,7 @@
<file alias="theme/white/state-error-256.png">theme/white/@[email protected]</file>

<file alias="theme/white/state-ok.svg">theme/white/@[email protected]</file>
<file alias="theme/white/state-tray-ok.svg">theme/white/state-tray-ok.svg</file>
<file alias="theme/white/state-ok-16.png">theme/white/@[email protected]</file>
<file alias="theme/white/state-ok-32.png">theme/white/@[email protected]</file>
<file alias="theme/white/state-ok-64.png">theme/white/@[email protected]</file>
Expand Down Expand Up @@ -108,6 +110,7 @@
<file alias="theme/black/state-error-256.png">theme/black/@[email protected]</file>

<file alias="theme/black/state-ok.svg">theme/black/@[email protected]</file>
<file alias="theme/black/state-tray-ok.svg">theme/black/state-tray-ok.svg</file>
<file alias="theme/black/state-ok-16.png">theme/black/@[email protected]</file>
<file alias="theme/black/state-ok-32.png">theme/black/@[email protected]</file>
<file alias="theme/black/state-ok-64.png">theme/black/@[email protected]</file>
Expand Down
1 change: 1 addition & 0 deletions theme/black/state-tray-ok.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 21 additions & 1 deletion theme/colored/state-error.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion theme/colored/state-offline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 19 additions & 1 deletion theme/colored/state-ok.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 23 additions & 1 deletion theme/colored/state-pause.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 21 additions & 1 deletion theme/colored/state-sync.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions theme/colored/state-tray-ok.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading