~ubuntu-branches/ubuntu/saucy/groundhog/saucy

« back to all changes in this revision

Viewing changes to src/options_dialog.cc

  • Committer: Bazaar Package Importer
  • Author(s): Stephen M Moraco
  • Date: 2003-06-18 19:46:15 UTC
  • mto: (2.1.1 warty)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20030618194615-sztk57bkfjhmctl4
Tags: upstream-1.4
ImportĀ upstreamĀ versionĀ 1.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Groundhog -- a simple logic game
2
 
 * Copyright (C) 1998-2001 Maurits Rijk
 
2
 * Copyright (C) 1998-2002 Maurits Rijk
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
5
5
 * it under the terms of the GNU General Public License as published by
20
20
#include "intl.h"
21
21
#include "options_dialog.h"
22
22
 
23
 
OptionsDialog::OptionsDialog(Game* game) : Dialog(_("Options")), _game(game)
 
23
OptionsDialog::OptionsDialog(Game* game) : Dialog(_("Preferences")), 
 
24
                                           _game(game)
24
25
{
25
 
   SetSize(150, 120);
26
 
 
27
26
   GtkWidget* box = gtk_hbox_new(FALSE, 1);;
28
27
   gtk_container_border_width(GTK_CONTAINER(box), 10);
29
28
   gtk_box_pack_start(GTK_BOX(GTK_DIALOG(_window)->vbox), box, TRUE, TRUE, 10);
30
 
   _tooltips = gtk_check_button_new_with_label(_("Show Tooltips"));
 
29
   _tooltips = gtk_check_button_new_with_mnemonic(_("_Show Tooltips"));
31
30
   gtk_container_add(GTK_CONTAINER(box), _tooltips);
32
31
   gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(_tooltips), TRUE);
33
 
   gtk_widget_show(_tooltips);
34
 
   gtk_widget_show(box);
 
32
 
35
33
   AddCancelButton();
36
34
}
37
35