#include "mapper-types.h"
#include "ui-common.h"
+#define MAP_REPO_LIST_URL "http://www.gnuite.com/nokia770/maemo-mapper/repos.txt"
+
typedef struct _RepoManInfo RepoManInfo;
struct _RepoManInfo {
GtkWidget *dialog;
printf("%s()\n", __PRETTY_FUNCTION__);
/* Get repo config file from www.gnuite.com. */
- if (GNOME_VFS_OK !=
- (vfs_result =
- gnome_vfs_read_entire_file
- ("http://www.gnuite.com/nokia770/maemo-mapper/repos.txt",
- &size, &bytes))) {
+ if (GNOME_VFS_OK != (vfs_result = gnome_vfs_read_entire_file
+ (MAP_REPO_LIST_URL, &size, &bytes))) {
popup_error(rmi->dialog,
_
("An error occurred while retrieving the repositories. "