]> Dogcows Code - chaz/tint2/blob - src/tint.c
cleanup
[chaz/tint2] / src / tint.c
1 /**************************************************************************
2 *
3 * Tint2 panel
4 *
5 * Copyright (C) 2007 Pål Staurland (staura@gmail.com)
6 * Modified (C) 2008 thierry lorthiois (lorthiois@bbsoft.fr)
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License version 2
10 * as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 **************************************************************************/
20
21 #include <sys/stat.h>
22 #include <sys/time.h>
23 #include <unistd.h>
24 #include <stdio.h>
25 #include <stdlib.h>
26 #include <string.h>
27 #include <X11/Xutil.h>
28 #include <X11/Xatom.h>
29 #include <X11/Xlocale.h>
30 #include <Imlib2.h>
31 #include <signal.h>
32
33 #include "server.h"
34 #include "window.h"
35 #include "config.h"
36 #include "task.h"
37 #include "taskbar.h"
38 #include "systraybar.h"
39 #include "panel.h"
40
41
42 void signal_handler(int sig)
43 {
44 // signal handler is light as it should be
45 signal_pending = sig;
46 }
47
48
49 void init ()
50 {
51 // Set signal handler
52 signal(SIGUSR1, signal_handler);
53 signal(SIGINT, signal_handler);
54 signal(SIGTERM, signal_handler);
55 signal(SIGHUP, signal_handler);
56
57 // set global data
58 memset(&server, 0, sizeof(Server_global));
59 memset(&systray, 0, sizeof(Systraybar));
60
61 server.dsp = XOpenDisplay (NULL);
62 if (!server.dsp) {
63 fprintf(stderr, "tint2 exit : could not open display.\n");
64 exit(0);
65 }
66 server_init_atoms ();
67 server.screen = DefaultScreen (server.dsp);
68 server.root_win = RootWindow(server.dsp, server.screen);
69 server.depth = DefaultDepth (server.dsp, server.screen);
70 server.visual = DefaultVisual (server.dsp, server.screen);
71 server.desktop = server_get_current_desktop ();
72 XGCValues gcv;
73 server.gc = XCreateGC (server.dsp, server.root_win, (unsigned long)0, &gcv) ;
74
75 XSetErrorHandler ((XErrorHandler) server_catch_error);
76
77 imlib_context_set_display (server.dsp);
78 imlib_context_set_visual (server.visual);
79 imlib_context_set_colormap (DefaultColormap (server.dsp, server.screen));
80
81 /* Catch events */
82 XSelectInput (server.dsp, server.root_win, PropertyChangeMask|StructureNotifyMask);
83
84 setlocale (LC_ALL, "");
85 }
86
87
88 void cleanup()
89 {
90 cleanup_panel();
91
92 if (time1_font_desc) pango_font_description_free(time1_font_desc);
93 if (time2_font_desc) pango_font_description_free(time2_font_desc);
94 if (time1_format) g_free(time1_format);
95 if (time2_format) g_free(time2_format);
96 #ifdef ENABLE_BATTERY
97 if (bat1_font_desc) pango_font_description_free(bat1_font_desc);
98 if (bat2_font_desc) pango_font_description_free(bat2_font_desc);
99 if (battery_low_cmd) g_free(battery_low_cmd);
100 if (path_energy_now) g_free(path_energy_now);
101 if (path_energy_full) g_free(path_energy_full);
102 if (path_current_now) g_free(path_current_now);
103 if (path_status) g_free(path_status);
104 #endif
105 if (clock_lclick_command) g_free(clock_lclick_command);
106 if (clock_rclick_command) g_free(clock_rclick_command);
107
108 if (server.monitor) free(server.monitor);
109 XFreeGC(server.dsp, server.gc);
110 XCloseDisplay(server.dsp);
111 }
112
113
114 void window_action (Task *tsk, int action)
115 {
116 switch (action) {
117 case CLOSE:
118 set_close (tsk->win);
119 break;
120 case TOGGLE:
121 set_active(tsk->win);
122 break;
123 case ICONIFY:
124 XIconifyWindow (server.dsp, tsk->win, server.screen);
125 break;
126 case TOGGLE_ICONIFY:
127 if (tsk == task_active) XIconifyWindow (server.dsp, tsk->win, server.screen);
128 else set_active (tsk->win);
129 break;
130 case SHADE:
131 window_toggle_shade (tsk->win);
132 break;
133 }
134 }
135
136
137 void event_button_press (XEvent *e)
138 {
139 Panel *panel = get_panel(e->xany.window);
140 if (!panel) return;
141
142 if (wm_menu) {
143 if ((panel_horizontal && (e->xbutton.x < panel->area.paddingxlr || e->xbutton.x > panel->area.width-panel->area.paddingxlr || e->xbutton.y < panel->area.paddingy || e->xbutton.y > panel->area.paddingy+panel->g_taskbar.height)) || (!panel_horizontal && (e->xbutton.y < panel->area.paddingxlr || e->xbutton.y > panel->area.height-panel->area.paddingxlr || e->xbutton.x < panel->area.paddingy || e->xbutton.x > panel->area.paddingy+panel->g_taskbar.width))) {
144 // forward the click to the desktop window (thanks conky)
145 XUngrabPointer(server.dsp, e->xbutton.time);
146 e->xbutton.window = server.root_win;
147 // icewm doesn't open under the mouse.
148 // and xfce doesn't open at all.
149 //e->xbutton.x = e->xbutton.x_root;
150 //e->xbutton.y = e->xbutton.y_root;
151 //printf("**** %d, %d\n", e->xbutton.x, e->xbutton.y);
152 XSetInputFocus(server.dsp, e->xbutton.window, RevertToParent, e->xbutton.time);
153 XSendEvent(server.dsp, e->xbutton.window, False, ButtonPressMask, e);
154 return;
155 }
156 }
157
158 if (e->xbutton.button != 1) return;
159
160 if (panel_mode != MULTI_DESKTOP) {
161 // drag and drop disabled
162 XLowerWindow (server.dsp, panel->main_win);
163 return;
164 }
165
166 GSList *l0;
167 Taskbar *tskbar;
168 if (panel_horizontal) {
169 int x = e->xbutton.x;
170 for (l0 = panel->area.list; l0 ; l0 = l0->next) {
171 tskbar = l0->data;
172 if (!tskbar->area.on_screen) continue;
173 if (x >= tskbar->area.posx && x <= (tskbar->area.posx + tskbar->area.width))
174 break;
175 }
176 if (l0) {
177 Task *tsk;
178 for (l0 = tskbar->area.list; l0 ; l0 = l0->next) {
179 tsk = l0->data;
180 if (x >= tsk->area.posx && x <= (tsk->area.posx + tsk->area.width)) {
181 task_drag = tsk;
182 break;
183 }
184 }
185 }
186 }
187 else {
188 int y = e->xbutton.y;
189 for (l0 = panel->area.list; l0 ; l0 = l0->next) {
190 tskbar = l0->data;
191 if (!tskbar->area.on_screen) continue;
192 if (y >= tskbar->area.posy && y <= (tskbar->area.posy + tskbar->area.height))
193 break;
194 }
195 if (l0) {
196 Task *tsk;
197 for (l0 = tskbar->area.list; l0 ; l0 = l0->next) {
198 tsk = l0->data;
199 if (y >= tsk->area.posy && y <= (tsk->area.posy + tsk->area.height)) {
200 task_drag = tsk;
201 break;
202 }
203 }
204 }
205 }
206
207 XLowerWindow (server.dsp, panel->main_win);
208 }
209
210
211 void event_button_release (XEvent *e)
212 {
213 Panel *panel = get_panel(e->xany.window);
214 if (!panel) return;
215
216 if (wm_menu) {
217 if ((panel_horizontal && (e->xbutton.x < panel->area.paddingxlr || e->xbutton.x > panel->area.width-panel->area.paddingxlr || e->xbutton.y < panel->area.paddingy || e->xbutton.y > panel->area.paddingy+panel->g_taskbar.height)) || (!panel_horizontal && (e->xbutton.y < panel->area.paddingxlr || e->xbutton.y > panel->area.height-panel->area.paddingxlr || e->xbutton.x < panel->area.paddingy || e->xbutton.x > panel->area.paddingy+panel->g_taskbar.width))) {
218 // forward the click to the desktop window (thanks conky)
219 e->xbutton.window = server.root_win;
220 XSendEvent(server.dsp, e->xbutton.window, False, ButtonReleaseMask, e);
221 return;
222 }
223 }
224
225 int action = TOGGLE_ICONIFY;
226 int x = e->xbutton.x;
227 int y = e->xbutton.y;
228 switch (e->xbutton.button) {
229 case 2:
230 action = mouse_middle;
231 break;
232 case 3:
233 action = mouse_right;
234 break;
235 case 4:
236 action = mouse_scroll_up;
237 break;
238 case 5:
239 action = mouse_scroll_down;
240 break;
241 }
242
243 // search taskbar
244 Taskbar *tskbar;
245 GSList *l0;
246 Clock clk = panel->clock;
247 if (panel_horizontal) {
248 if (clk.area.on_screen && x >= clk.area.posx && x <= (clk.area.posx + clk.area.width))
249 clock_action(e->xbutton.button);
250 else {
251 for (l0 = panel->area.list; l0 ; l0 = l0->next) {
252 tskbar = l0->data;
253 if (!tskbar->area.on_screen) continue;
254 if (x >= tskbar->area.posx && x <= (tskbar->area.posx + tskbar->area.width))
255 goto suite;
256 }
257 }
258 }
259 else {
260 if (clk.area.on_screen && y >= clk.area.posy && y <= (clk.area.posy + clk.area.height))
261 clock_action(e->xbutton.button);
262 else {
263 for (l0 = panel->area.list; l0 ; l0 = l0->next) {
264 tskbar = l0->data;
265 if (!tskbar->area.on_screen) continue;
266 if (y >= tskbar->area.posy && y <= (tskbar->area.posy + tskbar->area.height))
267 goto suite;
268 }
269 }
270 }
271
272 // TODO: check better solution to keep window below
273 XLowerWindow (server.dsp, panel->main_win);
274 task_drag = 0;
275 return;
276
277 suite:
278 // drag and drop task
279 if (task_drag) {
280 if (tskbar != task_drag->area.parent && action == TOGGLE_ICONIFY) {
281 if (task_drag->desktop != ALLDESKTOP && panel_mode == MULTI_DESKTOP) {
282 windows_set_desktop(task_drag->win, tskbar->desktop);
283 if (tskbar->desktop == server.desktop)
284 set_active(task_drag->win);
285 task_drag = 0;
286 }
287 return;
288 }
289 else task_drag = 0;
290 }
291
292 // switch desktop
293 if (panel_mode == MULTI_DESKTOP) {
294 if (tskbar->desktop != server.desktop && action != CLOSE)
295 set_desktop (tskbar->desktop);
296 }
297
298 // action on task
299 Task *tsk;
300 GSList *l;
301 for (l = tskbar->area.list ; l ; l = l->next) {
302 tsk = l->data;
303 if (panel_horizontal) {
304 if (x >= tsk->area.posx && x <= (tsk->area.posx + tsk->area.width)) {
305 window_action (tsk, action);
306 break;
307 }
308 }
309 else {
310 if (y >= tsk->area.posy && y <= (tsk->area.posy + tsk->area.height)) {
311 window_action (tsk, action);
312 break;
313 }
314 }
315 }
316
317 // to keep window below
318 XLowerWindow (server.dsp, panel->main_win);
319 }
320
321
322 void event_property_notify (XEvent *e)
323 {
324 int i, j;
325 Task *tsk;
326 Window win = e->xproperty.window;
327 Atom at = e->xproperty.atom;
328
329 if (win == server.root_win) {
330 if (!server.got_root_win) {
331 XSelectInput (server.dsp, server.root_win, PropertyChangeMask|StructureNotifyMask);
332 server.got_root_win = 1;
333 }
334
335 // Change number of desktops
336 else if (at == server.atom._NET_NUMBER_OF_DESKTOPS) {
337 server.nb_desktop = server_get_number_of_desktop ();
338 cleanup_taskbar();
339 init_taskbar();
340 visible_object();
341 for (i=0 ; i < nb_panel ; i++) {
342 panel1[i].area.resize = 1;
343 }
344 task_refresh_tasklist();
345 panel_refresh = 1;
346 }
347 // Change desktop
348 else if (at == server.atom._NET_CURRENT_DESKTOP) {
349 server.desktop = server_get_current_desktop ();
350 if (panel_mode != MULTI_DESKTOP) {
351 visible_object();
352 }
353 }
354 // Window list
355 else if (at == server.atom._NET_CLIENT_LIST) {
356 task_refresh_tasklist();
357 panel_refresh = 1;
358 }
359 // Change active
360 else if (at == server.atom._NET_ACTIVE_WINDOW) {
361 GSList *l0;
362 if (task_active) {
363 for (i=0 ; i < nb_panel ; i++) {
364 for (j=0 ; j < panel1[i].nb_desktop ; j++) {
365 for (l0 = panel1[i].taskbar[j].area.list; l0 ; l0 = l0->next) {
366 tsk = l0->data;
367 tsk->area.is_active = 0;
368 }
369 }
370 }
371 task_active = 0;
372 }
373 Window w1 = window_get_active ();
374 Task *t = task_get_task(w1);
375 if (!t) {
376 Window w2;
377 if (XGetTransientForHint(server.dsp, w1, &w2) != 0)
378 if (w2) t = task_get_task(w2);
379 }
380 if (task_urgent == t) {
381 init_precision();
382 task_urgent = 0;
383 }
384 if (t) {
385 for (i=0 ; i < nb_panel ; i++) {
386 for (j=0 ; j < panel1[i].nb_desktop ; j++) {
387 for (l0 = panel1[i].taskbar[j].area.list; l0 ; l0 = l0->next) {
388 tsk = l0->data;
389 if (tsk->win == t->win) {
390 tsk->area.is_active = 1;
391 //printf("active monitor %d, task %s\n", panel1[i].monitor, tsk->title);
392 }
393 }
394 }
395 }
396 task_active = t;
397 }
398 panel_refresh = 1;
399 }
400 else if (at == server.atom._XROOTPMAP_ID) {
401 // change Wallpaper
402 for (i=0 ; i < nb_panel ; i++) {
403 set_panel_background(&panel1[i]);
404 }
405 panel_refresh = 1;
406 }
407 }
408 else {
409 tsk = task_get_task (win);
410 if (!tsk) return;
411 //printf("atom root_win = %s, %s\n", XGetAtomName(server.dsp, at), tsk->title);
412
413 // Window title changed
414 if (at == server.atom._NET_WM_VISIBLE_NAME || at == server.atom._NET_WM_NAME || at == server.atom.WM_NAME) {
415 Task *tsk2;
416 GSList *l0;
417 get_title(tsk);
418 // changed other tsk->title
419 for (i=0 ; i < nb_panel ; i++) {
420 for (j=0 ; j < panel1[i].nb_desktop ; j++) {
421 for (l0 = panel1[i].taskbar[j].area.list; l0 ; l0 = l0->next) {
422 tsk2 = l0->data;
423 if (tsk->win == tsk2->win && tsk != tsk2) {
424 tsk2->title = tsk->title;
425 tsk2->area.redraw = 1;
426 }
427 }
428 }
429 }
430 panel_refresh = 1;
431 }
432 // Demand attention
433 else if (at == server.atom._NET_WM_STATE) {
434 if (window_is_urgent (win)) {
435 task_urgent = tsk;
436 tick_urgent = 0;
437 time_precision = 1;
438 }
439 }
440 else if (at == server.atom.WM_STATE) {
441 // Iconic state
442 // TODO : try to delete following code
443 if (window_is_iconified (win)) {
444 if (task_active) {
445 if (task_active->win == tsk->win) {
446 Task *tsk2;
447 GSList *l0;
448 for (i=0 ; i < nb_panel ; i++) {
449 for (j=0 ; j < panel1[i].nb_desktop ; j++) {
450 for (l0 = panel1[i].taskbar[j].area.list; l0 ; l0 = l0->next) {
451 tsk2 = l0->data;
452 tsk2->area.is_active = 0;
453 }
454 }
455 }
456 task_active = 0;
457 }
458 }
459 }
460 }
461 // Window icon changed
462 else if (at == server.atom._NET_WM_ICON) {
463 get_icon(tsk);
464 Task *tsk2;
465 GSList *l0;
466 for (i=0 ; i < nb_panel ; i++) {
467 for (j=0 ; j < panel1[i].nb_desktop ; j++) {
468 for (l0 = panel1[i].taskbar[j].area.list; l0 ; l0 = l0->next) {
469 tsk2 = l0->data;
470 if (tsk->win == tsk2->win && tsk != tsk2) {
471 tsk2->icon_width = tsk->icon_width;
472 tsk2->icon_height = tsk->icon_height;
473 tsk2->icon_data = tsk->icon_data;
474 tsk2->area.redraw = 1;
475 }
476 }
477 }
478 }
479 panel_refresh = 1;
480 }
481 // Window desktop changed
482 else if (at == server.atom._NET_WM_DESKTOP) {
483 int desktop = window_get_desktop (win);
484 int active = tsk->area.is_active;
485 //printf(" Window desktop changed %d, %d\n", tsk->desktop, desktop);
486 // bug in windowmaker : send unecessary 'desktop changed' when focus changed
487 if (desktop != tsk->desktop) {
488 remove_task (tsk);
489 tsk = add_task (win);
490 if (tsk && active) {
491 tsk->area.is_active = 1;
492 task_active = tsk;
493 }
494 panel_refresh = 1;
495 }
496 }
497
498 if (!server.got_root_win) server.root_win = RootWindow (server.dsp, server.screen);
499 }
500 }
501
502
503 void event_expose (XEvent *e)
504 {
505 Panel *panel;
506
507 panel = get_panel(e->xany.window);
508 if (!panel) return;
509 // TODO : one panel_refresh per panel ?
510 panel_refresh = 1;
511 }
512
513
514 void event_configure_notify (Window win)
515 {
516 // check 'win' move in systray
517 TrayWindow *traywin;
518 GSList *l;
519 for (l = systray.list_icons; l ; l = l->next) {
520 traywin = (TrayWindow*)l->data;
521 if (traywin->id == win) {
522 //printf("move tray %d\n", traywin->x);
523 XMoveResizeWindow(server.dsp, traywin->id, traywin->x, traywin->y, traywin->width, traywin->height);
524 panel_refresh = 1;
525 return;
526 }
527 }
528
529 // check 'win' move in another monitor
530 if (nb_panel == 1) return;
531 if (server.nb_monitor == 1) return;
532 Task *tsk = task_get_task (win);
533 if (!tsk) return;
534
535 Panel *p = tsk->area.panel;
536 if (p->monitor != window_get_monitor (win)) {
537 remove_task (tsk);
538 add_task (win);
539 if (win == window_get_active ()) {
540 Task *tsk = task_get_task (win);
541 tsk->area.is_active = 1;
542 task_active = tsk;
543 }
544 panel_refresh = 1;
545 }
546 }
547
548
549 void event_timer()
550 {
551 struct timeval stv;
552 int i;
553
554 if (gettimeofday(&stv, 0)) return;
555
556 if (abs(stv.tv_sec - time_clock.tv_sec) < time_precision) return;
557 time_clock.tv_sec = stv.tv_sec;
558 time_clock.tv_sec -= time_clock.tv_sec % time_precision;
559
560 // urgent task
561 if (task_urgent) {
562 if (tick_urgent < max_tick_urgent) {
563 task_urgent->area.is_active = !task_urgent->area.is_active;
564 task_urgent->area.redraw = 1;
565 tick_urgent++;
566 }
567 }
568
569 // update battery
570 #ifdef ENABLE_BATTERY
571 if (panel1[0].battery.area.on_screen) {
572 update_battery();
573 for (i=0 ; i < nb_panel ; i++)
574 panel1[i].battery.area.resize = 1;
575 }
576 #endif
577
578 // update clock
579 if (time1_format) {
580 for (i=0 ; i < nb_panel ; i++)
581 panel1[i].clock.area.resize = 1;
582 }
583 panel_refresh = 1;
584 }
585
586
587 int main (int argc, char *argv[])
588 {
589 XEvent e;
590 fd_set fd;
591 int x11_fd, i, c;
592 struct timeval tv;
593 Panel *panel;
594 GSList *it;
595
596 init ();
597
598 load_config:
599 i = 0;
600 c = getopt (argc, argv, "c:");
601 init_config();
602 if (c != -1) {
603 i = config_read_file (optarg);
604 c = getopt (argc, argv, "j:");
605 if (c != -1) {
606 // usage: tint2 [-c] <config_file> -j <file> for internal use
607 printf("file %s\n", optarg);
608 cleanup();
609 exit(0);
610 }
611 }
612 if (!i)
613 i = config_read ();
614 if (!i) {
615 fprintf(stderr, "usage: tint2 [-c] <config_file>\n");
616 cleanup();
617 exit(1);
618 }
619 config_finish();
620
621 x11_fd = ConnectionNumber(server.dsp);
622 XSync(server.dsp, False);
623
624 while (1) {
625 // thanks to AngryLlama for the timer
626 // Create a File Description Set containing x11_fd
627 FD_ZERO (&fd);
628 FD_SET (x11_fd, &fd);
629
630 tv.tv_usec = 500000;
631 tv.tv_sec = 0;
632
633 // Wait for X Event or a Timer
634 if (select(x11_fd+1, &fd, 0, 0, &tv)) {
635 while (XPending (server.dsp)) {
636 XNextEvent(server.dsp, &e);
637
638 switch (e.type) {
639 case ButtonPress:
640 event_button_press (&e);
641 break;
642
643 case ButtonRelease:
644 event_button_release(&e);
645 break;
646
647 case Expose:
648 event_expose(&e);
649 break;
650
651 case PropertyNotify:
652 event_property_notify(&e);
653 break;
654
655 case ConfigureNotify:
656 if (e.xconfigure.window == server.root_win)
657 goto load_config;
658 else
659 event_configure_notify (e.xconfigure.window);
660 break;
661
662 case ReparentNotify:
663 if (!systray.area.on_screen)
664 break;
665 panel = (Panel*)systray.area.panel;
666 if (e.xany.window == panel->main_win) // reparented to us
667 break;
668 // FIXME: 'reparent to us' badly detected => disabled
669 break;
670 case UnmapNotify:
671 case DestroyNotify:
672 if (!systray.area.on_screen)
673 break;
674 for (it = systray.list_icons; it; it = g_slist_next(it)) {
675 if (((TrayWindow*)it->data)->id == e.xany.window) {
676 remove_icon((TrayWindow*)it->data);
677 break;
678 }
679 }
680 break;
681
682 case ClientMessage:
683 if (!systray.area.on_screen) break;
684 if (e.xclient.message_type == server.atom._NET_SYSTEM_TRAY_OPCODE && e.xclient.format == 32 && e.xclient.window == net_sel_win) {
685 net_message(&e.xclient);
686 }
687 break;
688 }
689 }
690 }
691 event_timer();
692
693 switch (signal_pending) {
694 case SIGUSR1:
695 signal_pending = 0;
696 goto load_config;
697 case SIGINT:
698 case SIGTERM:
699 case SIGHUP:
700 cleanup ();
701 return 0;
702 }
703
704 if (panel_refresh) {
705 panel_refresh = 0;
706
707 if (refresh_systray) {
708 panel = (Panel*)systray.area.panel;
709 XSetWindowBackgroundPixmap (server.dsp, panel->main_win, None);
710 }
711 for (i=0 ; i < nb_panel ; i++) {
712 panel = &panel1[i];
713
714 if (panel->temp_pmap) XFreePixmap(server.dsp, panel->temp_pmap);
715 panel->temp_pmap = XCreatePixmap(server.dsp, server.root_win, panel->area.width, panel->area.height, server.depth);
716
717 refresh(&panel->area);
718 XCopyArea(server.dsp, panel->temp_pmap, panel->main_win, server.gc, 0, 0, panel->area.width, panel->area.height, 0, 0);
719 }
720 XFlush (server.dsp);
721
722 if (refresh_systray) {
723 refresh_systray = 0;
724 panel = (Panel*)systray.area.panel;
725 // tint2 doen't draw systray icons. it just redraw background.
726 XSetWindowBackgroundPixmap (server.dsp, panel->main_win, panel->temp_pmap);
727 // force icon's refresh
728 refresh_systray_icon();
729 }
730 }
731 }
732 }
733
734
This page took 0.070717 seconds and 5 git commands to generate.