Remove window close notification
This commit is contained in:
parent
5d303e0fee
commit
88c77db4b8
4 changed files with 0 additions and 183 deletions
|
@ -1318,7 +1318,6 @@ void Client::closeWindow()
|
|||
updateUserTime();
|
||||
|
||||
if (Pdeletewindow) {
|
||||
Notify::raise(Notify::Close);
|
||||
sendClientMessage(window(), atoms->wm_protocols, atoms->wm_delete_window);
|
||||
pingWindow();
|
||||
} else // Client will not react on wm_delete_window. We have not choice
|
||||
|
@ -1334,10 +1333,6 @@ void Client::killWindow()
|
|||
{
|
||||
kDebug(1212) << "Client::killWindow():" << caption();
|
||||
|
||||
// Not sure if we need an Notify::Kill or not.. until then, use
|
||||
// Notify::Close
|
||||
Notify::raise(Notify::Close);
|
||||
|
||||
if (isDialog())
|
||||
Notify::raise(Notify::TransDelete);
|
||||
killProcess(false);
|
||||
|
|
174
kwin.notifyrc
174
kwin.notifyrc
|
@ -233,180 +233,6 @@ Comment[x-test]=xxAnother window is activatedxx
|
|||
Comment[zh_CN]=另一个窗口被激活
|
||||
Comment[zh_TW]=已啟動另一個視窗
|
||||
|
||||
[Event/close]
|
||||
Name=Window Close
|
||||
Name[af]=Venster toemaak
|
||||
Name[ar]=أغلق النافذة
|
||||
Name[ast]=Zarrar ventana
|
||||
Name[be]=Закрыць акно
|
||||
Name[be@latin]=Začynieńnie akna
|
||||
Name[bg]=Затваряне на прозореца
|
||||
Name[bn]=উইণ্ডো বন্ধ
|
||||
Name[bn_IN]=উইন্ডো বন্ধ করুন
|
||||
Name[br]=Serriñ ar Prenestr
|
||||
Name[bs]=Zatvaranje prozora
|
||||
Name[ca]=Tanca finestra
|
||||
Name[ca@valencia]=Tanca finestra
|
||||
Name[cs]=Zavření okna
|
||||
Name[csb]=Zamkni òkno
|
||||
Name[da]=Vindueslukning
|
||||
Name[de]=Fenster schließen
|
||||
Name[el]=Κλείσιμο παραθύρου
|
||||
Name[en_GB]=Window Close
|
||||
Name[eo]=Fermiĝo de fenestro
|
||||
Name[es]=Cerrar ventana
|
||||
Name[et]=Aken sulgub
|
||||
Name[eu]=Itxi leihoa
|
||||
Name[fi]=Ikkuna sulkeutuu
|
||||
Name[fr]=Fermer une fenêtre
|
||||
Name[fy]=Finster slute
|
||||
Name[ga]=Dún fuinneog
|
||||
Name[gl]=Pechar unha xanela
|
||||
Name[gu]=વિન્ડો બંધ
|
||||
Name[he]=סגירת חלון
|
||||
Name[hi]=विंडो बंद करें
|
||||
Name[hne]=विंडो बंद करव
|
||||
Name[hr]=Zatvori prozor
|
||||
Name[hu]=Ablak bezárása
|
||||
Name[ia]=Claude fenestra
|
||||
Name[id]=Jendela Menutup
|
||||
Name[is]=Gluggi lokast
|
||||
Name[it]=Chiusura di una finestra
|
||||
Name[ja]=ウィンドウを閉じる
|
||||
Name[kk]=Терезені жабу
|
||||
Name[km]=បិទបង្អួច
|
||||
Name[kn]=ಕಿಟಕಿಯ ಮುಚ್ಚುವಿಕೆ
|
||||
Name[ko]=창 닫기
|
||||
Name[ku]=Paceyê Bigire
|
||||
Name[lt]=Užverti langą
|
||||
Name[lv]=Loga aizvēršana
|
||||
Name[mk]=Затвори прозорец
|
||||
Name[ml]=ജാലകം അടയ്ക്കുക
|
||||
Name[mr]=चौकट बंद करा
|
||||
Name[ms]=Tetingkap Tutup
|
||||
Name[nb]=Vindu lukkes
|
||||
Name[nds]=Finster tomaken
|
||||
Name[ne]=सञ्झ्याल बन्द गर्नुहोस्
|
||||
Name[nl]=Venster sluiten
|
||||
Name[nn]=Vindaugslukking
|
||||
Name[pa]=ਵਿੰਡੋ ਬੰਦ ਕਰੋ
|
||||
Name[pl]=Zamknij okno
|
||||
Name[pt]=Fechar a Janela
|
||||
Name[pt_BR]=Fechar janela
|
||||
Name[ro]=Închidere fereastră
|
||||
Name[ru]=Закрытие окна
|
||||
Name[se]=Gidde láse
|
||||
Name[si]=කවුළුව වසන්න
|
||||
Name[sk]=Zatvorenie okna
|
||||
Name[sl]=Zapri okno
|
||||
Name[sr]=Затварање прозора
|
||||
Name[sr@ijekavian]=Затварање прозора
|
||||
Name[sr@ijekavianlatin]=Zatvaranje prozora
|
||||
Name[sr@latin]=Zatvaranje prozora
|
||||
Name[sv]=Fönster stängs
|
||||
Name[ta]=சாளரம் மூட
|
||||
Name[te]=విండో మూయి
|
||||
Name[tg]=Пӯшидани тиреза
|
||||
Name[th]=หน้าต่างปิด
|
||||
Name[tr]=Pencereyi Kapat
|
||||
Name[ug]=كۆزنەك ياپ
|
||||
Name[uk]=Закрити вікно
|
||||
Name[uz]=Oynani yopish
|
||||
Name[uz@cyrillic]=Ойнани ёпиш
|
||||
Name[wa]=Cloyaedje del finiesse
|
||||
Name[xh]=Window Iyavala
|
||||
Name[x-test]=xxWindow Closexx
|
||||
Name[zh_CN]=窗口关闭
|
||||
Name[zh_TW]=視窗關閉
|
||||
Comment=A window closes
|
||||
Comment[af]='n Venster maak toe
|
||||
Comment[ar]=تم إغلاق نافذة
|
||||
Comment[ast]=Zarrada una ventana
|
||||
Comment[be]=Акно закрываецца
|
||||
Comment[be@latin]=Akno začynienaje.
|
||||
Comment[bg]=Затваря се прозорец
|
||||
Comment[bn]=একটি উইণ্ডো বন্ধ করা হয়েছে
|
||||
Comment[bn_IN]=একটি উইন্ডো বন্ধ করা হয়
|
||||
Comment[br]=Sarret eo ur prenestr
|
||||
Comment[bs]=Prozor je zatvoren
|
||||
Comment[ca]=Es tanca una finestra
|
||||
Comment[ca@valencia]=Es tanca una finestra
|
||||
Comment[cs]=Okno se zavírá
|
||||
Comment[csb]=Òkno bãdze zamkłé
|
||||
Comment[da]=Et vindue lukker
|
||||
Comment[de]=Ein Fenster wird geschlossen
|
||||
Comment[el]=Ένα παράθυρο κλείνει
|
||||
Comment[en_GB]=A window closes
|
||||
Comment[eo]=Fenestro fermiĝas
|
||||
Comment[es]=Se cierra una ventana
|
||||
Comment[et]=Aken sulgub
|
||||
Comment[eu]=Leihoa itxi egiten da
|
||||
Comment[fi]=Ikkuna sulkeutuu
|
||||
Comment[fr]=Une fenêtre se ferme
|
||||
Comment[fy]=In finster slút
|
||||
Comment[ga]=Dúntar fuinneog
|
||||
Comment[gl]=Péchase unha xanela
|
||||
Comment[gu]=વિન્ડો બંધ થાય
|
||||
Comment[he]=חלון נסגר
|
||||
Comment[hi]=विंडो बन्द करता है
|
||||
Comment[hne]=एक विंडो बंद होइस
|
||||
Comment[hr]=Prozor se zatvara
|
||||
Comment[hu]=Ablak bezárása
|
||||
Comment[ia]=Un fenestra claude
|
||||
Comment[id]=Sebuah jendela menutup
|
||||
Comment[is]=Gluggi lokast
|
||||
Comment[it]=Una finestra si chiude
|
||||
Comment[ja]=ウィンドウが閉じます
|
||||
Comment[ka]=ფანჯარა იხურება
|
||||
Comment[kk]=Терезені жабу
|
||||
Comment[km]=បង្អួចបិទ
|
||||
Comment[kn]=ಒಂದು ಕಿಟಕಿಯು ಮುಚ್ಚಿಕೊಳ್ಳುತ್ತದೆ
|
||||
Comment[ko]=창이 닫힘
|
||||
Comment[ku]=Paceyek tê girtin
|
||||
Comment[lt]=Langas uždaromas
|
||||
Comment[lv]=Logs aizveras
|
||||
Comment[mk]=Прозорецот се затвора
|
||||
Comment[ml]=ഒരു ജാലകം അടയ്ക്കുന്നു
|
||||
Comment[mr]=चौकट बंद झाले
|
||||
Comment[ms]=Tetingkap tutup
|
||||
Comment[nb]=Et vindu lukkes
|
||||
Comment[nds]=En Finster geiht to
|
||||
Comment[ne]=एउटा सञ्झ्याल बन्द गर्दछ
|
||||
Comment[nl]=Een venster sluit
|
||||
Comment[nn]=Eit vindauge vert lukka
|
||||
Comment[pa]=ਇੱਕ ਵਿੰਡੋ ਬੰਦ ਕਰਦਾ ਹੈ
|
||||
Comment[pl]=Okno się zamyka
|
||||
Comment[pt]=Fechou-se uma janela
|
||||
Comment[pt_BR]=Uma janela fecha
|
||||
Comment[ro]=A fost închisă o fereastră
|
||||
Comment[ru]=Закрытие окна
|
||||
Comment[se]=Láse giddejuvvui
|
||||
Comment[si]=කවුළුවක් වැසිනි
|
||||
Comment[sk]=Okno sa uzavrie
|
||||
Comment[sl]=Okno se zapre
|
||||
Comment[sr]=Прозор је затворен
|
||||
Comment[sr@ijekavian]=Прозор је затворен
|
||||
Comment[sr@ijekavianlatin]=Prozor je zatvoren
|
||||
Comment[sr@latin]=Prozor je zatvoren
|
||||
Comment[sv]=Ett fönster stängs
|
||||
Comment[ta]=சாளரம் மூடுகிறது
|
||||
Comment[te]=విండో మూయబడింది
|
||||
Comment[tg]=Пӯшидани тиреза
|
||||
Comment[th]=หน้าต่างปิด
|
||||
Comment[tr]=Bir pencereyi kapatır
|
||||
Comment[ug]=بىر كۆزنەك يېپىلدى
|
||||
Comment[uk]=Закриває вікно
|
||||
Comment[uz]=Oyna yopilmoqda
|
||||
Comment[uz@cyrillic]=Ойна ёпилмоқда
|
||||
Comment[vi]=Một cửa sổ đã đóng
|
||||
Comment[wa]=Ene finiesse si clôt
|
||||
Comment[x-test]=xxA window closesxx
|
||||
Comment[zh_CN]=窗口关闭了
|
||||
Comment[zh_TW]=一個視窗已關閉
|
||||
Action=None
|
||||
Sound=KDE-Window-Close.ogg
|
||||
|
||||
|
||||
[Event/shadeup]
|
||||
Name=Window Shade Up
|
||||
Name[af]=Venster Skadu Aan
|
||||
|
|
|
@ -41,9 +41,6 @@ bool Notify::raise(Event e, const QString& message, Client* c)
|
|||
case Activate:
|
||||
event = "activate";
|
||||
break;
|
||||
case Close:
|
||||
event = "close";
|
||||
break;
|
||||
case Minimize:
|
||||
event = "minimize";
|
||||
break;
|
||||
|
|
|
@ -38,7 +38,6 @@ public:
|
|||
|
||||
enum Event {
|
||||
Activate,
|
||||
Close,
|
||||
Minimize,
|
||||
UnMinimize,
|
||||
Maximize,
|
||||
|
|
Loading…
Reference in a new issue