diff --git a/mpanel/CMakeLists.txt b/mpanel/CMakeLists.txt index 5e50e8a..01cfd0a 100644 --- a/mpanel/CMakeLists.txt +++ b/mpanel/CMakeLists.txt @@ -15,6 +15,7 @@ endif() add_subdirectory(separator) add_subdirectory(startbutton) add_subdirectory(time) +add_subdirectory(taskbar) include(GNUInstallDirs) configure_file(mpanelrc.in mpanelrc) diff --git a/mpanel/mpanelrc.in b/mpanel/mpanelrc.in index 752db92..c4637d2 100644 --- a/mpanel/mpanelrc.in +++ b/mpanel/mpanelrc.in @@ -5,6 +5,9 @@ Modules: ( { Type = "Separator"; }, + { + Type = "TaskBar"; + }, { Type = "Separator"; }, diff --git a/mpanel/taskbar/CMakeLists.txt b/mpanel/taskbar/CMakeLists.txt new file mode 100644 index 0000000..db443f6 --- /dev/null +++ b/mpanel/taskbar/CMakeLists.txt @@ -0,0 +1,6 @@ +include(MDEBase) +include(MDEPkgConfig) +mde_setup_library(TaskBarModule ${CMAKE_INSTALL_LIBDIR}/mpanel) + +mde_pkg_config_add(TaskBarModule libconfig) + diff --git a/mpanel/taskbar/module.c b/mpanel/taskbar/module.c new file mode 100644 index 0000000..41bb3f6 --- /dev/null +++ b/mpanel/taskbar/module.c @@ -0,0 +1,6 @@ +#include +#include + +void module(MwWidget box, config_setting_t* setting) { + MwWidget b = MwCreateWidget(MwFrameClass, "taskbar", box, 0, 0, 0, 0); +}