mirror of
https://github.com/KDE/krfb
synced 2026-07-03 08:21:18 -07:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
abe5a7edd6 | ||
|
|
ce4b7b4df0 | ||
|
|
4e9677db1c | ||
|
|
33ac6a90a5 | ||
|
|
cacd46317a | ||
|
|
20e6699963 | ||
|
|
4ba2c60d2c |
@@ -107,7 +107,7 @@ enum rfbNewClientAction ConnectionController::handleNewClient()
|
||||
|
||||
if (!allowUninvited && InvitationManager::self()->activeInvitations() == 0) {
|
||||
KNotification::event("ConnectionAttempted",
|
||||
i18n("Refused uninvited connection attempt from %1",
|
||||
i18n("Attepted uninvited connection from %1: connection refused",
|
||||
remoteIp));
|
||||
return RFB_CLIENT_REFUSE;
|
||||
}
|
||||
|
||||
@@ -144,6 +144,8 @@
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<layoutdefault spacing="6" margin="11" />
|
||||
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
||||
@@ -166,6 +166,9 @@
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<layoutdefault spacing="6" margin="11" />
|
||||
<layoutfunction spacing="KDialog::spacingHint" margin="KDialog::marginHint" />
|
||||
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
||||
@@ -495,6 +495,7 @@ Most VNC clients use a display number instead of the actual port. This display n
|
||||
<tabstop>passwordInput</tabstop>
|
||||
<tabstop>portInput</tabstop>
|
||||
</tabstops>
|
||||
<layoutdefaults spacing="6" margin="11"/>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>KIntNumInput</class>
|
||||
|
||||
@@ -72,4 +72,4 @@ GenericName[x-test]=xxDesktop Sharingxx
|
||||
GenericName[zh_CN]=桌面共享
|
||||
GenericName[zh_HK]=桌面分享
|
||||
GenericName[zh_TW]=桌面分享
|
||||
Categories=Qt;KDE;System;Network;RemoteAccess;
|
||||
Categories=Qt;KDE;System;RemoteAccess;Network;
|
||||
|
||||
@@ -292,7 +292,6 @@ Name[km]=បានបិទការតភ្ជាប់
|
||||
Name[ko]=연결이 닫힘
|
||||
Name[lt]=Ryšys baigtas
|
||||
Name[lv]=Savienojums slēgts
|
||||
Name[mai]=संबंधन बन्न भ' गेल
|
||||
Name[ml]=ബന്ധം അടച്ചു
|
||||
Name[nb]=Forbindelsen lukket
|
||||
Name[nds]=Afkoppelt
|
||||
@@ -380,7 +379,7 @@ Name=Invalid Password
|
||||
Name[ar]=كلمة المرور غير صحيحة
|
||||
Name[ca]=Contrasenya no vàlida
|
||||
Name[cs]=Neplatné heslo
|
||||
Name[da]=Ugyldig adgangskode
|
||||
Name[da]=Ugyldigt kodeord
|
||||
Name[de]=Passwort ungültig
|
||||
Name[el]=Μη έγκυρος κωδικός πρόσβασης
|
||||
Name[eo]=Nevalida pasvorto
|
||||
@@ -428,7 +427,7 @@ Comment[br]=Tremenger siek
|
||||
Comment[ca]=Contrasenya no vàlida
|
||||
Comment[cs]=Neplatné heslo
|
||||
Comment[cy]=Cyfrinair annilys
|
||||
Comment[da]=Ugyldig adgangskode
|
||||
Comment[da]=Ugyldigt kodeord
|
||||
Comment[de]=Passwort ungültig
|
||||
Comment[el]=Μη έγκυρος κωδικός πρόσβασης
|
||||
Comment[eo]=Nevalida pasvorto
|
||||
@@ -451,7 +450,6 @@ Comment[km]=ពាក្យសម្ងាត់មិនត្រឹ
|
||||
Comment[ko]=잘못된 암호
|
||||
Comment[lt]=Neteisingas slaptažodis
|
||||
Comment[lv]=Parole nav derīga
|
||||
Comment[mai]=अवैध कूटशब्द
|
||||
Comment[mk]=Невалидна лозинка
|
||||
Comment[ml]=അസാധുവായ അടയാളവാക്ക്
|
||||
Comment[ms]=Kata laluan tidak sah
|
||||
@@ -490,7 +488,7 @@ Name=Invalid Password Invitations
|
||||
Name[ar]=كلمة المرور الدعوات غير صحيحة
|
||||
Name[ca]=Contrasenya de les invitacions no vàlides
|
||||
Name[cs]=Neplatné hesla výzev
|
||||
Name[da]=Ugyldige adgangskodeinvitationer
|
||||
Name[da]=Ugyldige kodeordsinvitationer
|
||||
Name[de]=Ungültiges Einladungs-Passwort
|
||||
Name[el]=Μη έγκυρος κωδικός πρόσβασης πρόσκλησης
|
||||
Name[eo]=Nevalidaj pasvortaj invitoj
|
||||
@@ -537,7 +535,7 @@ Comment[bn]=আমন্ত্রিত দল একটি অবৈধ পা
|
||||
Comment[ca]=La part invitada ha enviat una contrasenya no vàlida. Connexió refusada.
|
||||
Comment[cs]=Pozvaná strana poslala neplatné heslo. Spojení odmítnuto.
|
||||
Comment[cy]=Anfonodd y person gwahodd cyfrinair annilys. Gwrthodwyd y cysylltiad.
|
||||
Comment[da]=Den inviterede part sendte en ugyldig adgangskode. Forbindelse afslået.
|
||||
Comment[da]=Den inviterede part sendte et ugyldigt kodeord. Forbindelse afslået.
|
||||
Comment[de]=Die eingeladene Person hat ein ungültiges Passwort gesendet: Verbindung abgelehnt.
|
||||
Comment[el]=Η πρόσκληση περιέχει μη έγκυρο κωδικό πρόσβασης. Η σύνδεση απορρίφθηκε.
|
||||
Comment[eo]=La invitita kliento sendis nevalidan pasvorton. Konekto rifuzita.
|
||||
|
||||
12
main.cpp
12
main.cpp
@@ -74,18 +74,12 @@ int main(int argc, char *argv[])
|
||||
ki18n("KDesktop background deactivation"));
|
||||
KCmdLineArgs::init(argc, argv, &aboutData);
|
||||
|
||||
KCmdLineOptions options;
|
||||
options.add("nodialog", ki18n("Do not show the invitations management dialog at startup"));
|
||||
KCmdLineArgs::addCmdLineOptions(options);
|
||||
|
||||
KApplication app;
|
||||
app.setQuitOnLastWindowClosed(false);
|
||||
|
||||
|
||||
ManageInvitationsDialog invitationsDialog;
|
||||
if ( KCmdLineArgs::parsedArgs()->isSet("dialog") )
|
||||
invitationsDialog.show();
|
||||
TrayIcon trayicon(&invitationsDialog);
|
||||
ManageInvitationsDialog invitationsDialog;
|
||||
invitationsDialog.show();
|
||||
TrayIcon trayicon(&invitationsDialog);
|
||||
|
||||
KrfbServer *server = KrfbServer::self(); // initialize the server manager
|
||||
if (!server->checkX11Capabilities()) {
|
||||
|
||||
@@ -181,6 +181,7 @@ p, li { white-space: pre-wrap; }
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11" />
|
||||
<tabstops>
|
||||
<tabstop>invitationWidget</tabstop>
|
||||
<tabstop>newPersonalInvitationButton</tabstop>
|
||||
|
||||
@@ -200,6 +200,9 @@ p, li { white-space: pre-wrap; }
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<layoutdefault spacing="6" margin="11" />
|
||||
<layoutfunction spacing="KDialog::spacingHint" margin="KDialog::marginHint" />
|
||||
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
||||
Reference in New Issue
Block a user