all repos — tint2 @ 54188b9c0c7c28aae5c40fdd742f9a0640acb2a8

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

fixed systray crash by mart1987

git-svn-id: http://tint2.googlecode.com/svn/trunk@148 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
lorthiois@bbsoft.fr lorthiois@bbsoft.fr@121b4492-b84c-0410-8b4c-0d4edfb3f3cc
commit

54188b9c0c7c28aae5c40fdd742f9a0640acb2a8

parent

cf9ddbd9fbc476a18ce888cc9bdc8ea5089849ec

3 files changed, 6 insertions(+), 8 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,3 +1,6 @@

+2009-07-19 +- fixed systray crash by mart1987 + 2009-07-14 - play with some tint2conf code
M src/systray/systraybar.csrc/systray/systraybar.c

@@ -79,10 +79,9 @@

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;
M src/tint2conf/main.csrc/tint2conf/main.c

@@ -25,7 +25,6 @@ #include <glib/gstdio.h>

#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"

@@ -39,9 +38,6 @@ " <menu action='ThemeMenu'>"

" </menu>" " </menubar>" " <toolbar name='ToolBar'>" - " <toolitem action='ViewRefreshAll'/>" - " <separator/>" - " <toolitem action='ThemeProperties'/>" " <toolitem action='ViewApply'/>" " </toolbar>" "</ui>";