← Back to team overview

aesthete-team team mailing list archive

Fix for initial dialogue focus

 

Hi all,

Please find attached a fix to the initial information dialogue, which focuses on the OK button and not the check button. It strikes me that the people who want the reminder want to quickly get out of it, and the people who don't want the reminder can use the mouse once to tick the box and get rid of it permanently.

Cheers,

Chris.
=== modified file 'aesthete_ime.py'
--- aesthete_ime.py	2011-10-06 20:14:29 +0000
+++ aesthete_ime.py	2011-10-26 21:34:29 +0000
@@ -131,6 +131,7 @@
             noshow_hbox.pack_start(gtk.Label('Don\'t show this again'))
             vbox.pack_start(noshow_hbox, False)
             vbox.show_all()
+            dialog.get_widget_for_response(gtk.RESPONSE_ACCEPT).grab_focus()
             dialog.run()
             dialog.destroy()
             if noshow_chbn.get_active() :


Follow ups