Advertisement
Guest User

Untitled

a guest
Feb 14th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.88 KB | None | 0 0
  1. Index: base/shell/explorer/lang/bg-BG.rc
  2. ===================================================================
  3. --- base/shell/explorer/lang/bg-BG.rc (revision 70707)
  4. +++ base/shell/explorer/lang/bg-BG.rc (working copy)
  5. @@ -198,3 +198,12 @@
  6. BEGIN
  7. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Свойства на задачната лента и на пусковия изборник"
  8. END
  9. +
  10. +STRINGTABLE
  11. +BEGIN
  12. + IDS_NAME "Name"
  13. + IDS_BEHAVIOR "Behavior"
  14. + IDS_HIDE_INACTIVE "Hide when inactive"
  15. + IDS_ALWAYS_HIDE "Always hide"
  16. + IDS_ALWAYS_SHOW "Always show"
  17. +END
  18. Index: base/shell/explorer/lang/cs-CZ.rc
  19. ===================================================================
  20. --- base/shell/explorer/lang/cs-CZ.rc (revision 70707)
  21. +++ base/shell/explorer/lang/cs-CZ.rc (working copy)
  22. @@ -204,3 +204,12 @@
  23. BEGIN
  24. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Vlastnosti hlavního panelu a Start menu"
  25. END
  26. +
  27. +STRINGTABLE
  28. +BEGIN
  29. + IDS_NAME "Name"
  30. + IDS_BEHAVIOR "Behavior"
  31. + IDS_HIDE_INACTIVE "Hide when inactive"
  32. + IDS_ALWAYS_HIDE "Always hide"
  33. + IDS_ALWAYS_SHOW "Always show"
  34. +END
  35. Index: base/shell/explorer/lang/de-DE.rc
  36. ===================================================================
  37. --- base/shell/explorer/lang/de-DE.rc (revision 70707)
  38. +++ base/shell/explorer/lang/de-DE.rc (working copy)
  39. @@ -198,3 +198,12 @@
  40. BEGIN
  41. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Taskleisten- und Startmenüeinstellungen"
  42. END
  43. +
  44. +STRINGTABLE
  45. +BEGIN
  46. + IDS_NAME "Name"
  47. + IDS_BEHAVIOR "Behavior"
  48. + IDS_HIDE_INACTIVE "Hide when inactive"
  49. + IDS_ALWAYS_HIDE "Always hide"
  50. + IDS_ALWAYS_SHOW "Always show"
  51. +END
  52. Index: base/shell/explorer/lang/en-US.rc
  53. ===================================================================
  54. --- base/shell/explorer/lang/en-US.rc (revision 70707)
  55. +++ base/shell/explorer/lang/en-US.rc (working copy)
  56. @@ -198,3 +198,12 @@
  57. BEGIN
  58. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Taskbar and Start Menu"
  59. END
  60. +
  61. +STRINGTABLE
  62. +BEGIN
  63. + IDS_NAME "Name"
  64. + IDS_BEHAVIOR "Behavior"
  65. + IDS_HIDE_INACTIVE "Hide when inactive"
  66. + IDS_ALWAYS_HIDE "Always hide"
  67. + IDS_ALWAYS_SHOW "Always show"
  68. +END
  69. Index: base/shell/explorer/lang/es-ES.rc
  70. ===================================================================
  71. --- base/shell/explorer/lang/es-ES.rc (revision 70707)
  72. +++ base/shell/explorer/lang/es-ES.rc (working copy)
  73. @@ -208,3 +208,12 @@
  74. BEGIN
  75. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Propiedades de la Barra de tareas y del Menú Inicio"
  76. END
  77. +
  78. +STRINGTABLE
  79. +BEGIN
  80. + IDS_NAME "Name"
  81. + IDS_BEHAVIOR "Behavior"
  82. + IDS_HIDE_INACTIVE "Hide when inactive"
  83. + IDS_ALWAYS_HIDE "Always hide"
  84. + IDS_ALWAYS_SHOW "Always show"
  85. +END
  86. Index: base/shell/explorer/lang/fr-FR.rc
  87. ===================================================================
  88. --- base/shell/explorer/lang/fr-FR.rc (revision 70707)
  89. +++ base/shell/explorer/lang/fr-FR.rc (working copy)
  90. @@ -198,3 +198,12 @@
  91. BEGIN
  92. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Barrre des tâches et menu démarrer"
  93. END
  94. +
  95. +STRINGTABLE
  96. +BEGIN
  97. + IDS_NAME "Name"
  98. + IDS_BEHAVIOR "Behavior"
  99. + IDS_HIDE_INACTIVE "Hide when inactive"
  100. + IDS_ALWAYS_HIDE "Always hide"
  101. + IDS_ALWAYS_SHOW "Always show"
  102. +END
  103. Index: base/shell/explorer/lang/he-IL.rc
  104. ===================================================================
  105. --- base/shell/explorer/lang/he-IL.rc (revision 70707)
  106. +++ base/shell/explorer/lang/he-IL.rc (working copy)
  107. @@ -198,3 +198,12 @@
  108. BEGIN
  109. IDS_TASKBAR_STARTMENU_PROP_CAPTION "שורת המשימות ושולחן העבודה"
  110. END
  111. +
  112. +STRINGTABLE
  113. +BEGIN
  114. + IDS_NAME "Name"
  115. + IDS_BEHAVIOR "Behavior"
  116. + IDS_HIDE_INACTIVE "Hide when inactive"
  117. + IDS_ALWAYS_HIDE "Always hide"
  118. + IDS_ALWAYS_SHOW "Always show"
  119. +END
  120. \ No newline at end of file
  121. Index: base/shell/explorer/lang/it-IT.rc
  122. ===================================================================
  123. --- base/shell/explorer/lang/it-IT.rc (revision 70707)
  124. +++ base/shell/explorer/lang/it-IT.rc (working copy)
  125. @@ -198,3 +198,12 @@
  126. BEGIN
  127. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Proprietà della Barra delle applicazioni e del Menú di avvio"
  128. END
  129. +
  130. +STRINGTABLE
  131. +BEGIN
  132. + IDS_NAME "Name"
  133. + IDS_BEHAVIOR "Behavior"
  134. + IDS_HIDE_INACTIVE "Hide when inactive"
  135. + IDS_ALWAYS_HIDE "Always hide"
  136. + IDS_ALWAYS_SHOW "Always show"
  137. +END
  138. Index: base/shell/explorer/lang/ja-JP.rc
  139. ===================================================================
  140. --- base/shell/explorer/lang/ja-JP.rc (revision 70707)
  141. +++ base/shell/explorer/lang/ja-JP.rc (working copy)
  142. @@ -198,3 +198,12 @@
  143. BEGIN
  144. IDS_TASKBAR_STARTMENU_PROP_CAPTION "タスクバーとスタートメニューのプロパティ"
  145. END
  146. +
  147. +STRINGTABLE
  148. +BEGIN
  149. + IDS_NAME "Name"
  150. + IDS_BEHAVIOR "Behavior"
  151. + IDS_HIDE_INACTIVE "Hide when inactive"
  152. + IDS_ALWAYS_HIDE "Always hide"
  153. + IDS_ALWAYS_SHOW "Always show"
  154. +END
  155. Index: base/shell/explorer/lang/ko-KR.rc
  156. ===================================================================
  157. --- base/shell/explorer/lang/ko-KR.rc (revision 70707)
  158. +++ base/shell/explorer/lang/ko-KR.rc (working copy)
  159. @@ -200,3 +200,12 @@
  160. BEGIN
  161. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Taskbar and Start Menu"
  162. END
  163. +
  164. +STRINGTABLE
  165. +BEGIN
  166. + IDS_NAME "Name"
  167. + IDS_BEHAVIOR "Behavior"
  168. + IDS_HIDE_INACTIVE "Hide when inactive"
  169. + IDS_ALWAYS_HIDE "Always hide"
  170. + IDS_ALWAYS_SHOW "Always show"
  171. +END
  172. Index: base/shell/explorer/lang/lt-LT.rc
  173. ===================================================================
  174. --- base/shell/explorer/lang/lt-LT.rc (revision 70707)
  175. +++ base/shell/explorer/lang/lt-LT.rc (working copy)
  176. @@ -201,3 +201,12 @@
  177. BEGIN
  178. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Taskbar and Start Menu"
  179. END
  180. +
  181. +STRINGTABLE
  182. +BEGIN
  183. + IDS_NAME "Name"
  184. + IDS_BEHAVIOR "Behavior"
  185. + IDS_HIDE_INACTIVE "Hide when inactive"
  186. + IDS_ALWAYS_HIDE "Always hide"
  187. + IDS_ALWAYS_SHOW "Always show"
  188. +END
  189. Index: base/shell/explorer/lang/ms-MY.rc
  190. ===================================================================
  191. --- base/shell/explorer/lang/ms-MY.rc (revision 70707)
  192. +++ base/shell/explorer/lang/ms-MY.rc (working copy)
  193. @@ -200,3 +200,12 @@
  194. BEGIN
  195. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Bar Tugas dan Menu Mula"
  196. END
  197. +
  198. +STRINGTABLE
  199. +BEGIN
  200. + IDS_NAME "Name"
  201. + IDS_BEHAVIOR "Behavior"
  202. + IDS_HIDE_INACTIVE "Hide when inactive"
  203. + IDS_ALWAYS_HIDE "Always hide"
  204. + IDS_ALWAYS_SHOW "Always show"
  205. +END
  206. Index: base/shell/explorer/lang/nl-NL.rc
  207. ===================================================================
  208. --- base/shell/explorer/lang/nl-NL.rc (revision 70707)
  209. +++ base/shell/explorer/lang/nl-NL.rc (working copy)
  210. @@ -198,3 +198,12 @@
  211. BEGIN
  212. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Taakbalk en menu Start eigenschappen"
  213. END
  214. +
  215. +STRINGTABLE
  216. +BEGIN
  217. + IDS_NAME "Name"
  218. + IDS_BEHAVIOR "Behavior"
  219. + IDS_HIDE_INACTIVE "Hide when inactive"
  220. + IDS_ALWAYS_HIDE "Always hide"
  221. + IDS_ALWAYS_SHOW "Always show"
  222. +END
  223. Index: base/shell/explorer/lang/no-NO.rc
  224. ===================================================================
  225. --- base/shell/explorer/lang/no-NO.rc (revision 70707)
  226. +++ base/shell/explorer/lang/no-NO.rc (working copy)
  227. @@ -199,3 +199,12 @@
  228. BEGIN
  229. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Egenskaper for oppgavelinjen og startmeny"
  230. END
  231. +
  232. +STRINGTABLE
  233. +BEGIN
  234. + IDS_NAME "Name"
  235. + IDS_BEHAVIOR "Behavior"
  236. + IDS_HIDE_INACTIVE "Hide when inactive"
  237. + IDS_ALWAYS_HIDE "Always hide"
  238. + IDS_ALWAYS_SHOW "Always show"
  239. +END
  240. Index: base/shell/explorer/lang/pl-PL.rc
  241. ===================================================================
  242. --- base/shell/explorer/lang/pl-PL.rc (revision 70707)
  243. +++ base/shell/explorer/lang/pl-PL.rc (working copy)
  244. @@ -207,3 +207,12 @@
  245. BEGIN
  246. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Właściwości paska zadań i menu Start"
  247. END
  248. +
  249. +STRINGTABLE
  250. +BEGIN
  251. + IDS_NAME "Name"
  252. + IDS_BEHAVIOR "Behavior"
  253. + IDS_HIDE_INACTIVE "Hide when inactive"
  254. + IDS_ALWAYS_HIDE "Always hide"
  255. + IDS_ALWAYS_SHOW "Always show"
  256. +END
  257. Index: base/shell/explorer/lang/pt-BR.rc
  258. ===================================================================
  259. --- base/shell/explorer/lang/pt-BR.rc (revision 70707)
  260. +++ base/shell/explorer/lang/pt-BR.rc (working copy)
  261. @@ -200,3 +200,12 @@
  262. BEGIN
  263. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Propriedades do Barra de Tarefas e Menu Iniciar"
  264. END
  265. +
  266. +STRINGTABLE
  267. +BEGIN
  268. + IDS_NAME "Name"
  269. + IDS_BEHAVIOR "Behavior"
  270. + IDS_HIDE_INACTIVE "Hide when inactive"
  271. + IDS_ALWAYS_HIDE "Always hide"
  272. + IDS_ALWAYS_SHOW "Always show"
  273. +END
  274. Index: base/shell/explorer/lang/ro-RO.rc
  275. ===================================================================
  276. --- base/shell/explorer/lang/ro-RO.rc (revision 70707)
  277. +++ base/shell/explorer/lang/ro-RO.rc (working copy)
  278. @@ -200,3 +200,12 @@
  279. BEGIN
  280. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Bara de activități și meniul „Pornire”"
  281. END
  282. +
  283. +STRINGTABLE
  284. +BEGIN
  285. + IDS_NAME "Name"
  286. + IDS_BEHAVIOR "Behavior"
  287. + IDS_HIDE_INACTIVE "Hide when inactive"
  288. + IDS_ALWAYS_HIDE "Always hide"
  289. + IDS_ALWAYS_SHOW "Always show"
  290. +END
  291. Index: base/shell/explorer/lang/ru-RU.rc
  292. ===================================================================
  293. --- base/shell/explorer/lang/ru-RU.rc (revision 70707)
  294. +++ base/shell/explorer/lang/ru-RU.rc (working copy)
  295. @@ -200,3 +200,12 @@
  296. BEGIN
  297. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Свойства меню Пуск и Панели задач"
  298. END
  299. +
  300. +STRINGTABLE
  301. +BEGIN
  302. + IDS_NAME "Name"
  303. + IDS_BEHAVIOR "Behavior"
  304. + IDS_HIDE_INACTIVE "Hide when inactive"
  305. + IDS_ALWAYS_HIDE "Always hide"
  306. + IDS_ALWAYS_SHOW "Always show"
  307. +END
  308. Index: base/shell/explorer/lang/sk-SK.rc
  309. ===================================================================
  310. --- base/shell/explorer/lang/sk-SK.rc (revision 70707)
  311. +++ base/shell/explorer/lang/sk-SK.rc (working copy)
  312. @@ -203,3 +203,12 @@
  313. BEGIN
  314. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Vlastnosti panela úloh a ponuky Štart"
  315. END
  316. +
  317. +STRINGTABLE
  318. +BEGIN
  319. + IDS_NAME "Name"
  320. + IDS_BEHAVIOR "Behavior"
  321. + IDS_HIDE_INACTIVE "Hide when inactive"
  322. + IDS_ALWAYS_HIDE "Always hide"
  323. + IDS_ALWAYS_SHOW "Always show"
  324. +END
  325. Index: base/shell/explorer/lang/sq-AL.rc
  326. ===================================================================
  327. --- base/shell/explorer/lang/sq-AL.rc (revision 70707)
  328. +++ base/shell/explorer/lang/sq-AL.rc (working copy)
  329. @@ -202,3 +202,12 @@
  330. BEGIN
  331. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Taskbar dhe Start Menu"
  332. END
  333. +
  334. +STRINGTABLE
  335. +BEGIN
  336. + IDS_NAME "Name"
  337. + IDS_BEHAVIOR "Behavior"
  338. + IDS_HIDE_INACTIVE "Hide when inactive"
  339. + IDS_ALWAYS_HIDE "Always hide"
  340. + IDS_ALWAYS_SHOW "Always show"
  341. +END
  342. Index: base/shell/explorer/lang/tr-TR.rc
  343. ===================================================================
  344. --- base/shell/explorer/lang/tr-TR.rc (revision 70707)
  345. +++ base/shell/explorer/lang/tr-TR.rc (working copy)
  346. @@ -200,3 +200,12 @@
  347. BEGIN
  348. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Görev Çubuğu ve Başlat Seçkesi"
  349. END
  350. +
  351. +STRINGTABLE
  352. +BEGIN
  353. + IDS_NAME "Name"
  354. + IDS_BEHAVIOR "Behavior"
  355. + IDS_HIDE_INACTIVE "Hide when inactive"
  356. + IDS_ALWAYS_HIDE "Always hide"
  357. + IDS_ALWAYS_SHOW "Always show"
  358. +END
  359. Index: base/shell/explorer/lang/uk-UA.rc
  360. ===================================================================
  361. --- base/shell/explorer/lang/uk-UA.rc (revision 70707)
  362. +++ base/shell/explorer/lang/uk-UA.rc (working copy)
  363. @@ -206,3 +206,12 @@
  364. BEGIN
  365. IDS_TASKBAR_STARTMENU_PROP_CAPTION "Властивості меню Пуск та Панелі завдань"
  366. END
  367. +
  368. +STRINGTABLE
  369. +BEGIN
  370. + IDS_NAME "Name"
  371. + IDS_BEHAVIOR "Behavior"
  372. + IDS_HIDE_INACTIVE "Hide when inactive"
  373. + IDS_ALWAYS_HIDE "Always hide"
  374. + IDS_ALWAYS_SHOW "Always show"
  375. +END
  376. Index: base/shell/explorer/lang/zh-CN.rc
  377. ===================================================================
  378. --- base/shell/explorer/lang/zh-CN.rc (revision 70707)
  379. +++ base/shell/explorer/lang/zh-CN.rc (working copy)
  380. @@ -206,3 +206,12 @@
  381. BEGIN
  382. IDS_TASKBAR_STARTMENU_PROP_CAPTION "任务栏和开始菜单属性"
  383. END
  384. +
  385. +STRINGTABLE
  386. +BEGIN
  387. + IDS_NAME "Name"
  388. + IDS_BEHAVIOR "Behavior"
  389. + IDS_HIDE_INACTIVE "Hide when inactive"
  390. + IDS_ALWAYS_HIDE "Always hide"
  391. + IDS_ALWAYS_SHOW "Always show"
  392. +END
  393. Index: base/shell/explorer/lang/zh-TW.rc
  394. ===================================================================
  395. --- base/shell/explorer/lang/zh-TW.rc (revision 70707)
  396. +++ base/shell/explorer/lang/zh-TW.rc (working copy)
  397. @@ -206,3 +206,12 @@
  398. BEGIN
  399. IDS_TASKBAR_STARTMENU_PROP_CAPTION "工作列及開始功能表"
  400. END
  401. +
  402. +STRINGTABLE
  403. +BEGIN
  404. + IDS_NAME "Name"
  405. + IDS_BEHAVIOR "Behavior"
  406. + IDS_HIDE_INACTIVE "Hide when inactive"
  407. + IDS_ALWAYS_HIDE "Always hide"
  408. + IDS_ALWAYS_SHOW "Always show"
  409. +END
  410. Index: base/shell/explorer/notifyiconscust.cpp
  411. ===================================================================
  412. --- base/shell/explorer/notifyiconscust.cpp (revision 70707)
  413. +++ base/shell/explorer/notifyiconscust.cpp (working copy)
  414. @@ -20,12 +20,51 @@
  415.  
  416. #include "precomp.h"
  417.  
  418. +/* GLOBALS ******************************************************************/
  419. +
  420. +#define MAX_LIST_COLUMNS (IDS_LIST_COLUMN_LAST + IDS_LIST_COLUMN_FIRST)
  421. +const int default_column_widths[MAX_LIST_COLUMNS] = {188, 125};
  422. +int column_alignment[MAX_LIST_COLUMNS] = {LVCFMT_LEFT, LVCFMT_LEFT};
  423. +
  424. +/* FUNCTIONS ****************************************************************/
  425. +
  426. +static
  427. +BOOL
  428. +CreateListViewColumns(
  429. + HINSTANCE hInst,
  430. + HWND hWndListView)
  431. +{
  432. + WCHAR szText[50];
  433. + int index;
  434. + LVCOLUMN lvC;
  435. +
  436. + /* Create columns. */
  437. + lvC.mask = LVCF_FMT | LVCF_WIDTH | LVCF_TEXT | LVCF_SUBITEM;
  438. + lvC.pszText = szText;
  439. +
  440. + /* Load the column labels from the resource file. */
  441. + for (index = 0; index < MAX_LIST_COLUMNS; index++)
  442. + {
  443. + lvC.iSubItem = index;
  444. + lvC.cx = default_column_widths[index];
  445. + lvC.fmt = column_alignment[index];
  446. +
  447. + LoadStringW(hInst, IDS_LIST_COLUMN_FIRST + index, szText, 50);
  448. +
  449. + if (ListView_InsertColumn(hWndListView, index, &lvC) == -1)
  450. + return FALSE;
  451. + }
  452. + return TRUE;
  453. +}
  454. +
  455. INT_PTR CALLBACK CustomizeNotifyIconsProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
  456. {
  457. switch(Message)
  458. {
  459. case WM_INITDIALOG:
  460. -
  461. + CreateListViewColumns(NULL,
  462. + GetDlgItem(hwnd, IDC_NOTIFICATION_LIST));
  463. +
  464. return TRUE;
  465. case WM_COMMAND:
  466. switch(LOWORD(wParam))
  467. Index: base/shell/explorer/resource.h
  468. ===================================================================
  469. --- base/shell/explorer/resource.h (revision 70707)
  470. +++ base/shell/explorer/resource.h (working copy)
  471. @@ -102,6 +102,11 @@
  472. #define IDS_PROPERTIES 720
  473. #define IDS_HELP_COMMAND 732
  474. #define IDS_TASKBAR_STARTMENU_PROP_CAPTION 810
  475. +#define IDS_NAME 1000
  476. +#define IDS_BEHAVIOR 1001
  477. +#define IDS_HIDE_INACTIVE 1002
  478. +#define IDS_ALWAYS_HIDE 1003
  479. +#define IDS_ALWAYS_SHOW 1004
  480.  
  481. /*******************************************************************************\
  482. |* Control Resources *|
  483. @@ -190,3 +195,9 @@
  484. #define ID_SHELL_CMD_CASCADE_WND (ID_SHELL_CMD_LAST + 10)
  485. #define ID_SHELL_CMD_CUST_NOTIF (ID_SHELL_CMD_LAST + 11)
  486. #define ID_SHELL_CMD_ADJUST_DAT (ID_SHELL_CMD_LAST + 12)
  487. +
  488. +/*******************************************************************************\
  489. +|* Other Resources *|
  490. +\*******************************************************************************/
  491. +#define IDS_LIST_COLUMN_FIRST IDS_NAME
  492. +#define IDS_LIST_COLUMN_LAST IDS_BEHAVIOR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement