gnome-control-center/capplets/default-applications/gnome-default-applications-properties-structs.c

54 lines
1.6 KiB
C
Raw Normal View History

2002-01-14 20:34:16 +00:00
struct _BrowserDescription
{
gchar *name;
2002-01-14 20:34:16 +00:00
gchar *executable_name;
gchar *command;
2002-01-14 20:34:16 +00:00
gboolean needs_term;
gboolean nremote;
gboolean in_path;
};
struct _HelpViewDescription
{
gchar *name;
gchar *executable_name;
gboolean needs_term;
gboolean accepts_urls;
gboolean in_path;
};
struct _TerminalDesciption
{
gchar *name;
gchar *exec;
gchar *exec_arg;
gboolean in_path;
};
BrowserDescription possible_browsers[] =
{
{ "Lynx Text Browser", "lynx", "lynx %s", TRUE, FALSE, FALSE },
{ "Links Text Browser" , "links", "links %s", TRUE, FALSE, FALSE },
{ "Netscape Communicator", "netscape", "netscape %s", FALSE, TRUE, FALSE },
{ "Mozilla/Netscape 6", "mozilla", "mozilla %s", FALSE, TRUE, FALSE },
{ "Galeon", "galeon", "galeon %s", FALSE, FALSE, FALSE },
{ "Encompass", "encompass", "encompass %s", FALSE, FALSE, FALSE },
{ "Konqueror", "konqueror", "konqueror %s", FALSE, FALSE, FALSE }
2002-01-14 20:34:16 +00:00
};
HelpViewDescription possible_help_viewers[] =
{
{ "Yelp Gnome Help Browser", "yelp", FALSE, TRUE, FALSE },
{ "Gnome Help Browser", "gnome-help", FALSE, TRUE, FALSE },
{ "Nautilus", "nautilus", FALSE, TRUE, FALSE }
2002-01-14 20:34:16 +00:00
};
TerminalDescription possible_terminals[] =
{
{ "Gnome Terminal", "gnome-terminal", "-x", FALSE },
{ "Standard XTerminal", "xterm", "-e", FALSE },
{ "NXterm", "nxterm", "-e", FALSE },
{ "RXVT", "rxvt", "-e", FALSE },
{ "ETerm", "Eterm", "-e", FALSE }
};