Hi! > > 1. We need to create a place in database to store the version for all > > the database data. A single data with one record seems to be a terrific > > waste of resources, but the direct solution. Maybe we can create a > > special property to store it ... > > > > 2. I need to implement the new dialog with Cancel, Upgrade buttons. > > That should just be a matter of changing 1 or 2 lines :) > A bit more, 5 lines :) (without formating, 2 lines :)): dialog = gtk_message_dialog_new (window, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, _("Database %s need to be upgraded " "from version %s to version %s."), database_name, VERSION, max_version_upgrade); gtk_dialog_add_buttons ((GtkDialog *) dialog, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, _("Upgrade"), GTK_RESPONSE_YES, NULL); Cheers > /Richard
Attachment:
signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente