summaryrefslogtreecommitdiffstats
path: root/perl-install/pixmaps/redhat-config-users.png
blob: 09d075da57262f98365d5334cd08977eae40f16b (plain)
ofshex dumpascii
0000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 30 00 00 00 30 08 06 00 00 00 57 02 f9 .PNG........IHDR...0...0.....W..
0020 87 00 00 00 06 62 4b 47 44 00 ff 00 ff 00 ff a0 bd a7 93 00 00 00 09 70 48 59 73 00 00 0b 12 00 .....bKGD..............pHYs.....
0040 00 0b 12 01 d2 dd 7e fc 00 00 00 07 74 49 4d 45 07 d2 07 0b 12 34 35 04 38 0c 5f 00 00 0a 5f 49 ......~.....tIME.....45.8._..._I
0060 44 41 54 78 da ed 9a 49 6c 53 77 1e c7 3f 6f b1 63 e3 10 3b 0b 59 4a 62 3b 19 32 25 a0 84 04 1a DATx...IlSw..?o.c..;.YJb;.2%....
0080 aa 92 84 06 35 55 18 a5 2d 48 bd 94 a2 6a e8 ad a5 87 a9 da 4b 84 66 3a 3d 20 b5 ea a9 3d cc 74 ....5U..-H...j......K.f:=....=.t
00a0 4e 85 23 23 54 0d 4b 18 98 aa a2 89 83 53 0d 0a 6a 12 86 60 96 21 8e 4d d6 92 c4 b1 f1 6e bf 37 N.##T.K......S..j..`.!.M.....n.7
00c0 87 c4 af 76 16 b2 00 9d 1e fa 97 9e e4 b7 fd df f7 fb db ff bf bf e1 d7 81 19 f8 3d f0 0f 60 06 ...v.......................=..`.
00e0 f8 6e fe da 2f 1e f4 1f 80 1f aa ab ab d5 77 df 7d 57 bd 70 e1 82 ea f7 fb d5 e3 c7 8f ab c0 9f .n../.........w.}W.p............
0100 7f 2e 20 f2 3a df ab 6d 6b 6b fb fc d3 4f 3f c5 66 b3 e1 f3 f9 78 f0 e0 01 bd bd bd 08 82 f0 b3 ....:..mkk...O?.f....x..........
0120 4a 72 bd 04 a8 a9 a9 41 55 55 3a 3b 3b 97 7b c4 06 34 03 76 e0 73 60 f6 17 45 00 40 51 14 14 45 Jr.....AUU:;;.{..4.v.s`..E.@Q..E
0140 59 4a ea ef 57 57 57 7f dc d8 d8 88 cd 66 a3 bd bd bd 19 d8 f7 8b 23 90 48 24 08 87 c3 08 82 80 YJ..WWW......f........#.H$......
0160 28 8a 98 cd 66 5a 5a 5a 78 ed b5 d7 2c 36 9b 0d 97 cb 85 cb e5 02 a8 5d 87 8f 35 cf bf d7 07 9c (...fZZZx...,6.........]..5.....
0180 7d 2a 04 62 b1 18 c1 60 10 51 14 11 04 81 aa aa 2a 54 55 e5 fb ef bf e7 e4 c9 93 00 dc bd 7b 17 }*.b...`.Q......*TU...........{.
01a0 e0 cc 2a a6 db 01 1c 04 9a 4b 4b 4b 9b f7 ef df 4f 4e 4e 0e 5e af 97 d3 a7 4f 77 ce df 9b 7d a2 ..*......KKK....ONN.^....Ow...}.
01c0 04 e2 f1 38 a1 50 08 41 10 30 18 0c 94 94 94 f0 d5 57 5f 31 31 31 a1 3d 33 4f a0 16 38 01 9c 04 ...8.P.A.0.......W_111.=3O..8...
01e0 ba d2 a4 7c 70 5e d2 07 5b 5b 5b 2d 2f bc f0 02 fb f7 ef c7 66 b3 21 cb 32 92 24 21 08 02 fb f6 ...|p^..[[[-/.......f.!.2.$!....
0200 ed 6b 3e 7a f4 e8 99 a5 cc f0 89 11 b0 5a ad 4c 4f 4f 67 80 2f 2e 2e a6 b5 b5 95 f6 f6 f6 da 50 .k>z.........Z.LOOg./..........P
0220 28 54 fb c5 17 5f 1c 19 1c 1c 3c 09 d4 6e db b6 ad 76 cf 9e 3d b4 b6 b6 b2 67 cf 1e 64 59 d6 8e (T..._....<..n...v..=....g..dY..
0240 74 9f 12 04 81 b7 de 7a 8b 2f bf fc b2 f9 fa f5 eb e6 85 5a 78 6c 02 29 13 da be 7d 3b 7d 7d 7d t......z./.........Zxl.)...};}}}
0260 d4 d7 d7 b3 65 cb 16 2c 16 0b 92 24 a1 d3 e9 34 60 ad ad ad 9c 3d 7b f6 c8 f3 cf 3f af 49 59 96 ....e..,...$...4`....={....?.IY.
0280 65 44 51 cc 00 bc f0 b7 aa aa 58 2c 96 94 26 bb 9e b8 06 72 73 73 29 2c 2c 24 99 4c 72 f5 ea 55 eDQ.......X,..&....rss),,$.Lr..U
02a0 1c 0e 07 bb 76 ed e2 f5 d7 5f 47 55 55 2d 5a 19 8d 46 de 7c f3 4d f4 7a bd 06 2c 7d a4 00 af 25 ....v...._GUU-Z..F.|.M.z..,}...%
02c0 97 88 4f c2 89 77 ee dc 49 5f 5f 1f d3 d3 d3 6c d8 b0 81 e7 9e 7b 8e 50 28 c4 b5 6b d7 88 44 22 ..O..w..I__....l.....{.P(..k..D"
02e0 44 22 11 c2 e1 b0 76 24 93 49 14 45 59 12 f4 42 f0 2b 91 59 8f 06 cc a9 b0 18 8f c7 a9 ac ac 64 D"....v$.I.EY..B.+.Y...........d
0300 d7 ae 5d 18 8d 46 b2 b3 b3 b1 5a ad 24 93 49 a6 a6 a6 f8 f6 db 6f 29 2f 2f 47 51 14 12 89 04 b1 ..]..F....Z.$.I......o)//GQ.....
0320 58 0c 49 92 d8 b8 71 23 82 20 ac 0a fc 42 2d ad 97 c0 8b a9 68 51 5d 5d 5d db d8 d8 48 5b 5b 1b X.I...q#.....B-.....hQ]]]...H[[.
0340 35 35 35 44 a3 51 e2 f1 38 33 33 33 e4 e6 e6 12 0e 87 91 65 99 78 3c 8e 5e af 67 7a 7a 9a 50 28 555D.Q..8333.......e.x<.^.gzz.P(
0360 a4 1d 2e 97 8b a3 47 8f 66 10 58 ce f6 1f 27 91 a5 42 dc 41 8b c5 d2 dc d0 d0 60 79 e5 95 57 68 ......G.f.X...'..B.A......`y..Wh
0380 6c 6c 64 f3 e6 cd 44 22 11 62 b1 18 63 63 63 08 82 80 5e af 47 96 65 0c 06 03 fd fd fd 0c 0e 0e lld...D".b..ccc...^.G.e.........
03a0 32 38 38 c8 ab af be ca 9d 3b 77 08 04 02 04 83 41 22 91 08 66 b3 79 4d e0 57 d2 c2 52 04 76 58 288......;w.....A"..f.yM.W..R.vX
03c0 2c 96 ce 43 87 0e 59 0e 1f 3e 4c 4d 4d 8d f6 f1 70 38 cc c8 c8 08 b2 2c a3 d7 eb 31 99 4c 19 61 ,..C..Y..>LMM...p8.....,...1.L.a
03e0 af b7 b7 97 cb 97 2f 53 5a 5a ca 4b 2f bd c4 bd 7b f7 08 87 c3 e8 74 3a 0a 0b 0b b1 d9 6c 6c d9 ....../SZZ.K/...{.....t:.....ll.
0400 b2 65 d5 f6 2e 08 82 16 00 d6 42 e0 4c 47 47 87 a5 bc bc 1c bf df cf ed db b7 b5 44 a5 d7 eb d9 .e........B.LGG............D....
0420 b8 71 a3 96 60 d2 8f d4 b0 58 2c c4 62 31 1e 3c 78 80 cd 66 c3 6a b5 52 54 54 44 76 76 f6 9a 9c .q..`....X,.b1.<x..f.j.RTTDvv...
0440 35 fd 7c 2d 04 5e 6c 6b 6b b3 db ed 76 3c 1e 0f 26 93 09 b3 d9 8c c1 60 d0 ca 85 74 00 0b cf eb 5.|-.^lkk...v<..&......`...t....
0460 ea ea c8 ce ce 26 2f 2f 8f cd 9b 37 2f f9 cc 4a 60 17 de 4b 85 e1 55 6b a0 a6 a6 86 c9 c9 49 0c .....&//...7/..J`..K..Uk......I.
0480 06 03 79 79 79 8b c0 3e 8a 40 56 56 16 d5 d5 d5 cb 3e b3 12 f8 f1 f1 71 dc 6e 37 43 43 43 d4 d5 ..yyy..>.@VV.....>.....q.n7CCC..
04a0 d5 b1 6d db b6 25 f3 c5 8a 4e 9c 4c 26 d1 eb f5 8f 04 bb d2 b5 eb d7 af 73 e5 ca 15 2c 16 0b 87 ..m..%...N.L&...........s...,...
04c0 0f 1f 5e 52 d2 33 33 33 b8 5c 2e dc 6e 37 6e b7 9b 48 24 a2 dd 2f 2f 2f 5f 9f 06 52 65 b2 2c cb ..^R.333.\..n7n..H$..///_..Re.,.
04e0 ab 06 0b e0 f5 7a 71 3a 9d 38 9d 4e 24 49 c2 6e b7 d3 d0 d0 40 47 47 07 57 ae 5c a1 a9 a9 09 40 .....zq:.8.N$I.n....@GG.W.\....@
0500 2b b1 dd 6e 37 3e 9f 4f fb a6 c1 60 60 eb d6 ad 94 97 97 53 55 55 45 6e 6e ee ba 7c 40 d3 40 6a +..n7>.O...``......SUUEnn..|@.@j
0520 a1 b2 1c 01 bf df 8f d3 e9 a4 a7 a7 87 91 91 11 2a 2a 2a 78 f9 e5 97 79 e3 8d 37 88 c7 e3 28 8a ................***x...y..7...(.
0540 82 24 49 8c 8f 8f 67 cc 7d ea d4 29 ed 77 0a b0 dd 6e a7 a4 a4 64 59 f3 5a 33 81 f4 34 9f 7e 5c .$I...g.}..).w...n...dY.Z3..4.~\
0560 bc 78 91 9e 9e 1e 82 c1 20 f9 f9 f9 d4 d7 d7 f3 c1 07 1f 60 30 18 88 46 a3 48 92 44 30 18 44 92 .x.................`0..F.H.D0.D.
0580 24 42 a1 10 e3 e3 e3 dc bc 79 93 c2 c2 42 6d be 77 de 79 87 68 34 aa 99 c8 4a be a1 aa 2a aa aa $B.......y...Bm.w.y.h4...J...*..
05a0 2e 9b dc 96 24 20 49 52 46 d4 f9 e8 a3 8f 88 44 22 ec de bd 9b b7 df 7e 9b 4d 9b 36 11 08 04 90 ....$.IRF......D"......~.M.6....
05c0 65 99 64 32 49 24 12 41 51 14 86 87 87 19 9d 98 e2 bf 93 61 c6 1f ca 98 c4 20 05 0b 12 d7 a3 24 e.d2I$.AQ..........a...........$
05e0 bd dc f9 9a 35 90 2a 83 05 41 a0 a7 a7 87 a6 a6 26 aa aa aa 48 24 12 48 92 44 20 10 40 51 14 c6 ....5.*..A......&...H$.H.D..@Q..
0600 c6 c6 f8 f1 c7 1f 71 4f c5 b9 ef 53 89 67 e5 93 30 da d0 6f 90 d1 99 65 e4 59 17 84 a7 56 0d 76 ......qO...S.g..0..o...e.Y...V.v
0620 a9 7b 89 44 62 7d 04 4c 26 93 26 b9 ec ec 6c e2 f1 38 3e 9f 8f 99 99 19 dc 13 0f 19 0d 08 84 f5 .{.Db}.L&.&...l..8>.............
0640 45 f4 df 8b 33 3a 32 4a 61 51 3e 2d 2d bf 99 0b 79 2a a8 a8 48 92 b8 2a b0 b3 b3 b3 f8 fd 7e 0a E...3:2JaQ>--...y*..H..*......~.
0660 0b 0b 31 18 0c 19 f7 53 fe b4 6a 02 aa aa 2e ca b4 fd fd fd 38 fb dd f8 f4 65 48 66 3b 86 5c 13 ..1....S..j.........8....eHf;.\.
0680 d9 cf e8 71 fc f3 32 03 03 2e 00 46 47 c7 28 c8 b7 50 5f bf 63 ce 6e 01 49 5c 1a 70 34 1a c5 eb ...q..2....FG.(..P_.c.n.I\.p4...
06a0 f5 72 e7 ce 1d 3c 1e 0f 7e bf 1f 80 86 86 06 1a 1b 1b 33 9e 5d 73 18 55 55 15 51 14 35 1f 00 28 .r...<..~.........3.]s.UU.Q.5..(
06c0 2a 2a 42 51 37 91 6b dd a5 81 1b 1b 9d d4 c0 a7 2f 70 74 3a 09 75 5e 03 82 b4 78 b9 71 ea d4 29 **BQ7.k........./pt:.u^...x.q..)
06e0 bc 5e 6f c6 b5 b2 b2 32 ac 56 2b f5 f5 f5 8b b4 a4 28 ca da 12 59 4a 03 0b 4b 07 9d 4e ce 00 e7 .^o....2.V+......(...YJ..K..N...
0700 f1 8e 2e 9a cc 33 3c 82 4e 27 6b 66 a4 88 4b 9b 50 59 59 19 45 45 45 54 56 56 62 b5 5a 57 8c 42 .....3<.N'kf..K.PYY.EEETVVb.ZW.B
0720 eb d2 c0 c2 d8 2f 49 e2 4f e0 e6 57 63 0b c7 86 0d 46 f4 29 92 aa 4a 7c 5e 03 e9 f3 1c 3a 74 68 ...../I.O..Wc....F.)..J|^....:th
0740 11 d8 c9 c9 49 3c 1e 0f 1e 8f 87 a2 a2 22 2d e9 3d 56 14 5a a8 01 49 14 33 c0 49 e2 62 f3 68 6e ....I<......."-.=V.Z..I.3.I.b.hn
0760 de ad 91 54 55 50 c4 c5 b1 5b 10 04 26 26 26 f0 78 3c 78 bd 5e 3c 1e 0f d1 68 74 49 70 a9 ef 8b ...TUP...[..&&&.x<x.^<...htIp...
0780 a2 b8 7e 13 d2 16 cf 92 90 01 ae b1 a1 8e 8b 97 1c da 7d a3 31 8b aa ad 15 9a 8f a0 aa 24 24 91 ..~...............}.1........$$.
07a0 e4 02 40 27 4e 9c 60 72 72 52 bb 96 95 95 45 65 65 65 46 e9 bd b0 72 5d 33 81 74 27 4e d7 40 ca ..@'N.`rrR....EeeeF...r]3.t'N.@.
07c0 07 50 55 8a 8b 0b 78 f6 b7 76 6e dd 76 cf 99 8f d1 88 df 1f 20 2f cf 02 cc 91 14 c5 39 02 e9 f3 .PU...x..vn.v......../......9...
07e0 58 ad 56 cc 66 33 56 ab 55 03 fc a8 dc 90 4c 26 d7 a7 81 85 65 b0 24 89 e8 64 59 03 17 0c 86 f1 X.V.f3V.U.....L&....e.$..dY.....
0800 7a 7f aa 73 a6 a6 7d 1c fb e3 e7 18 8d 06 ca ca 8a 29 c8 b7 f0 bb ba bc 45 6d 8f 96 96 96 55 27 z..s..}..........)......Em....U'
0820 b6 58 2c 46 38 1c 26 37 37 97 d9 d9 59 e6 fb a4 ab f7 81 f4 09 c5 94 0f 00 93 93 d3 fc f5 6f 7f .X,F8.&77...Y.................o.
0840 27 14 8e 2c 7a 37 1c 8e 70 fb b6 9b db 40 89 50 c2 ce 67 56 5f 32 08 82 40 2c 16 d3 1a 00 d1 68 '..,z7..p....@.P..gV_2..@,.....h
0860 14 bd 5e 8f db ed a6 bf bf bf 73 d5 bd d1 94 06 32 af cd f9 c0 b9 8e 4e fe 7e fa 5f 84 42 91 47 ..^.......s.....2......N.~._.B.G
0880 76 0b 9e 2d d6 51 a0 0b 22 cb 39 8f 04 af 28 8a 26 e9 68 34 4a 22 91 40 a7 d3 61 34 1a d1 e9 74 v..-.Q..".9...(.&.h4J".@..a4...t
08a0 5c ba 74 89 0f 3f fc d0 07 bc bf ae 28 94 fe c1 3f 7d fc 17 fe 73 e3 ee d2 bb 19 f9 32 f6 02 1d \.t..?......(...?}...s......2...
08c0 f6 7c 99 9a 8a 7c 0a 0a 0a 90 24 89 af bf fe 9a 03 07 0e 64 cc 93 4c 26 89 46 a3 c4 62 31 22 91 .|...|....$........d..L&.F..b1".
08e0 88 d6 d9 30 9b cd b8 5c 2e 2e 5c b8 c0 b9 73 e7 e8 ef ef ef 03 3a 81 8f 97 db 20 59 d1 84 52 63 ...0...\..\...s......:.....Y..Rc
0900 68 68 24 03 7c 51 8e 84 bd 40 c6 9e af a3 aa 2c 87 b2 67 0a 11 04 01 b7 db 4d 77 77 37 46 a3 91 hh$.|Q...@.....,..g......Mww7F..
0920 8a 8a 0a 3e f9 e4 13 6c 36 9b d6 d8 8a c5 62 24 93 49 24 49 42 af d7 33 35 35 45 4f 4f 0f e7 ce ...>...l6.....b$.I$IB..355EOO...
0940 9d c3 e1 70 f8 7c 3e 5f e7 7c 3b be 13 18 5e 57 5f 68 a9 66 6b f4 a1 8f 1d 65 7a b6 16 eb d9 52 ...p.|>_.|;...^W_h.fk....ez....R
0960 6c c4 5e 56 82 c9 64 c2 ed 76 e3 72 dd e4 df 3d 0e 2a 2a 2a 68 6a 6a a2 bd bd 5d 5b d9 c5 e3 71 l.^V..d..v.r...=.***hjj...][...q
0980 ad d6 91 65 19 93 c9 c4 c5 8b 17 e9 ee ee a6 ab ab 8b 81 81 81 be 79 c0 67 80 fe 27 ba 43 93 02 ...e..................y.g..'.C..
09a0 9f 93 93 c3 76 29 c8 de 23 0d 78 3c 1e 7a 7b 7b b9 76 b5 87 8a 8a 0a f6 ee dd cb 91 23 47 b0 58 ....v)..#.x<.z{{.v..........#G.X
09c0 2c 28 8a 92 b1 3e 48 95 e5 b7 6e dd c2 e9 74 d2 d5 d5 c5 f9 f3 e7 dd f3 d2 4d 49 f9 b1 f6 ce e4 ,(...>H...n...t..........MI.....
09e0 95 c0 db 6c 36 8e 1f 3f 4e 69 69 29 3a 9d 8e a6 a6 26 8e 1d 3b 86 cd 66 cb a8 55 52 a5 85 28 8a ...l6..?Nii):....&..;..f..UR..(.
0a00 84 42 21 9c 4e 27 e7 cf 9f c7 e1 70 30 3c 3c 9c 02 db b9 1e 29 3f 56 6f d4 66 b3 f1 cd 37 df 64 .B!.N'.....p0<<.....)?Vo.f...7.d
0a20 b4 f9 54 55 25 99 4c 6a 4b 3d 51 14 b9 71 e3 06 1d 1d 1d 38 1c 0e 1c 0e 47 5f 1a e0 b3 3f eb 36 ..TU%.LjK=Q..q.....8....G_...?.6
0a40 6b ca 5e 97 5a 97 a6 0a 39 51 14 b9 7f ff 3e dd dd dd 38 1c 0e 3a 3a 3a d6 ec 7c 4f 6d 07 de 6c k.^.Z...9Q....>...8..:::..|Om..l
0a60 36 cf 0c 0d 0d a9 c1 60 50 0d 04 02 aa df ef 57 03 81 80 fa f0 e1 43 f5 d2 a5 4b ea 7b ef bd a7 6......`P......W......C...K.{...
0a80 d6 d4 d4 a8 c0 0f f3 3b f2 2f fe 3f ff 32 b0 d4 52 ff 40 75 75 f5 99 cf 3e fb 0c 41 10 18 18 18 .......;./.?.2..R.@uu...>..A....
0aa0 48 49 d9 9d 66 16 67 9e d6 c6 f5 93 1a 2f 32 f7 e7 8d ef 98 fb 4f c4 0e 7e 1d 4f 67 fc 0f 68 ca HI..f.g....../2......O..~.Og..h.
0ac0 c1 56 91 b2 93 2a 00 00 00 00 49 45 4e 44 ae 42 60 82 .V...*....IEND.B`.
}); $combo{thms}->entry->set_text($themes{default}); $thm_button->signal_connect('clicked', sub { my $error = 0; my $boot_conf_file = '/etc/sysconfig/bootsplash'; my $lilomsg = '/boot/message-graphic'; #lilo installation if (-f $themes{path}.$combo{lilo}->entry->get_text . $themes{lilo}{file}) { use MDK::Common::File; cp_af($lilomsg, "/boot/message-graphic.old"); #can't use this anymore or $in->ask_warn(N("Error"), N("unable to backup lilo message")); cp_af($themes{path} . $combo{lilo}->entry->get_text . $themes{lilo}{file}, $lilomsg); #can't use this anymore or $in->ask_warn(N("Error"), N("can't change lilo message")); } else { $error = 1; $in->ask_warn(N("Error"), N("Lilo message not found")); } #bootsplash install if ($::testing || -f $themes{path} . $combo{boot}->entry->get_text . $themes{boot}{path} . "bootsplash-$cur_res.jpg") { my $bootsplash_cont = "# -*- Mode: shell-script -*- # Specify here if you want add the splash logo to initrd when # generating an initrd. You can specify : # # SPLASH=no to don't have a splash screen # # SPLASH=auto to make autodetect the splash screen # # SPLASH=INT When Integer could be 800x600 1024x768 1280x1024 # SPLASH=$cur_res # Choose the themes. The should be based in # /usr/share/bootsplash/themes/ THEME=" . $combo{boot}->entry->get_text . " # Say yes here if you want to leave the logo on the console. # Three options : # # LOGO_CONSOLE=no don't display logo under console. # # LOGO_CONSOLE=yes display logo under console. # # LOGO_CONSOLE=theme leave the theme to decide. # LOGO_CONSOLE=" . ($keep_logo ? 'yes' : 'no') . "\n"; if (-f $boot_conf_file) { eval { output($boot_conf_file, $bootsplash_cont) }; $@ && $in->ask_warn(N("Error"), N("Can't write /etc/sysconfig/bootsplash.")); } else { $in->ask_warn(N("Error"), N("Can't write /etc/sysconfig/bootsplash\nFile not found.")); $error = 1; } } else { $in->ask_warn("Error", "BootSplash screen not found"); return; } #here is mkinitrd time if (!$error && !$::testing) { foreach (map { if_(m|^initrd-(.*)\.img|, $1) } all('/boot')) { if (system("mkinitrd -f /boot/initrd-$_.img $_")) { $in->ask_warn(N("Error"), N("Can't launch mkinitrd -f /boot/initrd-%s.img %s.", $_,$_)); $error = 1; } } } if (system('lilo')) { $in->ask_warn(N("Error"), N("Can't relaunch LiLo! Launch \"lilo\" as root in command line to complete LiLo theme installation.")); $error = 1; } $in->ask_warn($error ? N("Error") : N("Notice"), $error ? N("Theme installation failed!") : N("LiLo and Bootsplash themes installation successfull")); }); my $x_box; gtkadd($window, gtkpack__(new Gtk2::VBox(0,0), gtkadd(new Gtk2::Frame($disp_mode), # gtkpack__(new Gtk2::VBox(0,0), (gtkpack_(gtkset_border_width(new Gtk2::HBox(0, 0),5), 1, my $boot_label = Gtk2::Label->new(""), 0, gtksignal_connect(new Gtk2::Button(N("Configure")), clicked => \&lilo_choice), )), # "" #we need some place under the button -- replaced by gtkset_border_width( for the moment # ) ), #Splash Selector gtkadd(my $thm_frame = new Gtk2::Frame(N("Splash selection")), gtkpack(gtkset_border_width(new Gtk2::HBox(0, 5), 5), gtkpack__(new Gtk2::VBox(0, 5), N("Themes"), $combo{thms}, N("\nSelect the theme for\nlilo and bootsplash,\nyou can choose\nthem separately"), $logo_thm), Gtk2::VSeparator->new, gtkpack__(new Gtk2::VBox(0, 5), N("Lilo screen"), $combo{lilo}, $lilo_pic, $B_create), Gtk2::VSeparator->new, gtkpack__(new Gtk2::VBox(0, 5), N("Bootsplash"), $combo{boot}, $boot_pic, $thm_button)) ), gtkadd(new Gtk2::Frame(N("System mode")), gtkpack__(new Gtk2::VBox(0, 5), gtksignal_connect(gtkset_active(new Gtk2::CheckButton(N("Launch the graphical environment when your system starts")), $x_mode), clicked => sub { $x_box->set_sensitive(!$x_mode); $x_mode = !$x_mode; }), gtkpack__(gtkset_sensitive($x_box = Gtk2::VBox->new(0, 0), $x_mode), gtkpack__(Gtk2::VBox->new(0, 0), my @auto_buttons = gtkradio((N("Yes, I want autologin with this (user, desktop)")) x 2, N("No, I don't want autologin")), ), gtkpack__(my $auto_box = new Gtk2::VBox(0, 10), $user_combo, $desktop_combo ) ) ) ), gtkadd(gtkset_layout(new Gtk2::HButtonBox, 'end'), gtksignal_connect(new Gtk2::Button(N("OK")), clicked => sub { Xconfig::various::runlevel($x_mode ? 5 : 3); updateAutologin(); ugtk2->exit(0); }), gtksignal_connect(new Gtk2::Button(N("Cancel")), clicked => sub { ugtk2->exit(0) }) ) ) ); $auto_buttons[0]->signal_connect('toggled' => sub { $auto_box->set_sensitive($auto_buttons[0]->get_active) }); $auto_buttons[1]->signal_connect('toggled' => sub { $auto_box->set_sensitive(!$auto_buttons[1]->get_active) }); $auto_buttons[0]->set_active(1) if $auto_mode->{autologin}; $auto_buttons[1]->set_active(1) if !$auto_mode->{autologin}; $x_box->set_sensitive($x_mode); $auto_box->set_sensitive($auto_mode->{autologin} ? 1 : 0); $window->show_all; $no_bootsplash and $thm_frame->hide; update_bootloader_label($lilogrub); gtkflush(); $w->main; $in->exit(0); sub update_bootloader_label { my ($bootloader) = @_; $boot_label->set_label(N("You are currently using %s as your boot manager. Click on Configure to launch the setup wizard.", $bootloader)); } sub lilo_choice() { my $bootloader = bootloader::read(); my ($all_hds) = fsedit::get_hds(); my $fstab = [ fsedit::get_all_fstab($all_hds) ]; fs::merge_info_from_fstab($fstab, '', 0, undef); $::expert=1; ask: local $::isEmbedded = 0; eval { any::setupBootloader($in, $bootloader, $all_hds, $fstab, $ENV{SECURE_LEVEL}) }; my $loader = arch() =~ /ppc/ ? "Yaboot" : "LILO"; my $err = $@; if ($err) { $in->ask_warn('', [ N("Installation of %s failed. The following error occured:", $loader), $err ]); goto ask; } update_bootloader_label(bootloader::detect_bootloader()); } #------------------------------------------------------------- # launch autologin functions #------------------------------------------------------------- sub updateAutologin() { my ($usern, $deskt) = ($user_combo->entry->get_text, $desktop_combo->entry->get_text); if ($auto_buttons[0]->get_active) { $in->do_pkgs->install('autologin') if $x_mode; any::set_autologin($usern, $deskt); } else { any::set_autologin(); } }