Changeset 38a2bba86593c70b13140e77be812bb11e2c9434

Show
Ignore:
Timestamp:
01/06/07 23:51:58 (6 years ago)
Author:
Philipp Kern <phil@…>
Parents:
afc8e5a4286f54bb8f05a05e8d836bce2342bc45
Children:
6a1dc8218d9c056a9dc27abb647929ef1804f852
git-committer:
Philipp Kern <phil@0x539.de> / 2007-01-06T22:51:58Z+0000
Message:

[project @ pre-select the save button in close confirmation dialog]

Original author: Armin Burgmeier <armin@…>
Date: 2005-11-05 21:41:11+00:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/window.cpp

    rafc8e5a r38a2bba  
    10321032                dlg.add_button("Close without saving", Gtk::RESPONSE_REJECT); 
    10331033                dlg.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL); 
    1034                 dlg.add_button(Gtk::Stock::SAVE, Gtk::RESPONSE_ACCEPT); 
     1034                dlg.add_button(Gtk::Stock::SAVE, Gtk::RESPONSE_ACCEPT)->grab_focus(); 
    10351035 
    10361036                // Show the dialog