View | Details | Raw Unified | Return to bug 264070 | Differences between
and this patch

Collapse All | Expand All

(-)src/xpad-tray.c (-18 / +4 lines)
Lines 28-34 Link Here
28
#include "xpad-settings.h"
28
#include "xpad-settings.h"
29
29
30
#ifdef HAVE_APP_INDICATOR
30
#ifdef HAVE_APP_INDICATOR
31
#include <libayatana-appindicator/app-indicator.h>
31
#include <libappindicator/app-indicator.h>
32
#endif
32
33
33
#include "xpad-tray.h"
34
#include "xpad-tray.h"
34
#include "xpad-app.h"
35
#include "xpad-app.h"
Lines 46-56 Link Here
46
	NEW_PAD
47
	NEW_PAD
47
};
48
};
48
49
50
static AppIndicator *app_indicator = NULL;
51
49
#define ICON_NAME "xpad"
52
#define ICON_NAME "xpad"
50
#define TRAY_ICON "xpad-panel"
53
#define TRAY_ICON "xpad-panel"
51
54
52
static AppIndicator *app_indicator = NULL;
53
54
static void menu_spawn (XpadSettings *settings)
55
static void menu_spawn (XpadSettings *settings)
55
{
56
{
56
	GtkWidget *pad = xpad_pad_new (xpad_app_get_pad_group (), settings);
57
	GtkWidget *pad = xpad_pad_new (xpad_app_get_pad_group (), settings);
Lines 205-222 Link Here
205
	else
206
	else
206
		return FALSE;
207
		return FALSE;
207
}
208
}
208
209
#else
210
211
void xpad_tray_init (XpadSettings *settings) {
212
}
213
214
void xpad_tray_dispose (XpadSettings *settings) {
215
}
216
217
gboolean xpad_tray_has_indicator ()
218
{
219
	return FALSE;
220
}
221
222
#endif

Return to bug 264070