gnome-utils r7881 - trunk/gnome-screenshot



Author: sbacher
Date: Tue Apr  8 19:05:31 2008
New Revision: 7881
URL: http://svn.gnome.org/viewvc/gnome-utils?rev=7881&view=rev

Log:
2008-04-08  Sebastien Bacher  <seb128 ubuntu com>

	* gnome-screenshot.c: (create_interactive_dialog):
	set the default response to the ok action (#487134)


Modified:
   trunk/gnome-screenshot/ChangeLog
   trunk/gnome-screenshot/gnome-screenshot.c

Modified: trunk/gnome-screenshot/gnome-screenshot.c
==============================================================================
--- trunk/gnome-screenshot/gnome-screenshot.c	(original)
+++ trunk/gnome-screenshot/gnome-screenshot.c	Tue Apr  8 19:05:31 2008
@@ -480,6 +480,8 @@
                           _("Take _Screenshot"), GTK_RESPONSE_OK,
                           NULL);
 
+  gtk_dialog_set_default_response (GTK_DIALOG (retval), GTK_RESPONSE_OK);
+
   /* we need to block on "response" and keep showing the interactive
    * dialog in case the user did choose "help"
    */



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