/[gentoo-x86]/games-strategy/xconq/files/xconq-tkconq.patch
Gentoo

Contents of /games-strategy/xconq/files/xconq-tkconq.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Nov 28 19:03:06 2008 UTC (5 years, 8 months ago) by pva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Fix path in patch.
(Portage version: 2.2_rc16/cvs/Linux 2.6.26-openvz.git-89451f9 i686)

1 --- a/tcltk/tkconq.tcl 2000-12-11 19:09:15.000000000 +0100
2 +++ b/tcltk/tkconq.tcl 2006-03-22 23:49:20.000000000 +0100
3 @@ -472,7 +472,7 @@
4 -state $variantstate($col2) -variable variantvalue($col2) \
5 -command [ list set_variant_value_cmd $col2 ]
6 grid .newgame.top.checks.v$col1 .newgame.top.checks.v$col2 \
7 - -sticky w -pad 5
8 + -sticky w -padx 5 -pady 5
9 }
10 for { set v 0 } { $v < 16 } { incr v } {
11 if { "$variantstate($v)" == "active" } {
12 @@ -785,37 +785,37 @@
13 -command { adjust_advantage_cmd 1 }
14 button .newgame.top.plbuttons.aminus -text "A-" -state disabled \
15 -command { adjust_advantage_cmd -1 }
16 - grid .newgame.top.plbuttons.aplus .newgame.top.plbuttons.aminus -sticky ew -pad 2
17 + grid .newgame.top.plbuttons.aplus .newgame.top.plbuttons.aminus -sticky ew -padx 2 -pady 2
18 button .newgame.top.plbuttons.add -text "Add" \
19 -command { add_player_cmd } -width 8
20 - grid .newgame.top.plbuttons.add -columnspan 2 -sticky ew -pad 2
21 + grid .newgame.top.plbuttons.add -columnspan 2 -sticky ew -padx 2 -pady 2
22 button .newgame.top.plbuttons.remove -text "Remove" -width 8
23 - grid .newgame.top.plbuttons.remove -columnspan 2 -sticky ew -pad 2
24 + grid .newgame.top.plbuttons.remove -columnspan 2 -sticky ew -padx 2 -pady 2
25
26 menubutton .newgame.top.plbuttons.sidelib -text "Side Name" \
27 -menu .newgame.top.plbuttons.sidelib.menu \
28 -borderwidth 2 -relief raised -width 8
29 menu .newgame.top.plbuttons.sidelib.menu -tearoff 0
30 - grid .newgame.top.plbuttons.sidelib -columnspan 2 -sticky ew -pad 2
31 + grid .newgame.top.plbuttons.sidelib -columnspan 2 -sticky ew -padx 2 -pady 2
32
33 button .newgame.top.plbuttons.rename -text "Random" \
34 -command { rename_side_for_player_cmd -1 } -width 8
35 - grid .newgame.top.plbuttons.rename -columnspan 2 -sticky ew -pad 2
36 + grid .newgame.top.plbuttons.rename -columnspan 2 -sticky ew -padx 2 -pady 2
37 button .newgame.top.plbuttons.computer -text "Computer" \
38 -command { cycle_ai_cmd } -width 8
39 - grid .newgame.top.plbuttons.computer -columnspan 2 -sticky ew -pad 2
40 + grid .newgame.top.plbuttons.computer -columnspan 2 -sticky ew -padx 2 -pady 2
41 button .newgame.top.plbuttons.exchange -text "Exchange" \
42 -command { exchange_players_cmd } -width 8
43 - grid .newgame.top.plbuttons.exchange -columnspan 2 -sticky ew -pad 2
44 + grid .newgame.top.plbuttons.exchange -columnspan 2 -sticky ew -padx 2 -pady 2
45
46 label .newgame.top.plbuttons.indeplabel -text "Indep Units"
47 - grid .newgame.top.plbuttons.indeplabel -columnspan 2 -sticky ew -pad 2
48 + grid .newgame.top.plbuttons.indeplabel -columnspan 2 -sticky ew -padx 2 -pady 2
49 button .newgame.top.plbuttons.indepside -text "Add AI" \
50 -command { set_indepside toggle } -width 6
51 - grid .newgame.top.plbuttons.indepside -columnspan 2 -pad 2
52 + grid .newgame.top.plbuttons.indepside -columnspan 2 -padx 2 -pady 2
53 button .newgame.top.plbuttons.indepconfig -text "Config" \
54 -command { popup_indepside_config } -width 6
55 - grid .newgame.top.plbuttons.indepconfig -columnspan 2 -pad 2
56 + grid .newgame.top.plbuttons.indepconfig -columnspan 2 -padx 2 -pady 2
57
58 # Add names to the side library menu, disabling already-used names.
59 set numsidelib [ side_lib_size ]
60 @@ -2985,7 +2985,7 @@
61 pack .bool.msg .bool.buttons -side top -fill x -padx 10 -pady 10
62 button .bool.buttons.yes -text Yes -command [ list bool_yes $mapn ]
63 button .bool.buttons.no -text No -command [ list bool_no $mapn ]
64 - grid .bool.buttons.yes .bool.buttons.no -pad 5
65 + grid .bool.buttons.yes .bool.buttons.no -padx 5 -pady 5
66 # (should use dflt arg here)
67 update idletasks
68 }

  ViewVC Help
Powered by ViewVC 1.1.20