Display window icons/names

Add optional link on libwnck (default=yes) and build a new object from
app-manager.c to keep an up to date list of applications with their name
and icon. Use it inside the task manager object to display inside the
tree view.
This commit is contained in:
Mike Massonnet
2010-06-04 14:41:28 +02:00
parent d4b63cac19
commit 2f995e8226
7 changed files with 380 additions and 11 deletions

View File

@@ -9,10 +9,14 @@ bin_PROGRAMS = \
xfce4-taskmanager
xfce4_taskmanager_CFLAGS = \
$(GTK_CFLAGS)
$(GTK_CFLAGS) \
$(WNCK_CFLAGS) \
$(NULL)
xfce4_taskmanager_LDADD = \
$(GTK_LIBS)
$(GTK_LIBS) \
$(WNCK_LIBS) \
$(NULL)
xfce4_taskmanager_SOURCES = \
main.c \
@@ -24,6 +28,10 @@ xfce4_taskmanager_SOURCES = \
settings.c settings.h \
$(NULL)
if HAVE_WNCK
xfce4_taskmanager_SOURCES += app-manager.c app-manager.h
endif
if OS_FREEBSD
xfce4_taskmanager_SOURCES += task-manager-freebsd.c
endif