PageRenderTime 44ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/python/helper/PinYinSetup/SetupUI.glade

http://scim-python.googlecode.com/
Unknown | 928 lines | 926 code | 2 blank | 0 comment | 0 complexity | a7ed3ddaa155788c0df3739a45a20da7 MD5 | raw file
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
  3. <!--*- mode: xml -*-->
  4. <glade-interface>
  5. <widget class="GtkWindow" id="window_main">
  6. <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
  7. <property name="title" translatable="yes">Python PinYin Setup</property>
  8. <property name="window_position">GTK_WIN_POS_CENTER</property>
  9. <signal name="delete_event" handler="on_window_main_delete_event"/>
  10. <child>
  11. <widget class="GtkVBox" id="vbox1">
  12. <property name="visible">True</property>
  13. <child>
  14. <widget class="GtkNotebook" id="notebook1">
  15. <property name="visible">True</property>
  16. <property name="can_focus">True</property>
  17. <property name="scrollable">True</property>
  18. <child>
  19. <widget class="GtkTable" id="table1">
  20. <property name="visible">True</property>
  21. <property name="n_rows">11</property>
  22. <property name="n_columns">2</property>
  23. <property name="column_spacing">4</property>
  24. <property name="row_spacing">2</property>
  25. <property name="homogeneous">True</property>
  26. <child>
  27. <widget class="GtkLabel" id="label21">
  28. <property name="visible">True</property>
  29. <property name="xalign">0.89999997615814209</property>
  30. <property name="label" translatable="yes">Press [u] or [v] to temporary English mode</property>
  31. </widget>
  32. <packing>
  33. <property name="top_attach">6</property>
  34. <property name="bottom_attach">7</property>
  35. </packing>
  36. </child>
  37. <child>
  38. <widget class="GtkCheckButton" id="UVToTemp">
  39. <property name="visible">True</property>
  40. <property name="can_focus">True</property>
  41. <property name="response_id">0</property>
  42. <property name="draw_indicator">True</property>
  43. <signal name="toggled" handler="on_value_changed"/>
  44. <child>
  45. <placeholder/>
  46. </child>
  47. </widget>
  48. <packing>
  49. <property name="left_attach">1</property>
  50. <property name="right_attach">2</property>
  51. <property name="top_attach">6</property>
  52. <property name="bottom_attach">7</property>
  53. </packing>
  54. </child>
  55. <child>
  56. <widget class="GtkCheckButton" id="SpellCheck">
  57. <property name="visible">True</property>
  58. <property name="can_focus">True</property>
  59. <property name="response_id">0</property>
  60. <property name="draw_indicator">True</property>
  61. <signal name="toggled" handler="on_value_changed"/>
  62. <child>
  63. <placeholder/>
  64. </child>
  65. </widget>
  66. <packing>
  67. <property name="left_attach">1</property>
  68. <property name="right_attach">2</property>
  69. <property name="top_attach">5</property>
  70. <property name="bottom_attach">6</property>
  71. </packing>
  72. </child>
  73. <child>
  74. <widget class="GtkCheckButton" id="AutoCorrect">
  75. <property name="visible">True</property>
  76. <property name="can_focus">True</property>
  77. <property name="response_id">0</property>
  78. <property name="draw_indicator">True</property>
  79. <signal name="toggled" handler="on_value_changed"/>
  80. <child>
  81. <placeholder/>
  82. </child>
  83. </widget>
  84. <packing>
  85. <property name="left_attach">1</property>
  86. <property name="right_attach">2</property>
  87. <property name="top_attach">4</property>
  88. <property name="bottom_attach">5</property>
  89. </packing>
  90. </child>
  91. <child>
  92. <widget class="GtkComboBox" id="PageSize">
  93. <property name="visible">True</property>
  94. <property name="items" translatable="yes">1
  95. </property>
  96. <signal name="changed" handler="on_value_changed"/>
  97. </widget>
  98. <packing>
  99. <property name="left_attach">1</property>
  100. <property name="right_attach">2</property>
  101. <property name="top_attach">3</property>
  102. <property name="bottom_attach">4</property>
  103. </packing>
  104. </child>
  105. <child>
  106. <widget class="GtkComboBox" id="ShuangPinSchema">
  107. <property name="visible">True</property>
  108. <property name="items" translatable="yes">1
  109. </property>
  110. <signal name="changed" handler="on_value_changed"/>
  111. </widget>
  112. <packing>
  113. <property name="left_attach">1</property>
  114. <property name="right_attach">2</property>
  115. <property name="top_attach">2</property>
  116. <property name="bottom_attach">3</property>
  117. </packing>
  118. </child>
  119. <child>
  120. <widget class="GtkLabel" id="label14">
  121. <property name="visible">True</property>
  122. <property name="xalign">0.89999997615814209</property>
  123. <property name="label" translatable="yes">English spelling check</property>
  124. </widget>
  125. <packing>
  126. <property name="top_attach">5</property>
  127. <property name="bottom_attach">6</property>
  128. </packing>
  129. </child>
  130. <child>
  131. <widget class="GtkLabel" id="label13">
  132. <property name="visible">True</property>
  133. <property name="xalign">0.89999997615814209</property>
  134. <property name="label" translatable="yes">Wrong PinYin auto correct</property>
  135. </widget>
  136. <packing>
  137. <property name="top_attach">4</property>
  138. <property name="bottom_attach">5</property>
  139. </packing>
  140. </child>
  141. <child>
  142. <widget class="GtkLabel" id="label11">
  143. <property name="visible">True</property>
  144. <property name="xalign">0.89999997615814209</property>
  145. <property name="label" translatable="yes">Lookup table page size</property>
  146. </widget>
  147. <packing>
  148. <property name="top_attach">3</property>
  149. <property name="bottom_attach">4</property>
  150. </packing>
  151. </child>
  152. <child>
  153. <widget class="GtkLabel" id="label10">
  154. <property name="visible">True</property>
  155. <property name="xalign">0.89999997615814209</property>
  156. <property name="label" translatable="yes">ShuangPin Schema</property>
  157. </widget>
  158. <packing>
  159. <property name="top_attach">2</property>
  160. <property name="bottom_attach">3</property>
  161. </packing>
  162. </child>
  163. <child>
  164. <widget class="GtkLabel" id="label16">
  165. <property name="visible">True</property>
  166. <property name="xalign">0.89999997615814209</property>
  167. <property name="label" translatable="yes">ShuangPin</property>
  168. </widget>
  169. <packing>
  170. <property name="top_attach">1</property>
  171. <property name="bottom_attach">2</property>
  172. </packing>
  173. </child>
  174. <child>
  175. <widget class="GtkLabel" id="label17">
  176. <property name="visible">True</property>
  177. <property name="xalign">0.89999997615814209</property>
  178. <property name="label" translatable="yes">Support GBK</property>
  179. </widget>
  180. </child>
  181. <child>
  182. <widget class="GtkCheckButton" id="ShuangPin">
  183. <property name="visible">True</property>
  184. <property name="can_focus">True</property>
  185. <property name="response_id">0</property>
  186. <property name="draw_indicator">True</property>
  187. <signal name="toggled" handler="on_value_changed"/>
  188. <child>
  189. <placeholder/>
  190. </child>
  191. </widget>
  192. <packing>
  193. <property name="left_attach">1</property>
  194. <property name="right_attach">2</property>
  195. <property name="top_attach">1</property>
  196. <property name="bottom_attach">2</property>
  197. </packing>
  198. </child>
  199. <child>
  200. <widget class="GtkCheckButton" id="SupportGBK">
  201. <property name="visible">True</property>
  202. <property name="can_focus">True</property>
  203. <property name="response_id">0</property>
  204. <property name="draw_indicator">True</property>
  205. <signal name="toggled" handler="on_value_changed"/>
  206. <child>
  207. <placeholder/>
  208. </child>
  209. </widget>
  210. <packing>
  211. <property name="left_attach">1</property>
  212. <property name="right_attach">2</property>
  213. </packing>
  214. </child>
  215. <child>
  216. <widget class="GtkLabel" id="label20">
  217. <property name="visible">True</property>
  218. <property name="xalign">0.89999997615814209</property>
  219. <property name="label" translatable="yes">Press [shift] to select candidates</property>
  220. </widget>
  221. <packing>
  222. <property name="top_attach">7</property>
  223. <property name="bottom_attach">8</property>
  224. </packing>
  225. </child>
  226. <child>
  227. <widget class="GtkCheckButton" id="ShiftSelectCandidates">
  228. <property name="visible">True</property>
  229. <property name="can_focus">True</property>
  230. <property name="response_id">0</property>
  231. <property name="draw_indicator">True</property>
  232. <child>
  233. <placeholder/>
  234. </child>
  235. </widget>
  236. <packing>
  237. <property name="left_attach">1</property>
  238. <property name="right_attach">2</property>
  239. <property name="top_attach">7</property>
  240. <property name="bottom_attach">8</property>
  241. </packing>
  242. </child>
  243. <child>
  244. <widget class="GtkLabel" id="label22">
  245. <property name="visible">True</property>
  246. <property name="xalign">0.89999997615814209</property>
  247. <property name="label" translatable="yes">Press [-] [=] to page down up.</property>
  248. </widget>
  249. <packing>
  250. <property name="top_attach">8</property>
  251. <property name="bottom_attach">9</property>
  252. </packing>
  253. </child>
  254. <child>
  255. <widget class="GtkCheckButton" id="EqualPageDownUp">
  256. <property name="visible">True</property>
  257. <property name="can_focus">True</property>
  258. <property name="response_id">0</property>
  259. <property name="draw_indicator">True</property>
  260. <child>
  261. <placeholder/>
  262. </child>
  263. </widget>
  264. <packing>
  265. <property name="left_attach">1</property>
  266. <property name="right_attach">2</property>
  267. <property name="top_attach">8</property>
  268. <property name="bottom_attach">9</property>
  269. </packing>
  270. </child>
  271. <child>
  272. <widget class="GtkCheckButton" id="CommaPageDownUp">
  273. <property name="visible">True</property>
  274. <property name="can_focus">True</property>
  275. <property name="response_id">0</property>
  276. <property name="draw_indicator">True</property>
  277. <child>
  278. <placeholder/>
  279. </child>
  280. </widget>
  281. <packing>
  282. <property name="left_attach">1</property>
  283. <property name="right_attach">2</property>
  284. <property name="top_attach">9</property>
  285. <property name="bottom_attach">10</property>
  286. </packing>
  287. </child>
  288. <child>
  289. <widget class="GtkCheckButton" id="AutoCommit">
  290. <property name="visible">True</property>
  291. <property name="can_focus">True</property>
  292. <property name="response_id">0</property>
  293. <property name="draw_indicator">True</property>
  294. <child>
  295. <placeholder/>
  296. </child>
  297. </widget>
  298. <packing>
  299. <property name="left_attach">1</property>
  300. <property name="right_attach">2</property>
  301. <property name="top_attach">10</property>
  302. <property name="bottom_attach">11</property>
  303. </packing>
  304. </child>
  305. <child>
  306. <widget class="GtkLabel" id="label23">
  307. <property name="visible">True</property>
  308. <property name="xalign">0.89999997615814209</property>
  309. <property name="label" translatable="yes">Auto commit</property>
  310. </widget>
  311. <packing>
  312. <property name="top_attach">10</property>
  313. <property name="bottom_attach">11</property>
  314. </packing>
  315. </child>
  316. <child>
  317. <widget class="GtkLabel" id="label24">
  318. <property name="visible">True</property>
  319. <property name="xalign">0.89999997615814209</property>
  320. <property name="label" translatable="yes">Press [,] [.] to page down up.</property>
  321. </widget>
  322. <packing>
  323. <property name="top_attach">9</property>
  324. <property name="bottom_attach">10</property>
  325. </packing>
  326. </child>
  327. </widget>
  328. </child>
  329. <child>
  330. <widget class="GtkLabel" id="label1">
  331. <property name="visible">True</property>
  332. <property name="label" translatable="yes">Gernal</property>
  333. </widget>
  334. <packing>
  335. <property name="type">tab</property>
  336. <property name="tab_fill">False</property>
  337. </packing>
  338. </child>
  339. <child>
  340. <widget class="GtkTable" id="table4">
  341. <property name="visible">True</property>
  342. <property name="n_rows">12</property>
  343. <property name="n_columns">2</property>
  344. <property name="column_spacing">2</property>
  345. <property name="row_spacing">2</property>
  346. <property name="homogeneous">True</property>
  347. <child>
  348. <placeholder/>
  349. </child>
  350. <child>
  351. <placeholder/>
  352. </child>
  353. <child>
  354. <placeholder/>
  355. </child>
  356. <child>
  357. <placeholder/>
  358. </child>
  359. <child>
  360. <placeholder/>
  361. </child>
  362. <child>
  363. <placeholder/>
  364. </child>
  365. <child>
  366. <placeholder/>
  367. </child>
  368. <child>
  369. <placeholder/>
  370. </child>
  371. <child>
  372. <placeholder/>
  373. </child>
  374. <child>
  375. <placeholder/>
  376. </child>
  377. <child>
  378. <placeholder/>
  379. </child>
  380. <child>
  381. <placeholder/>
  382. </child>
  383. <child>
  384. <placeholder/>
  385. </child>
  386. <child>
  387. <placeholder/>
  388. </child>
  389. <child>
  390. <placeholder/>
  391. </child>
  392. <child>
  393. <placeholder/>
  394. </child>
  395. <child>
  396. <widget class="GtkCheckButton" id="FuzzyPinYin">
  397. <property name="visible">True</property>
  398. <property name="can_focus">True</property>
  399. <property name="label" translatable="yes">Enable Fuzzy PinYin</property>
  400. <property name="use_underline">True</property>
  401. <property name="response_id">0</property>
  402. <property name="draw_indicator">True</property>
  403. </widget>
  404. </child>
  405. <child>
  406. <widget class="GtkCheckButton" id="FuzzyS_Sh">
  407. <property name="visible">True</property>
  408. <property name="can_focus">True</property>
  409. <property name="label" translatable="yes">s &lt;=&gt; sh</property>
  410. <property name="use_underline">True</property>
  411. <property name="response_id">0</property>
  412. <property name="draw_indicator">True</property>
  413. </widget>
  414. <packing>
  415. <property name="top_attach">1</property>
  416. <property name="bottom_attach">2</property>
  417. <property name="x_options">GTK_FILL</property>
  418. <property name="y_options"></property>
  419. </packing>
  420. </child>
  421. <child>
  422. <widget class="GtkCheckButton" id="FuzzyC_Ch">
  423. <property name="visible">True</property>
  424. <property name="can_focus">True</property>
  425. <property name="label" translatable="yes">c &lt;=&gt; ch</property>
  426. <property name="use_underline">True</property>
  427. <property name="response_id">0</property>
  428. <property name="draw_indicator">True</property>
  429. </widget>
  430. <packing>
  431. <property name="top_attach">2</property>
  432. <property name="bottom_attach">3</property>
  433. <property name="x_options">GTK_FILL</property>
  434. <property name="y_options"></property>
  435. </packing>
  436. </child>
  437. <child>
  438. <widget class="GtkCheckButton" id="FuzzyZ_Zh">
  439. <property name="visible">True</property>
  440. <property name="can_focus">True</property>
  441. <property name="label" translatable="yes">z &lt;=&gt; zh</property>
  442. <property name="use_underline">True</property>
  443. <property name="response_id">0</property>
  444. <property name="draw_indicator">True</property>
  445. </widget>
  446. <packing>
  447. <property name="top_attach">3</property>
  448. <property name="bottom_attach">4</property>
  449. <property name="x_options">GTK_FILL</property>
  450. <property name="y_options"></property>
  451. </packing>
  452. </child>
  453. <child>
  454. <widget class="GtkCheckButton" id="FuzzyL_N">
  455. <property name="visible">True</property>
  456. <property name="can_focus">True</property>
  457. <property name="label" translatable="yes">l &lt;=&gt; n</property>
  458. <property name="use_underline">True</property>
  459. <property name="response_id">0</property>
  460. <property name="draw_indicator">True</property>
  461. </widget>
  462. <packing>
  463. <property name="top_attach">4</property>
  464. <property name="bottom_attach">5</property>
  465. <property name="x_options">GTK_FILL</property>
  466. <property name="y_options"></property>
  467. </packing>
  468. </child>
  469. <child>
  470. <widget class="GtkCheckButton" id="FuzzyIn_Ing">
  471. <property name="visible">True</property>
  472. <property name="can_focus">True</property>
  473. <property name="label" translatable="yes">in &lt;=&gt; ing</property>
  474. <property name="use_underline">True</property>
  475. <property name="response_id">0</property>
  476. <property name="draw_indicator">True</property>
  477. </widget>
  478. <packing>
  479. <property name="left_attach">1</property>
  480. <property name="right_attach">2</property>
  481. <property name="top_attach">1</property>
  482. <property name="bottom_attach">2</property>
  483. <property name="x_options">GTK_FILL</property>
  484. <property name="y_options"></property>
  485. </packing>
  486. </child>
  487. <child>
  488. <widget class="GtkCheckButton" id="FuzzyEn_Eng">
  489. <property name="visible">True</property>
  490. <property name="can_focus">True</property>
  491. <property name="label" translatable="yes">en &lt;=&gt; eng</property>
  492. <property name="use_underline">True</property>
  493. <property name="response_id">0</property>
  494. <property name="draw_indicator">True</property>
  495. </widget>
  496. <packing>
  497. <property name="left_attach">1</property>
  498. <property name="right_attach">2</property>
  499. <property name="top_attach">2</property>
  500. <property name="bottom_attach">3</property>
  501. <property name="x_options">GTK_FILL</property>
  502. <property name="y_options"></property>
  503. </packing>
  504. </child>
  505. <child>
  506. <widget class="GtkCheckButton" id="FuzzyAn_Ang">
  507. <property name="visible">True</property>
  508. <property name="can_focus">True</property>
  509. <property name="label" translatable="yes">an &lt;=&gt; ang</property>
  510. <property name="use_underline">True</property>
  511. <property name="response_id">0</property>
  512. <property name="draw_indicator">True</property>
  513. </widget>
  514. <packing>
  515. <property name="left_attach">1</property>
  516. <property name="right_attach">2</property>
  517. <property name="top_attach">3</property>
  518. <property name="bottom_attach">4</property>
  519. <property name="x_options">GTK_FILL</property>
  520. <property name="y_options"></property>
  521. </packing>
  522. </child>
  523. </widget>
  524. <packing>
  525. <property name="position">1</property>
  526. </packing>
  527. </child>
  528. <child>
  529. <widget class="GtkLabel" id="Fuzzytab">
  530. <property name="visible">True</property>
  531. <property name="label" translatable="yes">Fuzzy PinYin</property>
  532. </widget>
  533. <packing>
  534. <property name="type">tab</property>
  535. <property name="position">1</property>
  536. <property name="tab_fill">False</property>
  537. </packing>
  538. </child>
  539. <child>
  540. <widget class="GtkTable" id="table2">
  541. <property name="visible">True</property>
  542. <property name="n_rows">11</property>
  543. <property name="n_columns">2</property>
  544. <property name="column_spacing">2</property>
  545. <property name="row_spacing">2</property>
  546. <property name="homogeneous">True</property>
  547. <child>
  548. <placeholder/>
  549. </child>
  550. <child>
  551. <placeholder/>
  552. </child>
  553. <child>
  554. <placeholder/>
  555. </child>
  556. <child>
  557. <placeholder/>
  558. </child>
  559. <child>
  560. <placeholder/>
  561. </child>
  562. <child>
  563. <placeholder/>
  564. </child>
  565. <child>
  566. <placeholder/>
  567. </child>
  568. <child>
  569. <placeholder/>
  570. </child>
  571. <child>
  572. <placeholder/>
  573. </child>
  574. <child>
  575. <placeholder/>
  576. </child>
  577. <child>
  578. <widget class="GtkLabel" id="label9">
  579. <property name="visible">True</property>
  580. <property name="xalign">0.89999997615814209</property>
  581. <property name="label" translatable="yes">Color of Spelling Error</property>
  582. </widget>
  583. <packing>
  584. <property name="top_attach">5</property>
  585. <property name="bottom_attach">6</property>
  586. </packing>
  587. </child>
  588. <child>
  589. <widget class="GtkLabel" id="label8">
  590. <property name="visible">True</property>
  591. <property name="xalign">0.89999997615814209</property>
  592. <property name="label" translatable="yes">Color of English Candidates</property>
  593. </widget>
  594. <packing>
  595. <property name="top_attach">4</property>
  596. <property name="bottom_attach">5</property>
  597. </packing>
  598. </child>
  599. <child>
  600. <widget class="GtkLabel" id="label7">
  601. <property name="visible">True</property>
  602. <property name="xalign">0.89999997615814209</property>
  603. <property name="label" translatable="yes">Color of Special Phrases</property>
  604. </widget>
  605. <packing>
  606. <property name="top_attach">3</property>
  607. <property name="bottom_attach">4</property>
  608. </packing>
  609. </child>
  610. <child>
  611. <widget class="GtkLabel" id="label6">
  612. <property name="visible">True</property>
  613. <property name="xalign">0.89999997615814209</property>
  614. <property name="label" translatable="yes">Color of User Phrases</property>
  615. </widget>
  616. <packing>
  617. <property name="top_attach">2</property>
  618. <property name="bottom_attach">3</property>
  619. </packing>
  620. </child>
  621. <child>
  622. <widget class="GtkLabel" id="label5">
  623. <property name="visible">True</property>
  624. <property name="xalign">0.89999997615814209</property>
  625. <property name="label" translatable="yes">Color of New Phrases</property>
  626. </widget>
  627. <packing>
  628. <property name="top_attach">1</property>
  629. <property name="bottom_attach">2</property>
  630. </packing>
  631. </child>
  632. <child>
  633. <widget class="GtkLabel" id="label4">
  634. <property name="visible">True</property>
  635. <property name="xalign">0.89999997615814209</property>
  636. <property name="label" translatable="yes">Color of Normal Phrases</property>
  637. </widget>
  638. </child>
  639. <child>
  640. <widget class="GtkColorButton" id="ErrorEnglishPhraseColor">
  641. <property name="visible">True</property>
  642. <property name="can_focus">True</property>
  643. <property name="response_id">0</property>
  644. <signal name="color_set" handler="on_value_changed"/>
  645. </widget>
  646. <packing>
  647. <property name="left_attach">1</property>
  648. <property name="right_attach">2</property>
  649. <property name="top_attach">5</property>
  650. <property name="bottom_attach">6</property>
  651. </packing>
  652. </child>
  653. <child>
  654. <widget class="GtkColorButton" id="EnglishPhraseColor">
  655. <property name="visible">True</property>
  656. <property name="can_focus">True</property>
  657. <property name="response_id">0</property>
  658. <signal name="color_set" handler="on_value_changed"/>
  659. </widget>
  660. <packing>
  661. <property name="left_attach">1</property>
  662. <property name="right_attach">2</property>
  663. <property name="top_attach">4</property>
  664. <property name="bottom_attach">5</property>
  665. </packing>
  666. </child>
  667. <child>
  668. <widget class="GtkColorButton" id="SpecialPhraseColor">
  669. <property name="visible">True</property>
  670. <property name="can_focus">True</property>
  671. <property name="response_id">0</property>
  672. <signal name="color_set" handler="on_value_changed"/>
  673. </widget>
  674. <packing>
  675. <property name="left_attach">1</property>
  676. <property name="right_attach">2</property>
  677. <property name="top_attach">3</property>
  678. <property name="bottom_attach">4</property>
  679. </packing>
  680. </child>
  681. <child>
  682. <widget class="GtkColorButton" id="UserPhraseColor">
  683. <property name="visible">True</property>
  684. <property name="can_focus">True</property>
  685. <property name="response_id">0</property>
  686. <signal name="color_set" handler="on_value_changed"/>
  687. </widget>
  688. <packing>
  689. <property name="left_attach">1</property>
  690. <property name="right_attach">2</property>
  691. <property name="top_attach">2</property>
  692. <property name="bottom_attach">3</property>
  693. </packing>
  694. </child>
  695. <child>
  696. <widget class="GtkColorButton" id="NewPhraseColor">
  697. <property name="visible">True</property>
  698. <property name="can_focus">True</property>
  699. <property name="response_id">0</property>
  700. <signal name="color_set" handler="on_value_changed"/>
  701. </widget>
  702. <packing>
  703. <property name="left_attach">1</property>
  704. <property name="right_attach">2</property>
  705. <property name="top_attach">1</property>
  706. <property name="bottom_attach">2</property>
  707. </packing>
  708. </child>
  709. <child>
  710. <widget class="GtkColorButton" id="PhraseColor">
  711. <property name="visible">True</property>
  712. <property name="can_focus">True</property>
  713. <property name="response_id">0</property>
  714. <signal name="color_set" handler="on_value_changed"/>
  715. </widget>
  716. <packing>
  717. <property name="left_attach">1</property>
  718. <property name="right_attach">2</property>
  719. </packing>
  720. </child>
  721. </widget>
  722. <packing>
  723. <property name="position">2</property>
  724. </packing>
  725. </child>
  726. <child>
  727. <widget class="GtkLabel" id="label2">
  728. <property name="visible">True</property>
  729. <property name="label" translatable="yes">Colors</property>
  730. </widget>
  731. <packing>
  732. <property name="type">tab</property>
  733. <property name="position">2</property>
  734. <property name="tab_fill">False</property>
  735. </packing>
  736. </child>
  737. <child>
  738. <widget class="GtkTable" id="table3">
  739. <property name="visible">True</property>
  740. <property name="n_rows">6</property>
  741. <property name="n_columns">3</property>
  742. <property name="homogeneous">True</property>
  743. <child>
  744. <placeholder/>
  745. </child>
  746. <child>
  747. <placeholder/>
  748. </child>
  749. <child>
  750. <placeholder/>
  751. </child>
  752. <child>
  753. <placeholder/>
  754. </child>
  755. <child>
  756. <placeholder/>
  757. </child>
  758. <child>
  759. <placeholder/>
  760. </child>
  761. <child>
  762. <placeholder/>
  763. </child>
  764. <child>
  765. <placeholder/>
  766. </child>
  767. <child>
  768. <placeholder/>
  769. </child>
  770. <child>
  771. <placeholder/>
  772. </child>
  773. <child>
  774. <placeholder/>
  775. </child>
  776. <child>
  777. <placeholder/>
  778. </child>
  779. <child>
  780. <placeholder/>
  781. </child>
  782. <child>
  783. <placeholder/>
  784. </child>
  785. <child>
  786. <placeholder/>
  787. </child>
  788. <child>
  789. <placeholder/>
  790. </child>
  791. <child>
  792. <placeholder/>
  793. </child>
  794. <child>
  795. <widget class="GtkButton" id="button_optimize_db">
  796. <property name="visible">True</property>
  797. <property name="can_focus">True</property>
  798. <property name="response_id">0</property>
  799. <signal name="clicked" handler="on_button_optimize_db_clicked"/>
  800. <child>
  801. <widget class="GtkHBox" id="hbox1">
  802. <property name="visible">True</property>
  803. <child>
  804. <widget class="GtkImage" id="image1">
  805. <property name="visible">True</property>
  806. <property name="xalign">0.80000001192092896</property>
  807. <property name="stock">gtk-execute</property>
  808. </widget>
  809. </child>
  810. <child>
  811. <widget class="GtkLabel" id="label19">
  812. <property name="visible">True</property>
  813. <property name="xalign">0.10000000149011612</property>
  814. <property name="label" translatable="yes">Optimize User DB</property>
  815. </widget>
  816. <packing>
  817. <property name="position">1</property>
  818. </packing>
  819. </child>
  820. </widget>
  821. </child>
  822. </widget>
  823. <packing>
  824. <property name="left_attach">1</property>
  825. <property name="right_attach">2</property>
  826. <property name="top_attach">1</property>
  827. <property name="bottom_attach">2</property>
  828. </packing>
  829. </child>
  830. </widget>
  831. <packing>
  832. <property name="position">3</property>
  833. </packing>
  834. </child>
  835. <child>
  836. <widget class="GtkLabel" id="label3">
  837. <property name="visible">True</property>
  838. <property name="label" translatable="yes">User DB</property>
  839. </widget>
  840. <packing>
  841. <property name="type">tab</property>
  842. <property name="position">3</property>
  843. <property name="tab_fill">False</property>
  844. </packing>
  845. </child>
  846. <child>
  847. <widget class="GtkLabel" id="label15">
  848. <property name="visible">True</property>
  849. <property name="label" translatable="yes">Python PinYin
  850. provided by
  851. Huang Peng &lt;shawn.p.huang@gmail.com&gt;
  852. </property>
  853. <property name="use_markup">True</property>
  854. <property name="justify">GTK_JUSTIFY_CENTER</property>
  855. </widget>
  856. <packing>
  857. <property name="position">4</property>
  858. </packing>
  859. </child>
  860. <child>
  861. <widget class="GtkLabel" id="label18">
  862. <property name="visible">True</property>
  863. <property name="label" translatable="yes">About</property>
  864. </widget>
  865. <packing>
  866. <property name="type">tab</property>
  867. <property name="position">4</property>
  868. <property name="tab_fill">False</property>
  869. </packing>
  870. </child>
  871. </widget>
  872. </child>
  873. <child>
  874. <widget class="GtkHButtonBox" id="hbuttonbox1">
  875. <property name="visible">True</property>
  876. <property name="spacing">12</property>
  877. <property name="layout_style">GTK_BUTTONBOX_END</property>
  878. <child>
  879. <widget class="GtkButton" id="button_apply">
  880. <property name="visible">True</property>
  881. <property name="sensitive">False</property>
  882. <property name="can_focus">True</property>
  883. <property name="label">gtk-apply</property>
  884. <property name="use_stock">True</property>
  885. <property name="response_id">0</property>
  886. <signal name="clicked" handler="on_button_apply_clicked"/>
  887. </widget>
  888. </child>
  889. <child>
  890. <widget class="GtkButton" id="button_cancel">
  891. <property name="visible">True</property>
  892. <property name="can_focus">True</property>
  893. <property name="label">gtk-cancel</property>
  894. <property name="use_stock">True</property>
  895. <property name="response_id">0</property>
  896. <signal name="clicked" handler="on_button_cancel_clicked"/>
  897. </widget>
  898. <packing>
  899. <property name="position">1</property>
  900. </packing>
  901. </child>
  902. <child>
  903. <widget class="GtkButton" id="button_ok">
  904. <property name="visible">True</property>
  905. <property name="can_focus">True</property>
  906. <property name="label">gtk-ok</property>
  907. <property name="use_stock">True</property>
  908. <property name="response_id">0</property>
  909. <signal name="clicked" handler="on_button_ok_clicked"/>
  910. <signal name="activate" handler="on_button_ok_activate"/>
  911. </widget>
  912. <packing>
  913. <property name="position">2</property>
  914. </packing>
  915. </child>
  916. </widget>
  917. <packing>
  918. <property name="expand">False</property>
  919. <property name="padding">7</property>
  920. <property name="position">1</property>
  921. </packing>
  922. </child>
  923. </widget>
  924. </child>
  925. </widget>
  926. </glade-interface>