1 --- xfce4-panel-4.8.6/migrate/main.c~ 2011-09-21 20:59:09.000000000 +0200
2 +++ xfce4-panel-4.8.6/migrate/main.c 2011-10-24 12:09:17.247228900 +0200
6 gint retval = EXIT_SUCCESS;
7 - gint default_response = GTK_RESPONSE_CANCEL;
8 XfconfChannel *channel;
13 button = gtk_dialog_add_button (GTK_DIALOG (dialog), _("Migrate old config"), GTK_RESPONSE_OK);
14 gtk_widget_set_tooltip_text (button, _("Migrate the old 4.6 configuration to Xfconf"));
15 - default_response = GTK_RESPONSE_OK;
21 button = gtk_dialog_add_button (GTK_DIALOG (dialog), _("Use default config"), GTK_RESPONSE_YES);
22 gtk_widget_set_tooltip_text (button, _("Load the default configuration"));
24 - if (default_response == GTK_RESPONSE_CANCEL)
25 - default_response = GTK_RESPONSE_YES;
28 - button = gtk_dialog_add_button (GTK_DIALOG (dialog), _("One empty panel"), GTK_RESPONSE_CANCEL);
29 - gtk_widget_set_tooltip_text (button, _("Start with one empty panel"));
31 - gtk_dialog_set_default_response (GTK_DIALOG (dialog), default_response);
32 + gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_YES);
33 result = gtk_dialog_run (GTK_DIALOG (dialog));
34 gtk_widget_destroy (dialog);