+2009-07-19
+- fixed systray crash by mart1987
+
2009-07-14
- play with some tint2conf code
void cleanup_systray()
{
if (systray.list_icons) {
- GSList *it;
-
- for (it = systray.list_icons; it; it = it->next)
- remove_icon((TrayWindow*)it->data);
+ // remove_icon change systray.list_icons
+ while(systray.list_icons)
+ remove_icon((TrayWindow*)systray.list_icons->data);
g_slist_free(systray.list_icons);
systray.list_icons = 0;
#include <glib/gi18n.h>
-// gcc -Wall -g main.c -o tint2conf `pkg-config --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0 --libs gthread-2.0`
// need GTK+-2.4 ou plus
#define LONG_VERSION_STRING "0.2"
" </menu>"
" </menubar>"
" <toolbar name='ToolBar'>"
- " <toolitem action='ViewRefreshAll'/>"
- " <separator/>"
- " <toolitem action='ThemeProperties'/>"
" <toolitem action='ViewApply'/>"
" </toolbar>"
"</ui>";