Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better win32 package. #55

Merged
merged 99 commits into from
Dec 12, 2023
Merged

Better win32 package. #55

merged 99 commits into from
Dec 12, 2023

Conversation

PerryWerneck
Copy link
Owner

No description provided.

@PerryWerneck PerryWerneck added the enhancement New feature or request label Dec 12, 2023
@PerryWerneck PerryWerneck self-assigned this Dec 12, 2023
Comment on lines +33 to +59
/*
static void failed() {

GtkWidget * dialog = gtk_message_dialog_new_with_markup(
NULL,
0,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
_("Can't load system settings")
);

gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog),_("Unable to initialize system settings. Application may crash in unexpected ways"));

gtk_window_set_title(GTK_WINDOW(dialog),_("System settings error"));

gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);

gtk_widget_show_all(dialog);

gtk_dialog_run(GTK_DIALOG(dialog));

gtk_widget_destroy(dialog);

g_application_quit(g_application_get_default());

}
*/

Check notice

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.
Comment on lines +282 to +296
/*
{
lib3270_autoptr(char) plugin_path = lib3270_build_data_filename("plugins",NULL);
pw3270_load_plugins_from_path(app, plugin_path);
HKEY hKey;
DWORD cbData = 4096;
g_autofree gchar *path = g_malloc0(cbData);

if(RegOpenKeyEx(HKEY_LOCAL_MACHINE,G_STRINGIFY(PRODUCT_NAME)"\\plugin",0,KEY_READ,&hKey) == ERROR_SUCCESS) {
DWORD dwRet = RegQueryValueEx(hKey,"path",NULL,NULL,(LPBYTE) path, &cbData);
if(dwRet != ERROR_SUCCESS && *path) {
pw3270_load_plugins_from_path(app, path);
}
CloseHandle(hKey);
}
}
*/

Check notice

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.
@PerryWerneck PerryWerneck merged commit c33f934 into master Dec 12, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant