Commit 272150e
committed
feat: add icon theme change handling for X11 windows
1. Added resetIcon() method to X11Window class to clear cached icon and
emit change signal
2. Implemented icon theme change detection in X11WindowMonitor
3. Added connection to DGuiApplicationHelper's theme change signal
4. When theme changes, all window icons are reset to force reload with
new theme
5. This ensures task manager icons update properly when system icon
theme changes
feat: 为X11窗口添加图标主题变更处理
1. 在X11Window类中添加resetIcon()方法用于清除缓存的图标并发出变更信号
2. 在X11WindowMonitor中实现图标主题变更检测
3. 添加与DGuiApplicationHelper主题变更信号的连接
4. 当主题变更时,所有窗口图标会被重置以强制使用新主题重新加载
5. 这确保了任务管理器图标在系统图标主题变更时能正确更新1 parent 5e607a5 commit 272150e
File tree
4 files changed
+23
-0
lines changed- panels/dock/taskmanager
4 files changed
+23
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
66 | 74 | | |
67 | 75 | | |
68 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| |||
201 | 204 | | |
202 | 205 | | |
203 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
204 | 216 | | |
205 | 217 | | |
206 | 218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
0 commit comments