Do make in src/plugins/cpu a bit simpler, include <lxpanel/plugin.h> was overkill.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Sat, 26 Jul 2014 17:49:15 +0000 (20:49 +0300)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Sat, 26 Jul 2014 17:49:15 +0000 (20:49 +0300)
lxpanel [deleted symlink]
src/plugins/cpu/Makefile.am
src/plugins/cpu/cpu.c
src/plugins/launchtaskbar.c

diff --git a/lxpanel b/lxpanel
deleted file mode 120000 (symlink)
index e831038..0000000
--- a/lxpanel
+++ /dev/null
@@ -1 +0,0 @@
-src
\ No newline at end of file
index c9e09fc..38f54cd 100644 (file)
@@ -1,4 +1,5 @@
 cpu_la_CFLAGS = \
+       -I$(top_srcdir)/src \
        $(PACKAGE_CFLAGS) \
        $(G_CAST_CHECKS)
 
index 393eac5..b6b84f4 100644 (file)
@@ -28,7 +28,7 @@
 #include <stdlib.h>
 #include <glib/gi18n.h>
 
-#include <lxpanel/plugin.h>
+#include "plugin.h"
 
 #define BORDER_SIZE 2
 #define PANEL_HEIGHT_DEFAULT 26 /* from panel defaults */
index 511d279..2c7c272 100644 (file)
@@ -1376,6 +1376,8 @@ static GtkWidget *launchtaskbar_configure(Panel *panel, GtkWidget *p, GtkWindow
         btn = (GtkWidget *)gtk_builder_get_object(builder, "button_down");
         g_signal_connect(btn, "clicked", G_CALLBACK(launchbar_configure_move_down_button), ltbp);
 
+        /* FIXME: add a button 'New' with launcher creation dialog */
+
         g_signal_connect(defined_view, "button-press-event", G_CALLBACK(on_defined_view_button_press_event), ltbp);
         g_signal_connect(defined_view, "cursor-changed", G_CALLBACK(on_defined_view_cursor_changed), ltbp);
         g_signal_connect(menu_view, "cursor-changed", G_CALLBACK(on_menu_view_cursor_changed), ltbp);
@@ -3458,6 +3460,7 @@ LXPanelPluginInit lxpanel_static_plugin_launchtaskbar = {
     .init = launchtaskbar_init,
     .new_instance = launchtaskbar_constructor,
     .config = launchtaskbar_configure,
+    /* .update_context_menu = launchtaskbar_update_context_menu, */
     .reconfigure = launchtaskbar_panel_configuration_changed
 };