-void process_xlink( const char* filename, const char *menu_name, const char *base_url, GtkMenu *menu ){
+void process_xlink( const char* filename, const char *menu_name, const char *base_url, ui::Menu menu ){
if ( file_exists( filename ) ) {
xmlDocPtr pDoc = xmlParseFile( filename );
if ( pDoc ) {
globalOutputStream() << "Processing .xlink file '" << filename << "'\n";
// create sub menu
if ( file_exists( filename ) ) {
xmlDocPtr pDoc = xmlParseFile( filename );
if ( pDoc ) {
globalOutputStream() << "Processing .xlink file '" << filename << "'\n";
// create sub menu
- if ( strstr( reinterpret_cast<const char*>( prop ), "http://" ) ) {
+ if ( strstr( reinterpret_cast<const char*>( prop ), "http://" ) ||
+ strstr( reinterpret_cast<const char*>( prop ), "https://" ) ) {
StringOutputStream filename( 256 );
filename << AppPath_get() << "global.xlink";
process_xlink( filename.c_str(), "General", AppPath_get(), menu );
StringOutputStream filename( 256 );
filename << AppPath_get() << "global.xlink";
process_xlink( filename.c_str(), "General", AppPath_get(), menu );