diff options
Diffstat (limited to 'mate-applet')
-rw-r--r-- | mate-applet/Makefile.am | 6 | ||||
-rw-r--r-- | mate-applet/main.c | 1 | ||||
-rw-r--r-- | mate-applet/mdock-mate-panel-applet.c | 3 |
3 files changed, 8 insertions, 2 deletions
diff --git a/mate-applet/Makefile.am b/mate-applet/Makefile.am index 53c29a0..f46da38 100644 --- a/mate-applet/Makefile.am +++ b/mate-applet/Makefile.am @@ -1,9 +1,13 @@ +datadir = @datadir@ +datarootdir = @datarootdir@ +localedir = @localedir@ + if WANT_MATE_APPLET libexec_PROGRAMS = mdock-mate-panel-applet mdock_mate_panel_applet_SOURCES = main.c mdock-mate-panel-applet.c mdock-mate-panel-applet.h -mdock_mate_panel_applet_CPPFLAGS = $(GTK_CFLAGS) $(MATEPANELAPPLET_CFLAGS) -DG_LOG_DOMAIN=\"mdock-mate-panel-applet\" +mdock_mate_panel_applet_CPPFLAGS = $(GTK_CFLAGS) $(MATEPANELAPPLET_CFLAGS) -DG_LOG_DOMAIN=\"mdock-mate-panel-applet\" -DMATELOCALEDIR=\"$(localedir)\" mdock_mate_panel_applet_LDADD = $(GTK_LIBS) $(MATEPANELAPPLET_LIBS) ../libmdock/libmdock.la appletdir = $(datadir)/mate-panel/applets diff --git a/mate-applet/main.c b/mate-applet/main.c index 15db52a..ca364d4 100644 --- a/mate-applet/main.c +++ b/mate-applet/main.c @@ -19,6 +19,7 @@ #include <string.h> +#include "../config.h" #include "mdock-mate-panel-applet.h" static gboolean mdock_mate_panel_applet_factory(MatePanelApplet *applet, diff --git a/mate-applet/mdock-mate-panel-applet.c b/mate-applet/mdock-mate-panel-applet.c index bf846ce..7b304b2 100644 --- a/mate-applet/mdock-mate-panel-applet.c +++ b/mate-applet/mdock-mate-panel-applet.c @@ -17,10 +17,11 @@ * along with MDock. If not, see <http://www.gnu.org/licenses/>. */ +#include "../config.h" + #include <glib/gi18n.h> #include <mate-panel-applet-gsettings.h> -#include "../config.h" #include "mdock-mate-panel-applet.h" G_DEFINE_TYPE(MDockMatePanelApplet, mdock_mate_panel_applet, PANEL_TYPE_APPLET) |