Feature #238 ยป 0039-Clear-trailing-spaces-from-fcmp-code.patch
tools/fcmp/download.c | ||
---|---|---|
secfile_destroy(control);
|
||
return _("Modpack control file is incompatible");
|
||
return _("Modpack control file is incompatible");
|
||
}
|
||
mpname = secfile_lookup_str(control, "info.name");
|
||
... | ... | |
}
|
||
dep++;
|
||
|
||
} while (dep_name != NULL);
|
||
... | ... | |
secfile_destroy(list_file);
|
||
return _("Modpack list is incompatible");
|
||
return _("Modpack list is incompatible");
|
||
}
|
||
msg = secfile_lookup_str_default(list_file, NULL, "info.message");
|
||
... | ... | |
} else {
|
||
sz_strlcpy(mpURL_full, mpURL);
|
||
}
|
||
|
||
cb(mp_name, mpURL_full, mpver, mplic, type, _(mp_subtype), mp_notes);
|
||
}
|
||
modpack_count++;
|
tools/fcmp/mpcmdline.h | ||
---|---|---|
/**********************************************************************
|
||
/***********************************************************************
|
||
Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
|
||
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
|
tools/fcmp/mpgui_gtk3.c | ||
---|---|---|
#define ML_COL_INST 2
|
||
#define ML_COL_TYPE 3
|
||
#define ML_COL_SUBTYPE 4
|
||
#define ML_COL_LIC 5
|
||
#define ML_COL_LIC 5
|
||
#define ML_COL_URL 6
|
||
#define ML_COL_COUNT 7
|
||
... | ... | |
gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_MOUSE);
|
||
g_signal_connect(dialog, "response",
|
||
g_signal_connect(dialog, "response",
|
||
G_CALLBACK(quit_dialog_response), NULL);
|
||
g_signal_connect(dialog, "destroy",
|
||
G_CALLBACK(gtk_widget_destroyed), &dialog);
|
||
... | ... | |
main_list = gtk_tree_view_new();
|
||
renderer = gtk_cell_renderer_text_new();
|
||
gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(main_list),
|
||
ML_COL_NAME,
|
||
ML_COL_NAME,
|
||
_("Name"), renderer, "text", 0,
|
||
NULL);
|
||
renderer = gtk_cell_renderer_text_new();
|
tools/fcmp/mpgui_gtk4.c | ||
---|---|---|
#define ML_COL_INST 2
|
||
#define ML_COL_TYPE 3
|
||
#define ML_COL_SUBTYPE 4
|
||
#define ML_COL_LIC 5
|
||
#define ML_COL_LIC 5
|
||
#define ML_COL_URL 6
|
||
#define ML_COL_COUNT 7
|
||
... | ... | |
main_list = gtk_tree_view_new();
|
||
renderer = gtk_cell_renderer_text_new();
|
||
gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(main_list),
|
||
ML_COL_NAME,
|
||
ML_COL_NAME,
|
||
_("Name"), renderer, "text", 0,
|
||
NULL);
|
||
renderer = gtk_cell_renderer_text_new();
|
tools/fcmp/mpgui_gtk5.c | ||
---|---|---|
#define ML_COL_INST 2
|
||
#define ML_COL_TYPE 3
|
||
#define ML_COL_SUBTYPE 4
|
||
#define ML_COL_LIC 5
|
||
#define ML_COL_LIC 5
|
||
#define ML_COL_URL 6
|
||
#define ML_COL_COUNT 7
|
||
... | ... | |
main_list = gtk_tree_view_new();
|
||
renderer = gtk_cell_renderer_text_new();
|
||
gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(main_list),
|
||
ML_COL_NAME,
|
||
ML_COL_NAME,
|
||
_("Name"), renderer, "text", 0,
|
||
nullptr);
|
||
renderer = gtk_cell_renderer_text_new();
|