Skip to content

Instantly share code, notes, and snippets.

@koo5
Created May 31, 2014 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koo5/8f8c59b795787c0fb8d5 to your computer and use it in GitHub Desktop.
Save koo5/8f8c59b795787c0fb8d5 to your computer and use it in GitHub Desktop.
if(message_yes_no(win_gallery, "Close projekt", "Do you want to real close project without save"))
message_error(NULL, "CREATE DIR ERROR!!!", "I can not create directory for configuration for this program.");
message_error(NULL, "CREATE DIR ERROR!!!", "I can not create directory for colections for this program.");
message_error(NULL, "COPY DEFAULT THEMES ERROR!!!", "I can not copy the default themes to config dir");
gtk_message_dialog_format_secondary_markup(GTK_MESSAGE_DIALOG (dialog), "Gallery can show in <a href=\"%s\">index.html</a>.", name_index);
dialog = gtk_file_chooser_dialog_new ("Select export directory for your gallery",
message_error(win_gallery, "ERROR export gallery!", "Sorry, no free memory or your disk is full.");
message_error(win_gallery, "No import file!!!", "Sorry, but I do not know this format");
message_info(win_gallery, "Warning: Can't save the projekt", "In projekt is zero images. If do you want save, please, add images.");
snprintf(buffer, MAX_LENGHT_NAME, "Sorry, i can not create export file '%s/%s.gallery'.", projekt_root, projekt_name);
message_info(win_gallery, "Projekt was no save!!!", "Sorry, but project was not save. Check if you have a free disk memory");
message_error(win_gallery, "Projekt was save ...", NULL);
fprintf(stderr, "Error: fgets() line %d: Missing data in line to theme.\n", a+1, path_file);
message_error(win_gallery, "No create new item", "Sorry, i dont can create. I don't have a free memory.");
dialog = gtk_dialog_new_with_buttons ("Description for gallery ...",
#define DEFAULT_NO_TITLE "Click to write name of photo."
#define DEFAULT_NO_DECRIPTION "\nDescription to image.\n"
message_error(win_gallery, "CREATE DIR ERROR!!!", "I do not create directory for configuration this program.");
printf("WARNING: Projec not save ...");
"Sorry. You dont have enough free memory. Please, close the another programs and then run this program.\n");
message_info(NULL, "No name", "If do you want create new gallery, must you write the name of new gallery. You do not written name. Please, write.");
get_name_file_from_file("Select the new file for import");
label=gtk_label_new("This is first start this program.\nIf do you want read documentation to program, click help.\Click 'Close' to start work with program.\n\nThanks you for use this program.");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment