ede/ede-preferred-applications/PredefApps.h

51 lines
1019 B
C
Raw Normal View History

2011-10-21 19:20:48 +04:00
#ifndef __PREDEFAPPS_H__
#define __PREDEFAPPS_H__
2011-10-21 19:20:48 +04:00
#include <edelib/Nls.h>
struct KnownApp {
const char *name;
const char *cmd;
};
#define KNOWN_APP_END {0, 0}
/* to allow inclusion from single place, without issuing gcc warnings */
#if KNOWN_APP_PREDEFINED
static KnownApp app_browsers[] = {
{"Mozilla Firefox", "firefox"},
{"Mozilla Seamonkey", "seamonkey"},
{"Google Chrome", "google-chrome"},
{"Midori", "midori"},
{"Konqueror", "konqueror"},
{"Dillo", "dillo"},
KNOWN_APP_END
};
static KnownApp app_mails[] = {
{"Mozilla Thunderbird", "thunderbird"},
{"Evolution", "evolution"},
2011-10-26 13:01:36 +04:00
{"Claws Mail", "claws-mail"},
KNOWN_APP_END
};
static KnownApp app_filemanagers[] = {
{"Thunar", "thunar"},
{"Nautilus", "nautilus"},
{"Dolphin", "dolphin"},
{"Konqueror", "konqueror"},
KNOWN_APP_END
};
static KnownApp app_terminals[] = {
{"X11 terminal", "xterm"},
{"Rxvt", "rxvt"},
{"Mrxvt", "mrxvt"},
{"Xfce Terminal", "xfterm4"},
{"GNOME Terminal", "gnome-terminal"},
KNOWN_APP_END
};
#endif
#endif