~ubuntu-branches/ubuntu/quantal/xshisen/quantal

« back to all changes in this revision

Viewing changes to menubar.C

  • Committer: Bazaar Package Importer
  • Author(s): Joey Hess
  • Date: 2005-01-27 02:42:26 UTC
  • Revision ID: james.westby@ubuntu.com-20050127024226-ipyta7pqhaj8tm9y
Tags: 1.51-1-1.2
* NMU (at maintainer's request).
* Add NO_GLOBAL_HIGHSCORE define which crudely disables the support for
  a global score file.
* Remove sgid bit. Closes: #291613, #292065
* Comment out code in postinst that set up /var/games/xshisen.scores,
  but for now, do not delete that file on upgrade.
* Add README.Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
158
158
                  (XtCallbackProc)GameCB, (XtPointer)1);
159
159
    XtAddCallback(XtNameToWidget(menushell0, "button_2"), XtNcallback,
160
160
                  (XtCallbackProc)GameCB, (XtPointer)2);
 
161
#ifdef NO_GLOBAL_HIGHSCORE
 
162
    XtVaSetValues(XtNameToWidget(menushell0, "button_3"), XtNsensitive,
 
163
                  False, NULL);
 
164
#else
161
165
    XtAddCallback(XtNameToWidget(menushell0, "button_3"), XtNcallback,
162
166
                  (XtCallbackProc)GameCB, (XtPointer)3);
 
167
#endif
163
168
    XtAddCallback(XtNameToWidget(menushell0, "button_4"), XtNcallback,
164
169
                  (XtCallbackProc)GameCB, (XtPointer)4);
165
170
    XtAddCallback(XtNameToWidget(menushell0, "button_5"), XtNcallback,