app/widgets/gimpactionview.c specify alternative button order for message

2007-10-09  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpactionview.c
	* app/widgets/gimphelp.c: specify alternative button order for
	message dialogs.

	* app/dialogs/user-install-dialog.c: removed trailing 
whitespace.


svn path=/trunk/; revision=23771
This commit is contained in:
Sven Neumann
2007-10-09 08:04:31 +00:00
committed by Sven Neumann
parent 6136c89051
commit be1aa48cac
4 changed files with 45 additions and 23 deletions

View File

@ -1,3 +1,11 @@
2007-10-09 Sven Neumann <sven@gimp.org>
* app/widgets/gimpactionview.c
* app/widgets/gimphelp.c: specify alternative button order for
message dialogs.
* app/dialogs/user-install-dialog.c: removed trailing whitespace.
2007-10-08 Sven Neumann <sven@gimp.org>
* app/tools/gimpperspectiveclonetool.c: implement button_release

View File

@ -546,6 +546,10 @@ gimp_action_view_conflict_confirm (GimpActionView *view,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
g_signal_connect (dialog, "response",
G_CALLBACK (gimp_action_view_conflict_response),
confirm_data);

View File

@ -257,13 +257,21 @@ gimp_help_browser_error (Gimp *gimp,
NULL);
gimp_message_box_set_primary_text (GIMP_MESSAGE_DIALOG (dialog)->box, primary);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
gimp_message_box_set_primary_text (GIMP_MESSAGE_DIALOG (dialog)->box,
primary);
gimp_message_box_set_text (GIMP_MESSAGE_DIALOG (dialog)->box, text);
if (gimp_dialog_run (GIMP_DIALOG (dialog)) == GTK_RESPONSE_OK)
{
g_object_set (gimp->config,
"help-browser", GIMP_HELP_BROWSER_WEB_BROWSER,
NULL);
}
gtk_widget_destroy (dialog);
}
@ -282,7 +290,8 @@ gimp_help_call (Gimp *gimp,
{
GValueArray *return_vals;
return_vals = gimp_pdb_execute_procedure_by_name (gimp->pdb,
return_vals =
gimp_pdb_execute_procedure_by_name (gimp->pdb,
gimp_get_user_context (gimp),
NULL,
procedure_name,
@ -346,7 +355,8 @@ gimp_help_call (Gimp *gimp,
help_id ? help_id : "(null)");
#endif
return_vals = gimp_pdb_execute_procedure_by_name (gimp->pdb,
return_vals =
gimp_pdb_execute_procedure_by_name (gimp->pdb,
gimp_get_user_context (gimp),
NULL,
"extension-gimp-help-temp",