Changeset e3caa739b035dc68fe130b1f935e7df3ae53a88a

Show
Ignore:
Timestamp:
09/30/07 23:47:50 (6 years ago)
Author:
Armin Burgmeier <armin@…>
Parents:
3f834456a4d4db6e49dd0a04b1424f2d777a77fc
Children:
3752fd809ac835ae6c3a647bd5fede233249a515
git-committer:
Armin Burgmeier <armin@0x539.de> / 2007-09-30T21:47:50Z+0000
Message:

2007-09-30 Benjamin Herr <ben@…>

  • src/window.cpp: Make sure that the two buttons on the confirmation dialog when exiting gobby with a session running do not have the same mnemonics.
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r3f83445 re3caa739  
     12007-09-30  Benjamin Herr  <ben@0x539.de> 
     2 
     3        * src/window.cpp: Make sure that the two buttons on the confirmation 
     4        dialog when exiting gobby with a session running do not have the same 
     5        mnemonics. 
     6 
    172007-09-20  Philipp Kern <phil@0x539.de> 
    28 
  • src/window.cpp

    r5b73900 re3caa739  
    285285        ); 
    286286 
    287         dlg.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL); 
    288         dlg.add_button(Gtk::Stock::CLOSE, Gtk::RESPONSE_YES)->grab_focus(); 
     287        Gtk::Image* img = Gtk::manage(new Gtk::Image(Gtk::Stock::CANCEL, 
     288                                                     Gtk::ICON_SIZE_BUTTON)); 
     289        Gtk::Button* cancel_button 
     290                = dlg.add_button(_("C_ancel"), Gtk::RESPONSE_CANCEL); 
     291        dlg.add_button(Gtk::Stock::CLOSE, Gtk::RESPONSE_YES); 
     292        cancel_button->set_image(*img); 
     293        cancel_button->grab_focus(); 
    289294 
    290295        return dlg.run() != Gtk::RESPONSE_YES;