Fixed documentation link localisation

pull/74/head
parent 7cee64a5c1
commit b64c2a5d81

@ -82,11 +82,15 @@ void on_open_documentation_confirmation(GtkWidget *self, char *link){
gtk_window_set_icon_name(GTK_WINDOW(window->Window),yon_char_append("com.ublinux.",template_app_information.app_tech_name));
gtk_widget_show_all(window->Window);
g_signal_connect(G_OBJECT(window->CloseButton),"clicked",G_CALLBACK(on_subwindow_close),NULL);
textdomain(template_app_information.app_locale);
g_signal_connect(G_OBJECT(window->AcceptButton),"clicked",G_CALLBACK(yon_open_browser),yon_char_new(_(link)));
textdomain(template_ui_LocaleName);
g_signal_connect(G_OBJECT(window->AcceptButton),"clicked",G_CALLBACK(on_subwindow_close),NULL);
} else {
textdomain(template_app_information.app_locale);
yon_open_browser(self,_(link));
textdomain(template_ui_LocaleName);
}
textdomain(template_app_information.app_locale);
}

Loading…
Cancel
Save