gimp r26085 - in trunk: . app/widgets



Author: neo
Date: Mon Jul  7 18:32:53 2008
New Revision: 26085
URL: http://svn.gnome.org/viewvc/gimp?rev=26085&view=rev

Log:
2008-07-07  Sven Neumann  <sven gimp org>

	* app/widgets/gimphelp.c (gimp_help_query_user_manual_online):
	changed button label and added an icon.



Modified:
   trunk/ChangeLog
   trunk/app/widgets/gimphelp.c

Modified: trunk/app/widgets/gimphelp.c
==============================================================================
--- trunk/app/widgets/gimphelp.c	(original)
+++ trunk/app/widgets/gimphelp.c	Mon Jul  7 18:32:53 2008
@@ -569,18 +569,25 @@
 gimp_help_query_user_manual_online (GimpIdleHelp *idle_help)
 {
   GtkWidget *dialog;
+  GtkWidget *button;
 
   dialog = gimp_message_dialog_new (_("GIMP user manual is missing"),
                                     GIMP_STOCK_USER_MANUAL,
                                     NULL, 0, NULL, NULL,
-                                    GTK_STOCK_CANCEL,         GTK_RESPONSE_CANCEL,
-                                    _("Use _Online Version"), GTK_RESPONSE_ACCEPT,
+                                    GTK_STOCK_CANCEL,  GTK_RESPONSE_CANCEL,
                                     NULL);
 
+  button = gtk_dialog_add_button (GTK_DIALOG (dialog),
+                                  _("_Read Online"), GTK_RESPONSE_ACCEPT);
+  gtk_button_set_image (GTK_BUTTON (button),
+                        gtk_image_new_from_stock (GIMP_STOCK_WEB,
+                                                  GTK_ICON_SIZE_BUTTON));
+
   gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
                                            GTK_RESPONSE_ACCEPT,
                                            GTK_RESPONSE_CANCEL,
                                            -1);
+  gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT);
 
   if (idle_help->progress)
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]