/*
* Viking - GPS data editor
- * Copyright (C) 2007 Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
+ * Copyright (C) 2007, Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
* Based on:
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@linuxmag.com.br>
+ * Copyright (C) 2003-2007, Leandro A. F. Pereira <leandro@linuxmag.com.br>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#include <glib/gi18n.h>
#include <glib/gprintf.h>
+#include "util.h"
#include "dialog.h"
+#ifndef WINDOWS
static gboolean spawn_command_line_async(const gchar * cmd,
const gchar * arg)
{
return status;
}
+#endif
void open_url(GtkWindow *parent, const gchar * url)
{
"sensible-browser", "firefox", "epiphany",
"iceweasel", "seamonkey", "galeon", "mozilla",
"opera", "konqueror", "netscape", "links -g",
+ "chromium-browser", "chromium", "chrome",
+ "safari", "camino", "omniweb", "icab",
NULL
};
gint i=0;
return(esc_str);
}
+
+GList * str_array_to_glist(gchar* data[])
+{
+ GList *gl = NULL;
+ gpointer * p;
+ for (p = (gpointer)data; *p; p++)
+ gl = g_list_prepend(gl, *p);
+ return g_list_reverse(gl);
+}