-
diff --git plasma/CMakeLists.txt plasma/CMakeLists.txt
index 199dbb0..2175e39 100644
|
|
ENDMACRO(installPackage) |
12 | 12 | if(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop") |
13 | 13 | add_subdirectory(desktop) |
14 | 14 | add_subdirectory(netbook) |
15 | | add_subdirectory(screensaver) |
| 15 | if(NOT APPLE) |
| 16 | add_subdirectory(screensaver) |
| 17 | endif(NOT APPLE) |
16 | 18 | endif(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop") |
17 | 19 | |
18 | 20 | add_subdirectory(generic) |
-
diff --git plasma/desktop/CMakeLists.txt plasma/desktop/CMakeLists.txt
index 2de78dd..fb612e8 100644
|
|
|
1 | 1 | add_subdirectory(applets) |
2 | 2 | add_subdirectory(containments) |
3 | 3 | add_subdirectory(runners) |
4 | | add_subdirectory(shell) |
| 4 | #if(NOT APPLE) |
| 5 | add_subdirectory(shell) |
| 6 | #endif(NOT APPLE) |
5 | 7 | add_subdirectory(toolboxes) |
-
diff --git plasma/desktop/applets/CMakeLists.txt plasma/desktop/applets/CMakeLists.txt
index 6f80cec..5202f83 100644
|
|
add_subdirectory(kickoff) |
2 | 2 | add_subdirectory(showActivityManager) |
3 | 3 | add_subdirectory(trash) |
4 | 4 | |
5 | | if(NOT WIN32) |
| 5 | if(NOT WIN32 AND NOT APPLE) |
6 | 6 | #task and windowlist depend on libs/taskmanager |
7 | 7 | add_subdirectory(tasks) |
8 | 8 | add_subdirectory(windowlist) |
9 | 9 | |
10 | 10 | add_subdirectory(pager) |
11 | | endif(NOT WIN32) |
| 11 | endif(NOT WIN32 AND NOT APPLE) |
-
diff --git plasma/desktop/applets/pager/plasma-pager-default.desktop plasma/desktop/applets/pager/plasma-pager-default.desktop
index 96cf864..123361b 100644
|
|
Name[nn]=Skrivebordsbytar |
56 | 56 | Name[oc]=Recebedor d'apèl |
57 | 57 | Name[or]=ପେଜର |
58 | 58 | Name[pa]=ਪੇਜ਼ਰ |
59 | | Name[pl]=Pager |
| 59 | Name[pl]=Podgląd pulpitów |
60 | 60 | Name[pt]=Paginador |
61 | 61 | Name[pt_BR]=Paginador |
62 | 62 | Name[ro]=Paginator |
-
diff --git plasma/desktop/applets/showActivityManager/package/metadata.desktop plasma/desktop/applets/showActivityManager/package/metadata.desktop
index bfd1bad..3f5dd76 100644
|
|
Comment[nb]=Viser aktivitetshåndtereren |
88 | 88 | Comment[nds]=Wiest den Aktivitetenpleger |
89 | 89 | Comment[nl]=Toont de activiteitenbeheerder |
90 | 90 | Comment[pa]=ਸਰਗਰਮੀ ਮੈਨੇਜਰ ਵੇਖਾਉਂਦਾ ਹੈ |
91 | | Comment[pl]=Pokazuje menadżera działań |
| 91 | Comment[pl]=Pokazuje zarządzanie działaniami |
92 | 92 | Comment[pt]=Mostra o gestor de actividades |
93 | 93 | Comment[pt_BR]=Mostra o gerenciador de atividades |
94 | 94 | Comment[ro]=Arată Gestionarul de activități |
-
diff --git plasma/desktop/shell/desktopview.cpp plasma/desktop/shell/desktopview.cpp
index f0f0371..cfce13c 100644
|
|
void DesktopView::toolBoxOpened(bool open) |
314 | 314 | return; |
315 | 315 | } |
316 | 316 | |
317 | | #ifndef Q_WS_WIN |
| 317 | #ifdef Q_WS_X11 |
318 | 318 | NETRootInfo info(QX11Info::display(), NET::Supported); |
319 | 319 | if (!info.isSupported(NET::WM2ShowingDesktop)) { |
320 | 320 | return; |
-
diff --git plasma/desktop/shell/plasmaapp.cpp plasma/desktop/shell/plasmaapp.cpp
index c1294a1..49846fb 100644
|
|
|
31 | 31 | #include <unistd.h> |
32 | 32 | |
33 | 33 | #ifndef _SC_PHYS_PAGES |
34 | | #ifdef Q_OS_FREEBSD |
| 34 | #if defined(Q_OS_FREEBSD) || defined(Q_OS_MAC) |
35 | 35 | #include <sys/types.h> |
36 | 36 | #include <sys/sysctl.h> |
37 | 37 | #endif |
… |
… |
PlasmaApp::PlasmaApp() |
216 | 216 | int memorySize = sysconf(_SC_PHYS_PAGES); |
217 | 217 | memorySize *= sysconf(_SC_PAGESIZE) / 1024; |
218 | 218 | #else |
219 | | #ifdef Q_OS_FREEBSD |
| 219 | #if defined(Q_OS_FREEBSD) || defined(Q_OS_MAC) |
220 | 220 | int sysctlbuf[2]; |
221 | 221 | size_t size = sizeof(sysctlbuf); |
222 | 222 | int memorySize; |
-
diff --git plasma/generic/CMakeLists.txt plasma/generic/CMakeLists.txt
index cfaf14f..294faaf 100644
|
|
add_subdirectory(dataengines) |
11 | 11 | add_subdirectory(runners) |
12 | 12 | add_subdirectory(scriptengines) |
13 | 13 | add_subdirectory(shells) |
14 | | add_subdirectory(wallpapers) |
| 14 | if(NOT APPLE) |
| 15 | add_subdirectory(wallpapers) |
| 16 | endif(NOT APPLE) |
15 | 17 | |
-
diff --git plasma/generic/applets/CMakeLists.txt plasma/generic/applets/CMakeLists.txt
index 2b888ee..0e1131d 100644
|
|
if(QT_QTWEBKIT_FOUND) |
16 | 16 | add_subdirectory(webbrowser) |
17 | 17 | endif(QT_QTWEBKIT_FOUND) |
18 | 18 | |
19 | | if(NOT WIN32) |
| 19 | if(NOT WIN32 AND NOT APPLE) |
20 | 20 | add_subdirectory(system-monitor) |
21 | 21 | #notifications |
22 | 22 | #should compile also on windows? (even if doesn't really make sense) |
… |
… |
if(NOT WIN32) |
24 | 24 | if(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop") |
25 | 25 | add_subdirectory(systemtray) |
26 | 26 | endif(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop") |
27 | | endif(NOT WIN32) |
| 27 | endif(NOT WIN32 AND NOT APPLE) |
-
diff --git plasma/generic/applets/batterymonitor/metadata.desktop plasma/generic/applets/batterymonitor/metadata.desktop
index e0d2486..5ee08b4 100644
|
|
Comment[zh_CN]=查看电池电源的状态 |
159 | 159 | Comment[zh_TW]=查看您的電池的電力狀態 |
160 | 160 | Encoding=UTF-8 |
161 | 161 | Keywords=Power Management;Battery;System;Energy; |
162 | | Keywords[bs]=Upravljanje napajenjem, Baterija, Sistem, Energija |
| 162 | Keywords[bs]=Upravljanje napajenjem;Baterija;Sistem;Energija; |
163 | 163 | Keywords[ca]=Sistema de gestió d'energia;Bateria;Sistema;Energia; |
164 | 164 | Keywords[ca@valencia]=Sistema de gestió d'energia;Bateria;Sistema;Energia; |
165 | 165 | Keywords[cs]=Správa napájení;Baterie;Systém;Energie; |
… |
… |
Keywords[pl]=Zarządzanie Energią;Bateria;System;Energia |
188 | 188 | Keywords[pt]=Gestão de Energia;Bateria;Sistema;Energia; |
189 | 189 | Keywords[pt_BR]=Gerenciamento de energia;Bateria;Sistema;Energia; |
190 | 190 | Keywords[ro]=gestiunea alimentării;acumulator;sistem;energie; |
191 | | Keywords[ru]=Power Management;Battery;System;Energy;управление питанием;батарея;система;энергия;энергопотребление |
| 191 | Keywords[ru]=Power Management;Battery;System;Energy;управление питанием;батарея;система;энергия;энергопотребление; |
192 | 192 | Keywords[sk]=Správa napájania;Batéria;Systém;Energia; |
193 | 193 | Keywords[sl]=upravljanje z energijo;baterija;sistem;energija; |
194 | | Keywords[sr]=Power Management;Battery;System;Energy;управљање напајањем;батерија; систем;енергија |
195 | | Keywords[sr@ijekavian]=Power Management;Battery;System;Energy;управљање напајањем;батерија; систем;енергија |
196 | | Keywords[sr@ijekavianlatin]=Power Management;Battery;System;Energy;upravljanje napajanjem;baterija; sistem;energija |
197 | | Keywords[sr@latin]=Power Management;Battery;System;Energy;upravljanje napajanjem;baterija; sistem;energija |
| 194 | Keywords[sr]=Power Management;Battery;System;Energy;управљање напајањем;батерија; систем;енергија; |
| 195 | Keywords[sr@ijekavian]=Power Management;Battery;System;Energy;управљање напајањем;батерија; систем;енергија; |
| 196 | Keywords[sr@ijekavianlatin]=Power Management;Battery;System;Energy;upravljanje napajanjem;baterija; sistem;energija; |
| 197 | Keywords[sr@latin]=Power Management;Battery;System;Energy;upravljanje napajanjem;baterija; sistem;energija; |
198 | 198 | Keywords[sv]=Strömhantering;Batteri;System;Energi; |
199 | 199 | Keywords[tr]=Güç Yönetimi;Pil;Sistem;Enerji; |
200 | 200 | Keywords[uk]=Power Management;Battery;System;Energy;керування живленням;акумулятор;система;енергія;батарея;батарейка;живлення; |
201 | | Keywords[x-test]=xxPower Management;Battery;System;Energy;xx |
| 201 | Keywords[x-test]=xxPower Managementxx;xxBatteryxx;xxSystemxx;xxEnergyxx; |
202 | 202 | Keywords[zh_CN]=Power Management;Battery;System;Energy;电源管理;电池;系统;能源; |
203 | 203 | Keywords[zh_TW]=Power Management;Battery;System;Energy; |
204 | 204 | |
-
diff --git plasma/generic/applets/lock_logout/metadata.desktop plasma/generic/applets/lock_logout/metadata.desktop
index b07df34..df225d6 100644
|
|
Comment[zh_CN]=锁定屏幕或注销 |
159 | 159 | Comment[zh_TW]=鎖定螢幕或登出 |
160 | 160 | Encoding=UTF-8 |
161 | 161 | Keywords=Lock;Logout;Sleep;Hibernate;Switch User; |
162 | | Keywords[bs]=Zaključavanje, Odjava, Spavanje, Hibernacija, Promijena korisnika |
| 162 | Keywords[bs]=Zaključavanje;Odjava;Spavanje;Hibernacija;Promjena korisnika; |
163 | 163 | Keywords[ca]=Bloqueig;Sortida;Suspensió;Hibernació;Canvi d'usuari; |
164 | 164 | Keywords[ca@valencia]=Bloqueig;Eixida;Suspensió;Hibernació;Canvi d'usuari; |
165 | | Keywords[da]=Lås;Log ud;Slumre;Dvale;Suspend;Skift bruger;suspender |
| 165 | Keywords[da]=Lås;Log ud;Slumre;Dvale;Suspend;Skift bruger;suspender; |
166 | 166 | Keywords[de]=Sperren;Abmelden;Ruhezustand;Tiefschlaf;Benutzer wechseln; |
167 | 167 | Keywords[el]=Κλείδωμα·έξοδος·ύπνωση·νάρκη·εναλλαγήχρήστη· |
168 | 168 | Keywords[en_GB]=Lock;Logout;Sleep;Hibernate;Switch User; |
… |
… |
Keywords[ko]=Lock;Logout;Sleep;Hibernate;Switch User;잠금;로그아웃;대기; |
180 | 180 | Keywords[mr]=कुलूप; बाहेर पडा; झोप; हायबरनेट; वापरकर्ता बदला; |
181 | 181 | Keywords[nb]=Lås; Logg ut; Hvile; Dvale; Bytt bruker; |
182 | 182 | Keywords[nds]=Slott,afsluten,afmellen,slapen,infreren,Bruker wesseln;Brukerwessel |
183 | | Keywords[nl]=Vergrendelen;Afmelden;Slapen;Slaapstand naar schijf;Gebruiker wisselen |
| 183 | Keywords[nl]=Vergrendelen;Afmelden;Slapen;Slaapstand naar schijf;Gebruiker wisselen; |
184 | 184 | Keywords[pa]=ਲਾਕ;ਲਾਗਆਉਟ;ਸਲੀਪ;ਹਾਈਬਰਨੇਟ;ਯੂਜ਼ਰ ਬਦਲੋ; |
185 | 185 | Keywords[pl]=Zablokuj;Wyloguj;Uśpij;Hibernuj;Przełącz użytkownika; |
186 | 186 | Keywords[pt]=Bloquear;Encerrar;Suspender;Hibernar;Mudar de Utilizador; |
… |
… |
Keywords[ro]=blochează;ieși;adormire;dormi;hibernare;schimbă utilizatorul;com |
189 | 189 | Keywords[ru]=Lock;Logout;Sleep;Hibernate;Switch User;блокировать;блокировка;выход;выход из системы;спящий режим;сон;режим гибернации;гибернация;сменить пользователя;смена пользователя; |
190 | 190 | Keywords[sk]=Zamknúť;Odhlásiť;Uspať;Hibernovať;Prepnúť používateľa; |
191 | 191 | Keywords[sl]=zaklep;odjava;pripravljenost;mirovanje;zamenjava uporabnika; |
192 | | Keywords[sr]=Lock;Logout;Sleep;Hibernate;Switch User;закључавање;одјављивање;спавање;хибернација;пребацивање |
193 | | Keywords[sr@ijekavian]=Lock;Logout;Sleep;Hibernate;Switch User;закључавање;одјављивање;спавање;хибернација;пребацивање |
194 | | Keywords[sr@ijekavianlatin]=Lock;Logout;Sleep;Hibernate;Switch User;zaključavanje;odjavljivanje;spavanje;hibernacija;prebacivanje |
195 | | Keywords[sr@latin]=Lock;Logout;Sleep;Hibernate;Switch User;zaključavanje;odjavljivanje;spavanje;hibernacija;prebacivanje |
| 192 | Keywords[sr]=Lock;Logout;Sleep;Hibernate;Switch User;закључавање;одјављивање;спавање;хибернација;пребацивање; |
| 193 | Keywords[sr@ijekavian]=Lock;Logout;Sleep;Hibernate;Switch User;закључавање;одјављивање;спавање;хибернација;пребацивање; |
| 194 | Keywords[sr@ijekavianlatin]=Lock;Logout;Sleep;Hibernate;Switch User;zaključavanje;odjavljivanje;spavanje;hibernacija;prebacivanje; |
| 195 | Keywords[sr@latin]=Lock;Logout;Sleep;Hibernate;Switch User;zaključavanje;odjavljivanje;spavanje;hibernacija;prebacivanje; |
196 | 196 | Keywords[sv]=Lås;Utloggning;Viloläge;Dvala;Byt användare; |
197 | 197 | Keywords[tr]=Kilitle;Oturumu Kapat;Uyku;Askıya Al;Kullanıcı Değiştir; |
198 | | Keywords[uk]=Lock;Logout;Sleep;Hibernate;Switch User;блокування;вихід;присипляння;сон;перемикання;користувач |
199 | | Keywords[x-test]=xxLock;Logout;Sleep;Hibernate;Switch User;xx |
| 198 | Keywords[uk]=Lock;Logout;Sleep;Hibernate;Switch User;блокування;вихід;присипляння;сон;перемикання;користувач; |
| 199 | Keywords[x-test]=xxLockxx;xxLogoutxx;xxSleepxx;xxHibernatexx;xxSwitch Userxx; |
200 | 200 | Keywords[zh_CN]=Lock;Logout;Sleep;Hibernate;Switch User;锁定;注销;待机;休眠;切换用户; |
201 | 201 | Keywords[zh_TW]=Lock;Logout;Sleep;Hibernate;Switch User; |
202 | 202 | |
-
diff --git plasma/generic/applets/webbrowser/plasma-applet-webbrowser.desktop plasma/generic/applets/webbrowser/plasma-applet-webbrowser.desktop
index 5d83d24..fd40a83 100644
|
|
Name[br]=Furcher an Internet |
13 | 13 | Name[bs]=veb pregledač |
14 | 14 | Name[ca]=Navegació Web |
15 | 15 | Name[ca@valencia]=Navegació Web |
16 | | Name[cs]=Prohlížeč Webu |
17 | 16 | Name[csb]=Przezérnik WWW |
18 | 17 | Name[cy]=Porydd Gwê |
19 | 18 | Name[da]=Browser |
… |
… |
Name[et]=Veebibrauser |
26 | 25 | Name[eu]=Web-arakatzailea |
27 | 26 | Name[fa]=مرورگر وب |
28 | 27 | Name[fi]=Verkkoselain |
29 | | Name[fr]=Navigateur Web |
30 | 28 | Name[fy]=Webblêder |
31 | 29 | Name[ga]=Brabhsálaí Gréasáin |
32 | 30 | Name[gl]=Navegador web |
… |
… |
Name[ia]=Navigator Web |
41 | 39 | Name[id]=Peramban Web |
42 | 40 | Name[is]=Vafri |
43 | 41 | Name[it]=Browser Web |
44 | | Name[ja]=ウェブブラウザ |
45 | 42 | Name[ka]=ვებ ბრაუზერი |
46 | 43 | Name[kk]=Веб шолғышы |
47 | 44 | Name[km]=កម្មវិធីរុករកបណ្ដាញ |
48 | 45 | Name[kn]=ಚಾಲ ವೀಕ್ಷಕ |
49 | | Name[ko]=웹 브라우저 |
50 | 46 | Name[ku]=Geroka Torê |
51 | 47 | Name[lt]=Žiniatinklio naršyklė |
52 | 48 | Name[lv]=Tīmekļa pārlūks |
… |
… |
Comment[bn_IN]=একটি সাধারণ ওয়েব ব্রাউজ |
102 | 98 | Comment[bs]=Jednostavan veb pregledač |
103 | 99 | Comment[ca]=Un navegador web senzill |
104 | 100 | Comment[ca@valencia]=Un navegador web senzill |
105 | | Comment[cs]=Jednoduchý webový prohlížeč |
106 | 101 | Comment[csb]=Prosti przezérnik WWW |
107 | 102 | Comment[da]=En simpel webbrowser |
108 | 103 | Comment[de]=Einfacher Webbrowser |
… |
… |
Comment[es]=Navegador sencillo |
113 | 108 | Comment[et]=Lihtne veebibrauser |
114 | 109 | Comment[eu]=Web-arakatzaile soila |
115 | 110 | Comment[fi]=Yksinkertainen selain |
116 | | Comment[fr]=Un navigateur Web simple |
117 | 111 | Comment[fy]=In ienfâldige webblêder |
118 | 112 | Comment[ga]=Brabhsálaí simplí |
119 | 113 | Comment[gl]=Un navegador web simples |
… |
… |
Comment[ia]=Un simple navigator web |
128 | 122 | Comment[id]=Peramban web sederhana |
129 | 123 | Comment[is]=Einfaldur vafri |
130 | 124 | Comment[it]=Un semplice browser Web |
131 | | Comment[ja]=シンプルなウェブブラウザ |
132 | 125 | Comment[kk]=Қарапайым веб шолғышы |
133 | 126 | Comment[km]=កម្មវិធីរុករកបណ្ដាញធម្មតា |
134 | 127 | Comment[kn]=ಒಂದು ಸರಳ ಜಾಲ ವೀಕ್ಷಕ |
135 | | Comment[ko]=간단한 웹 브라우저 |
136 | 128 | Comment[ku]=Geroka torê yê hêsan |
137 | 129 | Comment[lt]=Paprasta žiniatinklio naršyklė |
138 | 130 | Comment[lv]=Vienkāršs tīmekļa pārlūks |
139 | 131 | Comment[mk]=Едноставен веб-прелистувач |
140 | 132 | Comment[ml]=ലളിതമായ വെബ് ബ്രൌസര് |
141 | 133 | Comment[mr]=सोपा वेब ब्राऊजर |
142 | | Comment[nb]=Enkel nettleser |
143 | 134 | Comment[nds]=En eenfach Nettkieker |
144 | 135 | Comment[nl]=Eenvoudige webbrowser |
145 | 136 | Comment[nn]=Enkel nettlesar |
-
diff --git plasma/generic/dataengines/CMakeLists.txt plasma/generic/dataengines/CMakeLists.txt
index d240683..35a7a10 100644
|
|
if(Boost_FOUND AND KdepimLibs_FOUND) |
34 | 34 | add_subdirectory(rss) |
35 | 35 | endif(Boost_FOUND AND KdepimLibs_FOUND) |
36 | 36 | |
37 | | if(NOT WIN32) |
| 37 | if(NOT WIN32 AND NOT APPLE) |
38 | 38 | add_subdirectory(mouse) |
39 | 39 | add_subdirectory(systemmonitor) |
40 | 40 | if(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop") |
41 | 41 | add_subdirectory(tasks) |
42 | 42 | endif(${KDE_PLATFORM_PROFILE} STREQUAL "Desktop") |
43 | | endif(NOT WIN32) |
| 43 | endif(NOT WIN32 AND NOT APPLE) |
44 | 44 | |
-
diff --git plasma/generic/dataengines/filebrowser/plasma-dataengine-filebrowser.desktop plasma/generic/dataengines/filebrowser/plasma-dataengine-filebrowser.desktop
index 04ea347..b8f252a 100644
|
|
Comment[eo]=Informoj pri dosieroj kaj dosierujoj |
93 | 93 | Comment[es]=Información sobre los archivos y directorios. |
94 | 94 | Comment[et]=Teave failide ja kataloogide kohta. |
95 | 95 | Comment[eu]=Fitxategi eta direktorioei buruzko informazioa |
96 | | Comment[fi]=Tietoja tiedostosta ja hakemistoista. |
| 96 | Comment[fi]=Tietoa tiedostosta ja hakemistoista. |
97 | 97 | Comment[fr]=Informations sur les fichiers et les dossiers. |
98 | 98 | Comment[fy]=Ynformaasje oer triemmen en triemtafels. |
99 | 99 | Comment[ga]=Eolas faoi chomhaid agus faoi chomhadlanna. |
-
diff --git plasma/generic/dataengines/powermanagement/plasma-dataengine-powermanagement.desktop plasma/generic/dataengines/powermanagement/plasma-dataengine-powermanagement.desktop
index 0e979a9..162dc2a 100644
|
|
Comment[ja]=バッテリ、商用電源、スリープ、PowerDevil の情報。 |
100 | 100 | Comment[kk]=Батарея, тоқ, ұйықтау күйі және PowerDevil мәліметі. |
101 | 101 | Comment[km]=ព័ត៌មាន ថ្ម AC ដេក និង PowerDevil ។ |
102 | 102 | Comment[kn]=ವಿದ್ಯುತ್ಕೋಶ, AC, ಜಡ ಹಾಗು PowerDevil ಮಾಹಿತಿ. |
103 | | Comment[ko]=배터리, AC, 절전 모드 및 PowerDevil 정보입니다. |
| 103 | Comment[ko]=배터리; AC; 절전 모드 및 PowerDevil 정보입니다. |
104 | 104 | Comment[lt]=Akumuliatoriaus, AC, miego ir PowerDevil informacija. |
105 | 105 | Comment[lv]=Baterija, barošana, gulēšanas un PowerDevil informācija. |
106 | 106 | Comment[ml]=ബാറ്ററി, എസി, നിദ്ര പിന്നെ പവര്ഡെവിള് എന്നീ വിവരങ്ങള്. |
-
diff --git plasma/generic/runners/CMakeLists.txt plasma/generic/runners/CMakeLists.txt
index 6831ac0..963fe59 100644
|
|
if(NepomukCore_FOUND) |
14 | 14 | add_subdirectory(nepomuksearch) |
15 | 15 | endif(NepomukCore_FOUND) |
16 | 16 | |
17 | | if(NOT WIN32) |
| 17 | if(NOT WIN32 AND NOT APPLE) |
18 | 18 | add_subdirectory(powerdevil) |
19 | 19 | add_subdirectory(sessions) |
20 | 20 | add_subdirectory(windows) |
21 | 21 | add_subdirectory(kill) |
22 | | endif(NOT WIN32) |
| 22 | endif(NOT WIN32 AND NOT APPLE) |
23 | 23 | |
-
diff --git plasma/generic/runners/kill/plasma-runner-kill_config.desktop plasma/generic/runners/kill/plasma-runner-kill_config.desktop
index b78523a..9d65503 100644
|
|
Name[ru]=Завершение приложений |
61 | 61 | Name[si]=KDE යෙදුම් |
62 | 62 | Name[sk]=Zabiť aplikácie |
63 | 63 | Name[sl]=Uniči programe |
64 | | Name[sr]=Обустављање програма |
65 | | Name[sr@ijekavian]=Обустављање програма |
66 | | Name[sr@ijekavianlatin]=Obustavljanje programa |
67 | | Name[sr@latin]=Obustavljanje programa |
| 64 | Name[sr]=обустављање програма |
| 65 | Name[sr@ijekavian]=обустављање програма |
| 66 | Name[sr@ijekavianlatin]=obustavljanje programa |
| 67 | Name[sr@latin]=obustavljanje programa |
68 | 68 | Name[sv]=Döda program |
69 | 69 | Name[tg]=Барномаҳои KDE |
70 | 70 | Name[th]=ฆ่าโพรเซสของโปรแกรม |
-
diff --git plasma/generic/runners/locations/plasma-runner-locations.desktop plasma/generic/runners/locations/plasma-runner-locations.desktop
index 88afd22..ae68a6a 100644
|
|
Name[es]=Ubicaciones |
20 | 20 | Name[et]=Asukohad |
21 | 21 | Name[eu]=Kokalekuak |
22 | 22 | Name[fi]=Sijainnit |
23 | | Name[fr]=Emplacements |
24 | 23 | Name[fy]=Lokaasjes |
25 | 24 | Name[ga]=Áiteanna |
26 | 25 | Name[gl]=Lugares |
… |
… |
Name[ia]=Locationes |
34 | 33 | Name[id]=Lokasi |
35 | 34 | Name[is]=Staðsetningar |
36 | 35 | Name[it]=Posizioni |
37 | | Name[ja]=場所 |
38 | 36 | Name[kk]=Адрестер |
39 | 37 | Name[km]=ទីតាំង |
40 | 38 | Name[kn]=ಸ್ಥಳಗಳು |
… |
… |
Name[lv]=Vietas |
45 | 43 | Name[mk]=Локации |
46 | 44 | Name[ml]=സ്ഥാനങ്ങള് |
47 | 45 | Name[mr]=स्थान |
48 | | Name[nb]=Steder |
49 | 46 | Name[nds]=Steden |
50 | 47 | Name[nl]=Locaties |
51 | 48 | Name[nn]=Adresser |
… |
… |
Name[ru]=Расположения |
59 | 56 | Name[si]=පිහිටුම |
60 | 57 | Name[sk]=Miesta |
61 | 58 | Name[sl]=Mesta |
62 | | Name[sr]=локације |
63 | | Name[sr@ijekavian]=локације |
64 | | Name[sr@ijekavianlatin]=lokacije |
65 | | Name[sr@latin]=lokacije |
| 59 | Name[sr]=Локације |
| 60 | Name[sr@ijekavian]=Локације |
| 61 | Name[sr@ijekavianlatin]=Lokacije |
| 62 | Name[sr@latin]=Lokacije |
66 | 63 | Name[sv]=Platser |
67 | 64 | Name[ta]=Locations |
68 | 65 | Name[te]=స్థానములు |
-
diff --git plasma/generic/runners/services/plasma-runner-services.desktop plasma/generic/runners/services/plasma-runner-services.desktop
index 4bdd62d..e7dce9d 100644
|
|
Comment[ja]=アプリケーション、コントロールパネル、サービ |
127 | 127 | Comment[kk]=Қолданбаларды табу, панельдер мен қызметтерді басқару |
128 | 128 | Comment[km]=រកកម្មវិធី បន្ទះត្រួតពិនិត្យ និងសេវា |
129 | 129 | Comment[kn]=ಅನ್ವಯಗಳು, ನಿಯಂತ್ರಣಾ ಪುಟೀಪುಗಳು (ಕಂಟ್ರೋಲ್ ಪಾನಲ್ಸ್) ಹಾಗೂ ಸೇವೆಗಳನ್ನು ಹುಡುಕು |
130 | | Comment[ko]=프로그램, 제어판, 서비스 찾기 |
| 130 | Comment[ko]=프로그램; 제어판; 서비스 찾기 |
131 | 131 | Comment[ku]=Sepanan, panelên kontrolê û servîsan bibîne |
132 | 132 | Comment[lt]=Rasti programas, valdymo pultus ir tarnybas |
133 | 133 | Comment[lv]=Meklēt lietotnes, kontroles paneļus un servisus |
-
diff --git plasma/generic/runners/webshortcuts/plasma-runner-webshortcuts.desktop plasma/generic/runners/webshortcuts/plasma-runner-webshortcuts.desktop
index 5e92780..89db96c 100644
|
|
Comment[ca]=Permet que l'usuari utilitzi les dreceres web del Konqueror |
76 | 76 | Comment[ca@valencia]=Permet que l'usuari utilitze les dreceres web del Konqueror |
77 | 77 | Comment[cs]=Umožňuje používat webové zkratky Konqueroru |
78 | 78 | Comment[da]=Lader brugeren anvende Konquerors webgenveje |
79 | | Comment[de]=rmöglicht die Verwendung von Web-Kürzeln in Konqueror |
| 79 | Comment[de]=Ermöglicht die Verwendung von Web-Kürzeln in Konqueror |
80 | 80 | Comment[el]=Επιτρέπει τη χρήση συντομεύσεων ιστού του Konqueror |
81 | 81 | Comment[en_GB]=Allows user to use Konqueror's web shortcuts |
82 | 82 | Comment[es]=Permite al usuario usar accesos rápidos web de Konqueror |
-
diff --git plasma/generic/shells/plasma-windowed/CMakeLists.txt plasma/generic/shells/plasma-windowed/CMakeLists.txt
index 86b7770..74b9641 100644
|
|
set(plasma-windowed_SRCS |
10 | 10 | |
11 | 11 | |
12 | 12 | kde4_add_kdeinit_executable(plasma-windowed ${plasma-windowed_SRCS}) |
| 13 | if (Q_WS_MAC) |
| 14 | set_target_properties(plasma-windowed PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.template) |
| 15 | set_target_properties(plasma-windowed PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER "org.kde.plasma.windowed") |
| 16 | set_target_properties(plasma-windowed PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Runs KDE Plasma widget (Plasmoid) in a window") |
| 17 | endif (Q_WS_MAC) |
13 | 18 | |
14 | 19 | target_link_libraries(kdeinit_plasma-windowed ${KDE4_PLASMA_LIBS} kworkspace ${KDE4_KIO_LIBS} ${X11_LIBRARIES} ${KDE4_KFILE_LIBS} ) |
15 | 20 | |
-
diff --git plasma/generic/shells/plasma-windowed/plasmaapp.cpp plasma/generic/shells/plasma-windowed/plasmaapp.cpp
index dbdff47..5702001 100644
|
|
int PlasmaApp::newInstance() |
144 | 144 | SingleView *view = new SingleView(m_corona, containment, pluginName, appletId, appletArgs); |
145 | 145 | |
146 | 146 | if (!view->applet()) { |
| 147 | #ifdef Q_OS_MAC |
| 148 | view->deleteLater(); |
| 149 | #else |
147 | 150 | delete view; |
| 151 | #endif |
148 | 152 | return 0; |
149 | 153 | } |
150 | 154 | |
… |
… |
int PlasmaApp::newInstance() |
180 | 184 | return 0; |
181 | 185 | } |
182 | 186 | |
| 187 | #ifdef Q_OS_MAC |
| 188 | template <typename ForwardIterator> |
| 189 | Q_OUTOFLINE_TEMPLATE void qDeleteLaterAll(ForwardIterator begin, ForwardIterator end) |
| 190 | { |
| 191 | while (begin != end) { |
| 192 | (*begin)->deleteLater(); |
| 193 | ++begin; |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | template <typename Container> |
| 198 | inline void qDeleteLaterAll(const Container &c) |
| 199 | { |
| 200 | qDeleteLaterAll(c.begin(), c.end()); |
| 201 | } |
| 202 | #endif |
183 | 203 | |
184 | 204 | void PlasmaApp::cleanup() |
185 | 205 | { |
… |
… |
void PlasmaApp::cleanup() |
187 | 207 | m_corona->saveLayout(); |
188 | 208 | } |
189 | 209 | |
| 210 | #ifdef Q_OS_MAC |
| 211 | qDeleteLaterAll(m_viewForPlugin); |
| 212 | m_corona->deleteLater(); |
| 213 | #else |
190 | 214 | qDeleteAll(m_viewForPlugin); |
191 | 215 | |
192 | 216 | delete m_corona; |
| 217 | #endif |
193 | 218 | m_corona = 0; |
194 | 219 | |
195 | 220 | //TODO: This manual sync() should not be necessary? |
… |
… |
void PlasmaApp::storeApplet(Plasma::Applet *applet) |
236 | 261 | KConfigGroup cg(applet->containment()->config()); |
237 | 262 | cg = KConfigGroup(&cg, "Applets"); |
238 | 263 | cg = KConfigGroup(&cg, QString::number(applet->id())); |
| 264 | #ifdef Q_OS_MAC |
| 265 | applet->deleteLater(); |
| 266 | #else |
239 | 267 | delete applet; |
| 268 | #endif |
240 | 269 | // kDebug() << "storing" << applet->name() << applet->id() << "to" << storage.name() << ", applet config is" << cg.name(); |
241 | 270 | cg.reparent(&storage); |
242 | 271 | } |
-
diff --git plasma/netbook/containments/CMakeLists.txt plasma/netbook/containments/CMakeLists.txt
index c96a688..de6fe3b 100644
|
|
|
1 | 1 | add_subdirectory(netpanel) |
2 | | if(NOT WIN32) |
| 2 | if(NOT WIN32 AND NOT APPLE) |
3 | 3 | add_subdirectory(sal) |
4 | | endif(NOT WIN32) |
| 4 | endif(NOT WIN32 AND NOT APPLE) |
-
diff --git plasma/netbook/containments/sal/services/plasma-sal-utility.desktop plasma/netbook/containments/sal/services/plasma-sal-utility.desktop
index 9bcfa5e..b8c455f 100644
|
|
Comment[bg]=Разни инструменти |
98 | 98 | Comment[bs]=Manje priručne alatke |
99 | 99 | Comment[ca]=Petites utilitats i accessoris |
100 | 100 | Comment[ca@valencia]=Petites utilitats i accessoris |
101 | | Comment[cs]=Malé utility a příslušenství |
| 101 | Comment[cs]=Malé nástroje a příslušenství |
102 | 102 | Comment[csb]=Môłé nôrzãdza ë pòmòcné aplikacëje |
103 | 103 | Comment[da]=Små værktøjer og tilbehør |
104 | 104 | Comment[de]=Kleine Werkzeuge und Zubehörprogramme |
-
diff --git plasma/netbook/shell/CMakeLists.txt plasma/netbook/shell/CMakeLists.txt
index e2a83fd..34a7aa6 100644
|
|
qt4_add_dbus_interface(plasma-netbook_SRCS ${ksmserver_xml} ksmserver_interface) |
19 | 19 | |
20 | 20 | kde4_add_kdeinit_executable(plasma-netbook ${plasma-netbook_SRCS}) |
21 | 21 | |
22 | | target_link_libraries(kdeinit_plasma-netbook ${KDE4_PLASMA_LIBS} kworkspace ${KDE4_KIO_LIBS} ${X11_LIBRARIES} ${KDE4_KFILE_LIBS} kephal plasmagenericshell ${QT_QTOPENGL_LIBRARY} ${QT_QTSCRIPT_LIBRARY}) |
23 | | if(X11_Xrender_FOUND) |
24 | | target_link_libraries(kdeinit_plasma-netbook ${X11_Xrender_LIB}) |
25 | | endif(X11_Xrender_FOUND) |
| 22 | if(APPLE) |
| 23 | target_link_libraries(kdeinit_plasma-netbook ${KDE4_PLASMA_LIBS} kworkspace ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS} kephal plasmagenericshell ${QT_QTOPENGL_LIBRARY} ${QT_QTSCRIPT_LIBRARY}) |
| 24 | else() |
| 25 | target_link_libraries(kdeinit_plasma-netbook ${KDE4_PLASMA_LIBS} kworkspace ${KDE4_KIO_LIBS} ${X11_LIBRARIES} ${KDE4_KFILE_LIBS} kephal plasmagenericshell ${QT_QTOPENGL_LIBRARY} ${QT_QTSCRIPT_LIBRARY}) |
| 26 | if(X11_Xrender_FOUND) |
| 27 | target_link_libraries(kdeinit_plasma-netbook ${X11_Xrender_LIB}) |
| 28 | endif(X11_Xrender_FOUND) |
| 29 | endif(APPLE) |
26 | 30 | |
27 | 31 | install(TARGETS kdeinit_plasma-netbook DESTINATION ${LIB_INSTALL_DIR}) |
28 | 32 | install(TARGETS plasma-netbook ${INSTALL_TARGETS_DEFAULT_ARGS}) |
-
diff --git plasma/netbook/shell/plasmaapp.cpp plasma/netbook/shell/plasmaapp.cpp
index c364238..f19329e 100644
|
|
bool PlasmaApp::eventFilter(QObject * watched, QEvent *event) |
1027 | 1027 | return false; |
1028 | 1028 | } |
1029 | 1029 | |
| 1030 | #ifdef Q_WS_X11 |
1030 | 1031 | bool PlasmaApp::x11EventFilter(XEvent *event) |
1031 | 1032 | { |
1032 | 1033 | |
… |
… |
bool PlasmaApp::x11EventFilter(XEvent *event) |
1061 | 1062 | |
1062 | 1063 | return KUniqueApplication::x11EventFilter(event); |
1063 | 1064 | } |
| 1065 | #else |
| 1066 | bool PlasmaApp::x11EventFilter(void *event) |
| 1067 | { |
| 1068 | Q_UNUSED(event); |
| 1069 | return false; |
| 1070 | } |
| 1071 | #endif |
1064 | 1072 | |
1065 | 1073 | bool PlasmaApp::hasForegroundWindows() const |
1066 | 1074 | { |
… |
… |
void PlasmaApp::controlBarVisibilityUpdate() |
1113 | 1121 | //would be nice to avoid this |
1114 | 1122 | QPoint cursorPos = QCursor::pos(); |
1115 | 1123 | |
1116 | | if (m_triggerZone.adjusted(-1, -1, 1, 1).contains(cursorPos) || hasForegroundWindows()) { |
| 1124 | if ( |
| 1125 | #ifdef Q_WS_X11 |
| 1126 | m_triggerZone.adjusted(-1, -1, 1, 1).contains(cursorPos) || |
| 1127 | #endif |
| 1128 | hasForegroundWindows()) |
| 1129 | { |
1117 | 1130 | if (!m_controlBar->isVisible()) { |
1118 | 1131 | destroyUnHideTrigger(); |
1119 | 1132 | Plasma::WindowEffects::slideWindow(m_controlBar, m_controlBar->location()); |
-
diff --git plasma/netbook/shell/plasmaapp.h plasma/netbook/shell/plasmaapp.h
index 8374e53..002a7da 100644
|
|
public Q_SLOTS: |
94 | 94 | |
95 | 95 | protected: |
96 | 96 | bool eventFilter(QObject *watched, QEvent *event); |
| 97 | #ifdef Q_WS_X11 |
97 | 98 | bool x11EventFilter(XEvent *event); |
| 99 | #else |
| 100 | bool x11EventFilter(void *event); |
| 101 | #endif |
98 | 102 | //true if the application has an active window |
99 | 103 | bool hasForegroundWindows() const; |
100 | 104 | //more strict than hasForegroundWindows, the mainview has to be not only active, but also on top of other windows |