Codebase list gjots2 / 4378631
Merge commit 'upstream/2.3.9' Rolf Leggewie 14 years ago
12 changed file(s) with 401 addition(s) and 261 deletion(s). Raw diff Collapse all Expand all
3232 <signal name="clicked" handler="on_newPage_trigger"/>
3333 </widget>
3434 <packing>
35 <property name="expand">False</property>
35 <property name="homogeneous">True</property>
3636 </packing>
3737 </child>
3838 <child>
4545 <signal name="clicked" handler="on_newChild_trigger"/>
4646 </widget>
4747 <packing>
48 <property name="expand">False</property>
48 <property name="homogeneous">True</property>
4949 </packing>
5050 </child>
5151 <child>
5757 </widget>
5858 </child>
5959 </widget>
60 <packing>
61 <property name="expand">False</property>
62 <property name="homogeneous">False</property>
63 </packing>
6460 </child>
6561 <child>
6662 <widget class="GtkToolButton" id="upButton">
7268 <signal name="clicked" handler="on_up_trigger"/>
7369 </widget>
7470 <packing>
75 <property name="expand">False</property>
71 <property name="homogeneous">True</property>
7672 </packing>
7773 </child>
7874 <child>
8581 <signal name="clicked" handler="on_down_trigger"/>
8682 </widget>
8783 <packing>
88 <property name="expand">False</property>
84 <property name="homogeneous">True</property>
8985 </packing>
9086 </child>
9187 <child>
9894 <signal name="clicked" handler="on_promote_trigger"/>
9995 </widget>
10096 <packing>
101 <property name="expand">False</property>
97 <property name="homogeneous">True</property>
10298 </packing>
10399 </child>
104100 <child>
111107 <signal name="clicked" handler="on_demote_trigger"/>
112108 </widget>
113109 <packing>
114 <property name="expand">False</property>
110 <property name="homogeneous">True</property>
115111 </packing>
116112 </child>
117113 <child>
123119 </widget>
124120 </child>
125121 </widget>
126 <packing>
127 <property name="expand">False</property>
128 <property name="homogeneous">False</property>
129 </packing>
130122 </child>
131123 <child>
132124 <widget class="GtkToolButton" id="splitItemButton">
138130 <signal name="clicked" handler="on_splitItem_trigger"/>
139131 </widget>
140132 <packing>
141 <property name="expand">False</property>
133 <property name="homogeneous">True</property>
142134 </packing>
143135 </child>
144136 <child>
151143 <signal name="clicked" handler="on_mergeItems_trigger"/>
152144 </widget>
153145 <packing>
154 <property name="expand">False</property>
146 <property name="homogeneous">True</property>
155147 </packing>
156148 </child>
157149 <child>
163155 </widget>
164156 </child>
165157 </widget>
166 <packing>
167 <property name="expand">False</property>
168 <property name="homogeneous">False</property>
169 </packing>
170158 </child>
171159 <child>
172160 <widget class="GtkToolButton" id="hideAllButton">
178166 <signal name="clicked" handler="on_hideAll_trigger"/>
179167 </widget>
180168 <packing>
181 <property name="expand">False</property>
169 <property name="homogeneous">True</property>
182170 </packing>
183171 </child>
184172 <child>
191179 <signal name="clicked" handler="on_showAll_trigger"/>
192180 </widget>
193181 <packing>
194 <property name="expand">False</property>
182 <property name="homogeneous">True</property>
195183 </packing>
196184 </child>
197185 <child>
204192 <signal name="clicked" handler="on_sortTree_trigger"/>
205193 </widget>
206194 <packing>
207 <property name="expand">False</property>
195 <property name="homogeneous">True</property>
208196 </packing>
209197 </child>
210198 </widget>
232220 <signal name="clicked" handler="on_save_trigger"/>
233221 </widget>
234222 <packing>
235 <property name="expand">False</property>
223 <property name="homogeneous">True</property>
236224 </packing>
237225 </child>
238226 <child>
245233 <signal name="clicked" handler="on_print_trigger"/>
246234 </widget>
247235 <packing>
248 <property name="expand">False</property>
236 <property name="homogeneous">True</property>
249237 </packing>
250238 </child>
251239 <child>
257245 </widget>
258246 </child>
259247 </widget>
260 <packing>
261 <property name="expand">False</property>
262 <property name="homogeneous">False</property>
263 </packing>
264248 </child>
265249 <child>
266250 <widget class="GtkToolButton" id="cutButton">
272256 <signal name="clicked" handler="on_cut_trigger"/>
273257 </widget>
274258 <packing>
275 <property name="expand">False</property>
259 <property name="homogeneous">True</property>
276260 </packing>
277261 </child>
278262 <child>
285269 <signal name="clicked" handler="on_copy_trigger"/>
286270 </widget>
287271 <packing>
288 <property name="expand">False</property>
272 <property name="homogeneous">True</property>
289273 </packing>
290274 </child>
291275 <child>
298282 <signal name="clicked" handler="on_paste_trigger"/>
299283 </widget>
300284 <packing>
301 <property name="expand">False</property>
285 <property name="homogeneous">True</property>
302286 </packing>
303287 </child>
304288 <child>
310294 </widget>
311295 </child>
312296 </widget>
313 <packing>
314 <property name="expand">False</property>
315 <property name="homogeneous">False</property>
316 </packing>
317297 </child>
318298 <child>
319299 <widget class="GtkToolButton" id="wrapButton">
325305 <signal name="clicked" handler="on_format_trigger"/>
326306 </widget>
327307 <packing>
328 <property name="expand">False</property>
308 <property name="homogeneous">True</property>
329309 </packing>
330310 </child>
331311 <child>
338318 <signal name="clicked" handler="on_externalEdit_trigger"/>
339319 </widget>
340320 <packing>
341 <property name="expand">False</property>
321 <property name="homogeneous">True</property>
342322 </packing>
343323 </child>
344324 <child>
351331 <signal name="clicked" handler="on_timeStamp_trigger"/>
352332 </widget>
353333 <packing>
354 <property name="expand">False</property>
334 <property name="homogeneous">True</property>
355335 </packing>
356336 </child>
357337 <child>
364344 <signal name="clicked" handler="on_find_trigger"/>
365345 </widget>
366346 <packing>
367 <property name="expand">False</property>
347 <property name="homogeneous">True</property>
368348 </packing>
369349 </child>
370350 <child>
377357 <signal name="clicked" handler="on_sort_trigger"/>
378358 </widget>
379359 <packing>
380 <property name="expand">False</property>
360 <property name="homogeneous">True</property>
381361 </packing>
382362 </child>
383363 <child>
390370 <signal name="clicked" handler="on_prefs_trigger"/>
391371 </widget>
392372 <packing>
393 <property name="expand">False</property>
373 <property name="homogeneous">True</property>
394374 </packing>
395375 </child>
396376 </widget>
494474 </widget>
495475 </child>
496476 <child>
497 <widget class="GtkSeparatorMenuItem" id="separator8">
477 <widget class="GtkSeparatorMenuItem" id="separator1">
498478 <property name="visible">True</property>
499479 </widget>
500480 </child>
522502 </widget>
523503 </child>
524504 <child>
525 <widget class="GtkSeparatorMenuItem" id="separator1">
505 <widget class="GtkSeparatorMenuItem" id="separator2">
526506 <property name="visible">True</property>
527507 </widget>
528508 </child>
554534 <property name="use_underline">True</property>
555535 <child>
556536 <widget class="GtkMenu" id="edit1_menu">
537 <child>
538 <widget class="GtkImageMenuItem" id="undoMenuItem">
539 <property name="visible">True</property>
540 <property name="label" translatable="yes">Undo</property>
541 <property name="use_underline">True</property>
542 <signal name="activate" handler="on_undo_trigger"/>
543 <accelerator key="Z" modifiers="GDK_CONTROL_MASK" signal="activate"/>
544 <child internal-child="image">
545 <widget class="GtkImage" id="menu-item-image33">
546 <property name="stock">gtk-undo</property>
547 </widget>
548 </child>
549 </widget>
550 </child>
551 <child>
552 <widget class="GtkImageMenuItem" id="redoMenuItem">
553 <property name="visible">True</property>
554 <property name="label" translatable="yes">Redo</property>
555 <property name="use_underline">True</property>
556 <signal name="activate" handler="on_redo_trigger"/>
557 <accelerator key="Y" modifiers="GDK_CONTROL_MASK" signal="activate"/>
558 <child internal-child="image">
559 <widget class="GtkImage" id="menu-item-image34">
560 <property name="stock">gtk-redo</property>
561 </widget>
562 </child>
563 </widget>
564 </child>
557565 <child>
558566 <widget class="GtkImageMenuItem" id="cutMenuItem">
559567 <property name="visible">True</property>
690698 </widget>
691699 </child>
692700 <child>
693 <widget class="GtkSeparatorMenuItem" id="separator4">
701 <widget class="GtkSeparatorMenuItem" id="separator3">
694702 <property name="visible">True</property>
695703 </widget>
696704 </child>
766774 </widget>
767775 </child>
768776 <child>
769 <widget class="GtkSeparatorMenuItem" id="separator2">
777 <widget class="GtkSeparatorMenuItem" id="separator6">
770778 <property name="visible">True</property>
771779 </widget>
772780 </child>
835843 </widget>
836844 </child>
837845 <child>
838 <widget class="GtkSeparatorMenuItem" id="separator3">
846 <widget class="GtkSeparatorMenuItem" id="separator9">
839847 <property name="visible">True</property>
840848 </widget>
841849 </child>
870878 </widget>
871879 </child>
872880 <child>
873 <widget class="GtkSeparatorMenuItem" id="separator6">
881 <widget class="GtkSeparatorMenuItem" id="separator11">
874882 <property name="visible">True</property>
875883 </widget>
876884 </child>
10221030 </widget>
10231031 </child>
10241032 <child>
1025 <widget class="GtkSeparatorMenuItem" id="separator11">
1026 <property name="visible">True</property>
1027 </widget>
1028 </child>
1029 <child>
1030 <widget class="GtkMenuItem" id="selectAllMenuItem">
1033 <widget class="GtkSeparatorMenuItem" id="separator12">
1034 <property name="visible">True</property>
1035 </widget>
1036 </child>
1037 <child>
1038 <widget class="GtkMenuItem" id="selectAllMenuItem1">
10311039 <property name="visible">True</property>
10321040 <property name="sensitive">False</property>
10331041 <property name="label" translatable="yes">Select _All</property>
10501058 </widget>
10511059 </child>
10521060 <child>
1053 <widget class="GtkSeparatorMenuItem" id="separator12">
1061 <widget class="GtkSeparatorMenuItem" id="separator13">
10541062 <property name="visible">True</property>
10551063 </widget>
10561064 </child>
10611069 <property name="use_underline">True</property>
10621070 <signal name="activate" handler="on_newPage_trigger"/>
10631071 <child internal-child="image">
1064 <widget class="GtkImage" id="image1143">
1072 <widget class="GtkImage" id="image1">
10651073 <property name="visible">True</property>
10661074 <property name="pixbuf">gjots2-new-page.png</property>
10671075 </widget>
10751083 <property name="use_underline">True</property>
10761084 <signal name="activate" handler="on_newChild_trigger"/>
10771085 <child internal-child="image">
1078 <widget class="GtkImage" id="image1143">
1086 <widget class="GtkImage" id="image2">
10791087 <property name="visible">True</property>
10801088 <property name="pixbuf">gjots2-new-child.png</property>
10811089 </widget>
10831091 </widget>
10841092 </child>
10851093 <child>
1086 <widget class="GtkSeparatorMenuItem" id="separator13">
1094 <widget class="GtkSeparatorMenuItem" id="separator14">
10871095 <property name="visible">True</property>
10881096 </widget>
10891097 </child>
10941102 <property name="use_underline">True</property>
10951103 <signal name="activate" handler="on_up_trigger"/>
10961104 <child internal-child="image">
1097 <widget class="GtkImage" id="image1143">
1105 <widget class="GtkImage" id="image3">
10981106 <property name="visible">True</property>
10991107 <property name="stock">gtk-go-up</property>
11001108 <property name="icon_size">1</property>
11091117 <property name="use_underline">True</property>
11101118 <signal name="activate" handler="on_down_trigger"/>
11111119 <child internal-child="image">
1112 <widget class="GtkImage" id="image1143">
1120 <widget class="GtkImage" id="image4">
11131121 <property name="visible">True</property>
11141122 <property name="stock">gtk-go-down</property>
11151123 <property name="icon_size">1</property>
11241132 <property name="use_underline">True</property>
11251133 <signal name="activate" handler="on_promote_trigger"/>
11261134 <child internal-child="image">
1127 <widget class="GtkImage" id="image1143">
1135 <widget class="GtkImage" id="image5">
11281136 <property name="visible">True</property>
11291137 <property name="stock">gtk-go-back</property>
11301138 <property name="icon_size">1</property>
11391147 <property name="use_underline">True</property>
11401148 <signal name="activate" handler="on_demote_trigger"/>
11411149 <child internal-child="image">
1142 <widget class="GtkImage" id="image1143">
1150 <widget class="GtkImage" id="image6">
11431151 <property name="visible">True</property>
11441152 <property name="stock">gtk-go-forward</property>
11451153 <property name="icon_size">1</property>
11481156 </widget>
11491157 </child>
11501158 <child>
1151 <widget class="GtkSeparatorMenuItem" id="separator14">
1159 <widget class="GtkSeparatorMenuItem" id="separator15">
11521160 <property name="visible">True</property>
11531161 </widget>
11541162 </child>
11591167 <property name="use_underline">True</property>
11601168 <signal name="activate" handler="on_mergeItems_trigger"/>
11611169 <child internal-child="image">
1162 <widget class="GtkImage" id="image1143">
1170 <widget class="GtkImage" id="image7">
11631171 <property name="visible">True</property>
11641172 <property name="pixbuf">gjots2-merge-items.png</property>
11651173 </widget>
11781186 <property name="use_underline">True</property>
11791187 <signal name="activate" handler="on_showAll_trigger"/>
11801188 <child internal-child="image">
1181 <widget class="GtkImage" id="image1143">
1189 <widget class="GtkImage" id="image8">
11821190 <property name="visible">True</property>
11831191 <property name="pixbuf">gjots2-show-all.png</property>
11841192 </widget>
11921200 <property name="use_underline">True</property>
11931201 <signal name="activate" handler="on_hideAll_trigger"/>
11941202 <child internal-child="image">
1195 <widget class="GtkImage" id="image1143">
1203 <widget class="GtkImage" id="image9">
11961204 <property name="visible">True</property>
11971205 <property name="pixbuf">gjots2-hide-all.png</property>
11981206 </widget>
12001208 </widget>
12011209 </child>
12021210 <child>
1203 <widget class="GtkSeparatorMenuItem" id="separator15">
1211 <widget class="GtkSeparatorMenuItem" id="separator17">
12041212 <property name="visible">True</property>
12051213 </widget>
12061214 </child>
12111219 <property name="use_underline">True</property>
12121220 <signal name="activate" handler="on_sortTree_trigger"/>
12131221 <child internal-child="image">
1214 <widget class="GtkImage" id="image1143">
1222 <widget class="GtkImage" id="image10">
12151223 <property name="visible">True</property>
12161224 <property name="stock">gtk-sort-ascending</property>
12171225 <property name="icon_size">1</property>
12201228 </widget>
12211229 </child>
12221230 <child>
1223 <widget class="GtkSeparatorMenuItem" id="separator16">
1231 <widget class="GtkSeparatorMenuItem" id="separator18">
12241232 <property name="visible">True</property>
12251233 </widget>
12261234 </child>
12311239 <property name="use_underline">True</property>
12321240 <signal name="activate" handler="on_import_trigger"/>
12331241 <child internal-child="image">
1234 <widget class="GtkImage" id="image1143">
1242 <widget class="GtkImage" id="image11">
12351243 <property name="visible">True</property>
12361244 <property name="stock">gtk-cdrom</property>
12371245 <property name="icon_size">1</property>
12461254 <property name="use_underline">True</property>
12471255 <signal name="activate" handler="on_export_trigger"/>
12481256 <child internal-child="image">
1249 <widget class="GtkImage" id="image1143">
1257 <widget class="GtkImage" id="image12">
12501258 <property name="visible">True</property>
12511259 <property name="stock">gtk-close</property>
12521260 <property name="icon_size">1</property>
13361344 <child>
13371345 <widget class="GtkScrolledWindow" id="treeScrolledWindow">
13381346 <property name="visible">True</property>
1347 <property name="can_focus">False</property>
13391348 <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
13401349 <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
13411350 <child>
13561365 </widget>
13571366 <packing>
13581367 <property name="resize">False</property>
1368 <property name="shrink">True</property>
13591369 </packing>
13601370 </child>
13611371 <child>
13621372 <widget class="GtkScrolledWindow" id="textScrolledWindow">
13631373 <property name="visible">True</property>
1374 <property name="can_focus">False</property>
13641375 <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
13651376 <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
13661377 <property name="shadow_type">GTK_SHADOW_IN</property>
13761387 </widget>
13771388 </child>
13781389 </widget>
1390 <packing>
1391 <property name="resize">True</property>
1392 <property name="shrink">True</property>
1393 </packing>
13791394 </child>
13801395 </widget>
13811396 <packing>
14181433 <property name="comments" translatable="yes">http://bhepple.freeshell.org/gjots2</property>
14191434 <property name="authors">Bob Hepple
14201435 Gabriel Munoz
1436
1437
14211438
14221439
14231440 </property>
15531570 <property name="border_width">5</property>
15541571 <property name="label">gtk-ok</property>
15551572 <property name="use_stock">True</property>
1573 <property name="response_id">0</property>
15561574 <signal name="clicked" handler="on_generalOK_clicked"/>
15571575 </widget>
15581576 </child>
15621580 <property name="border_width">5</property>
15631581 <property name="label">gtk-yes</property>
15641582 <property name="use_stock">True</property>
1583 <property name="response_id">0</property>
15651584 <signal name="clicked" handler="on_generalYes_clicked"/>
15661585 </widget>
15671586 <packing>
15741593 <property name="border_width">5</property>
15751594 <property name="label">gtk-no</property>
15761595 <property name="use_stock">True</property>
1596 <property name="response_id">0</property>
15771597 <signal name="clicked" handler="on_generalNo_clicked"/>
15781598 </widget>
15791599 <packing>
15861606 <property name="border_width">5</property>
15871607 <property name="label">gtk-cancel</property>
15881608 <property name="use_stock">True</property>
1609 <property name="response_id">0</property>
15891610 <signal name="clicked" handler="on_generalCancel_clicked"/>
15901611 </widget>
15911612 <packing>
15991620 <property name="border_width">5</property>
16001621 <property name="label" translatable="yes">Try again</property>
16011622 <property name="use_underline">True</property>
1623 <property name="response_id">0</property>
16021624 <signal name="clicked" handler="on_generalTryagain_clicked"/>
16031625 </widget>
16041626 <packing>
16121634 <property name="border_width">5</property>
16131635 <property name="label" translatable="yes">Read only</property>
16141636 <property name="use_underline">True</property>
1637 <property name="response_id">0</property>
16151638 <signal name="clicked" handler="on_generalReadonly_clicked"/>
16161639 </widget>
16171640 <packing>
16521675 <property name="tooltip" translatable="yes">Choose a font for the text panel</property>
16531676 <property name="label">gtk-select-font</property>
16541677 <property name="use_stock">True</property>
1678 <property name="response_id">0</property>
16551679 <signal name="clicked" handler="on_fontButton_clicked"/>
16561680 </widget>
16571681 <packing>
18181842 <property name="border_width">5</property>
18191843 <property name="label">gtk-ok</property>
18201844 <property name="use_stock">True</property>
1845 <property name="response_id">0</property>
18211846 <signal name="clicked" handler="on_prefsOK_clicked"/>
18221847 </widget>
18231848 </child>
18291854 <property name="border_width">5</property>
18301855 <property name="label">gtk-cancel</property>
18311856 <property name="use_stock">True</property>
1857 <property name="response_id">0</property>
18321858 <signal name="clicked" handler="on_prefsCancel_clicked"/>
18331859 </widget>
18341860 <packing>
18601886 <property name="visible">True</property>
18611887 <property name="can_focus">True</property>
18621888 <property name="can_default">True</property>
1889 <property name="response_id">0</property>
18631890 <signal name="clicked" handler="on_fontCancel_clicked"/>
18641891 </widget>
18651892 </child>
18671894 <widget class="GtkButton" id="fontApply">
18681895 <property name="can_focus">True</property>
18691896 <property name="can_default">True</property>
1897 <property name="response_id">0</property>
18701898 <signal name="clicked" handler="on_fontApply_clicked"/>
18711899 </widget>
18721900 </child>
18751903 <property name="visible">True</property>
18761904 <property name="can_focus">True</property>
18771905 <property name="can_default">True</property>
1906 <property name="response_id">0</property>
18781907 <signal name="clicked" handler="on_fontOK_clicked"/>
18791908 </widget>
18801909 </child>
19722001 <property name="can_focus">True</property>
19732002 <property name="label" translatable="yes">Find</property>
19742003 <property name="use_underline">True</property>
2004 <property name="response_id">0</property>
19752005 <signal name="clicked" handler="on_findStartButton_clicked"/>
19762006 </widget>
19772007 <packing>
19852015 <property name="can_focus">True</property>
19862016 <property name="label" translatable="yes">Close</property>
19872017 <property name="use_underline">True</property>
2018 <property name="response_id">0</property>
19882019 <signal name="clicked" handler="on_findCloseButton_clicked"/>
19892020 </widget>
19902021 <packing>
20002031 <property name="can_focus">True</property>
20012032 <property name="label" translatable="yes">Replace</property>
20022033 <property name="use_underline">True</property>
2034 <property name="response_id">0</property>
20032035 <signal name="clicked" handler="on_replaceStartButton_clicked"/>
20042036 </widget>
20052037 <packing>
20152047 <property name="can_focus">True</property>
20162048 <property name="label" translatable="yes">Replace All</property>
20172049 <property name="use_underline">True</property>
2050 <property name="response_id">0</property>
20182051 <signal name="clicked" handler="on_replaceAllButton_clicked"/>
20192052 </widget>
20202053 <packing>
20302063 <property name="can_focus">True</property>
20312064 <property name="label" translatable="yes">Cancel</property>
20322065 <property name="use_underline">True</property>
2066 <property name="response_id">0</property>
20332067 <signal name="clicked" handler="on_findCancelButton_clicked"/>
20342068 </widget>
20352069 <packing>
20472081 <property name="can_focus">True</property>
20482082 <property name="label" translatable="yes">Clear</property>
20492083 <property name="use_underline">True</property>
2084 <property name="response_id">0</property>
20502085 <signal name="clicked" handler="on_findClearButton_clicked"/>
20512086 </widget>
20522087 <packing>
20982133 <property name="tooltip" translatable="yes">Don't ignore case</property>
20992134 <property name="label" translatable="yes">Match case</property>
21002135 <property name="use_underline">True</property>
2136 <property name="response_id">0</property>
21012137 <property name="draw_indicator">True</property>
21022138 </widget>
21032139 <packing>
21112147 <property name="tooltip" translatable="yes">Find string is a regular expression (see 'man 7 regex')</property>
21122148 <property name="label" translatable="yes">Regular Expression</property>
21132149 <property name="use_underline">True</property>
2150 <property name="response_id">0</property>
21142151 <property name="draw_indicator">True</property>
21152152 </widget>
21162153 <packing>
21252162 <property name="tooltip" translatable="yes">Search backwards</property>
21262163 <property name="label" translatable="yes">Backwards</property>
21272164 <property name="use_underline">True</property>
2165 <property name="response_id">0</property>
21282166 <property name="draw_indicator">True</property>
21292167 </widget>
21302168 <packing>
21432181 <property name="tooltip" translatable="yes">Searches entire file not just this entry</property>
21442182 <property name="label" translatable="yes">Global</property>
21452183 <property name="use_underline">True</property>
2184 <property name="response_id">0</property>
21462185 <property name="draw_indicator">True</property>
21472186 </widget>
21482187 <packing>
22542293 <property name="tooltip" translatable="yes">Print the current page</property>
22552294 <property name="label" translatable="yes">Page</property>
22562295 <property name="use_underline">True</property>
2296 <property name="response_id">0</property>
22572297 <property name="draw_indicator">True</property>
22582298 </widget>
22592299 <packing>
22682308 <property name="tooltip" translatable="yes">Print the selected pages or text</property>
22692309 <property name="label" translatable="yes">Selection</property>
22702310 <property name="use_underline">True</property>
2311 <property name="response_id">0</property>
22712312 <property name="draw_indicator">True</property>
22722313 <property name="group">printPageRadioButton</property>
22732314 </widget>
22842325 <property name="tooltip" translatable="yes">Print the entire gjots file</property>
22852326 <property name="label" translatable="yes">All</property>
22862327 <property name="use_underline">True</property>
2328 <property name="response_id">0</property>
22872329 <property name="draw_indicator">True</property>
22882330 <property name="group">printPageRadioButton</property>
22892331 </widget>
23352377 <property name="tooltip" translatable="yes">Feeds a page before every new gjots item</property>
23362378 <property name="label" translatable="yes">Page feeds</property>
23372379 <property name="use_underline">True</property>
2380 <property name="response_id">0</property>
23382381 <property name="draw_indicator">True</property>
23392382 </widget>
23402383 <packing>
23482391 <property name="tooltip" translatable="yes">Print the gjots item titles in bold</property>
23492392 <property name="label" translatable="yes">Bold titles</property>
23502393 <property name="use_underline">True</property>
2394 <property name="response_id">0</property>
23512395 <property name="draw_indicator">True</property>
23522396 </widget>
23532397 <packing>
23622406 <property name="can_focus">True</property>
23632407 <property name="label" translatable="yes">Auto Number</property>
23642408 <property name="use_underline">True</property>
2409 <property name="response_id">0</property>
23652410 <property name="draw_indicator">True</property>
23662411 <signal name="toggled" handler="on_printAutoNumberheckButton_toggled"/>
23672412 </widget>
24312476 <property name="border_width">5</property>
24322477 <property name="label">gtk-ok</property>
24332478 <property name="use_stock">True</property>
2479 <property name="response_id">0</property>
24342480 <signal name="clicked" handler="on_printOKButton_clicked"/>
24352481 </widget>
24362482 </child>
24422488 <property name="border_width">5</property>
24432489 <property name="label">gtk-cancel</property>
24442490 <property name="use_stock">True</property>
2491 <property name="response_id">0</property>
24452492 <signal name="clicked" handler="on_printCancelButton_clicked"/>
24462493 </widget>
24472494 <packing>
24862533 <property name="tooltip" translatable="yes">Sort in ascending order</property>
24872534 <property name="label" translatable="yes">Ascending</property>
24882535 <property name="use_underline">True</property>
2536 <property name="response_id">0</property>
24892537 <property name="draw_indicator">True</property>
24902538 </widget>
24912539 <packing>
25002548 <property name="tooltip" translatable="yes">Sort in descending order</property>
25012549 <property name="label" translatable="yes">Descending</property>
25022550 <property name="use_underline">True</property>
2551 <property name="response_id">0</property>
25032552 <property name="draw_indicator">True</property>
25042553 <property name="group">sortAscendingRadioButton</property>
25052554 </widget>
25172566 <property name="tooltip" translatable="yes">Sort in alphabetic order</property>
25182567 <property name="label" translatable="yes">Alphabetic</property>
25192568 <property name="use_underline">True</property>
2569 <property name="response_id">0</property>
25202570 <property name="draw_indicator">True</property>
25212571 </widget>
25222572 <packing>
25332583 <property name="tooltip" translatable="yes">Sort in numeric order</property>
25342584 <property name="label" translatable="yes">Numeric</property>
25352585 <property name="use_underline">True</property>
2586 <property name="response_id">0</property>
25362587 <property name="draw_indicator">True</property>
25372588 <property name="group">sortAlphabeticRadioButton</property>
25382589 </widget>
26212672 <property name="border_width">5</property>
26222673 <property name="label">gtk-ok</property>
26232674 <property name="use_stock">True</property>
2675 <property name="response_id">0</property>
26242676 <signal name="clicked" handler="on_sortOKButton_clicked"/>
26252677 </widget>
26262678 </child>
26322684 <property name="border_width">5</property>
26332685 <property name="label">gtk-cancel</property>
26342686 <property name="use_stock">True</property>
2687 <property name="response_id">0</property>
26352688 <signal name="clicked" handler="on_sortCancelButton_clicked"/>
26362689 </widget>
26372690 <packing>
26532706 <property name="title" translatable="yes">Select File</property>
26542707 <property name="modal">True</property>
26552708 <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
2656 <property name="show_fileops">True</property>
26572709 <signal name="key_press_event" handler="on_fileselection_key_press_event"/>
26582710 <child internal-child="cancel_button">
26592711 <widget class="GtkButton" id="fileselectionCancelButton">
26602712 <property name="visible">True</property>
26612713 <property name="can_focus">True</property>
26622714 <property name="can_default">True</property>
2715 <property name="response_id">0</property>
26632716 <signal name="clicked" handler="on_fileselectionCancelButton_clicked"/>
26642717 </widget>
26652718 </child>
26682721 <property name="visible">True</property>
26692722 <property name="can_focus">True</property>
26702723 <property name="can_default">True</property>
2724 <property name="response_id">0</property>
26712725 <signal name="clicked" handler="on_fileselectionOkButton_clicked"/>
26722726 </widget>
26732727 </child>
+0
-90
gjots2-2.3.8.ebuild less more
0 # Copyright 1999-2004 Gentoo Technologies, Inc.
1 # Distributed under the terms of the GNU General Public License v2
2 # $Header: /cvsroot/gjots2/gjots/gjots2.ebuild,v 1.7.2.15 2007/07/28 12:11:45 bhepple Exp $
3
4 inherit python gnome.org
5
6 DESCRIPTION="A graphical (GNOME 2) jotter tool"
7 HOMEPAGE="http://bhepple.freeshell.org/gjots/"
8 SRC_URI="http://bhepple.freeshell.org/gjots/${P}.tgz"
9
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="~x86"
13 IUSE=""
14
15 DEPEND=">=dev-lang/python-2.3.4
16 >=gnome-base/libglade-2.4.0
17 >=gnome-base/libgnome-2
18 >=dev-python/gnome-python-2.0.2
19 >=dev-python/pygtk-2.4.1
20 >=dev-python/pyorbit-2.0.0"
21
22 MAKEOPTS="${MAKEOPTS} -j1"
23
24 #src_compile() {
25 # emake || die "make failed"
26 #}
27
28 src_install() {
29 cd ${S}
30 dobin bin/gjots2 bin/gjots2html bin/gjots2html.py bin/gjots2docbook bin/docbook2gjots bin/gjots2emacs bin/gjots2lpr
31
32 insinto /usr/lib/gjots2
33 doins lib/*.py
34
35 insinto /usr/share/gjots2
36 doins gjots.glade3
37
38 insinto /usr/share/gjots2
39 doins gjots.png gjots2-hide-all.png gjots2-merge-items.png gjots2-new-child.png gjots2-new-page.png gjots2-show-all.png gjots2-split-item.png
40
41 insinto /usr/share/pixmaps
42 doins gjots.png
43
44 insinto /usr/share/applications
45 doins gjots2.desktop
46
47 insinto /usr/share/man/man1
48 doins share/man/man1/gjots2.1 share/man/man1/gjots2html.1 share/man/man1/gjots2docbook.1 share/man/man1/docbook2gjots.1
49
50 dodoc README AUTHORS COPYING INSTALL ChangeLog
51 insinto /usr/share/doc/${PF}
52 doins gjots2.gjots
53 doins gjots2.en_US.gjots
54 doins gjots2.fr.gjots
55 doins gjots2.no.gjots
56 doins gjots2.nb.gjots
57 doins gjots2.ru.gjots
58 # not available:
59 # doins gjots2.it.gjots
60 # doins gjots2.cs.gjots
61
62 insinto /usr/share/locale/en_US/LC_MESSAGES
63 doins po/en_US/LC_MESSAGES/gjots2.mo
64
65 insinto /usr/share/locale/fr/LC_MESSAGES
66 doins po/fr/LC_MESSAGES/gjots2.mo
67
68 insinto /usr/share/locale/no/LC_MESSAGES
69 doins po/no/LC_MESSAGES/gjots2.mo
70 insinto /usr/share/locale/nb/LC_MESSAGES
71 doins po/nb/LC_MESSAGES/gjots2.mo
72
73 insinto /usr/share/locale/ru/LC_MESSAGES
74 doins po/ru/LC_MESSAGES/gjots2.mo
75
76 insinto /usr/share/locale/it/LC_MESSAGES
77 doins po/it/LC_MESSAGES/gjots2.mo
78
79 insinto /usr/share/locale/cs/LC_MESSAGES
80 doins po/cs/LC_MESSAGES/gjots2.mo
81 }
82
83 pkg_postinst() {
84 python_mod_optimize /usr/lib/gjots2
85 }
86
87 pkg_postrm() {
88 python_mod_cleanup /usr/lib/gjots2
89 }
0 # Copyright 1999-2004 Gentoo Technologies, Inc.
1 # Distributed under the terms of the GNU General Public License v2
2 # $Header: /cvsroot/gjots2/gjots/gjots2.ebuild,v 1.7.2.15 2007/07/28 12:11:45 bhepple Exp $
3
4 inherit python gnome.org
5
6 DESCRIPTION="A graphical (GNOME 2) jotter tool"
7 HOMEPAGE="http://bhepple.freeshell.org/gjots/"
8 SRC_URI="http://bhepple.freeshell.org/gjots/${P}.tgz"
9
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="~x86"
13 IUSE=""
14
15 DEPEND=">=dev-lang/python-2.3.4
16 >=gnome-base/libglade-2.4.0
17 >=gnome-base/libgnome-2
18 >=dev-python/gnome-python-2.0.2
19 >=dev-python/pygtk-2.4.1
20 >=dev-python/pyorbit-2.0.0"
21
22 MAKEOPTS="${MAKEOPTS} -j1"
23
24 #src_compile() {
25 # emake || die "make failed"
26 #}
27
28 src_install() {
29 cd ${S}
30 dobin bin/gjots2 bin/gjots2html bin/gjots2html.py bin/gjots2docbook bin/docbook2gjots bin/gjots2emacs bin/gjots2lpr
31
32 insinto /usr/lib/gjots2
33 doins lib/*.py
34
35 insinto /usr/share/gjots2
36 doins gjots.glade3
37
38 insinto /usr/share/gjots2
39 doins gjots.png gjots2-hide-all.png gjots2-merge-items.png gjots2-new-child.png gjots2-new-page.png gjots2-show-all.png gjots2-split-item.png
40
41 insinto /usr/share/pixmaps
42 doins gjots.png
43
44 insinto /usr/share/applications
45 doins gjots2.desktop
46
47 insinto /usr/share/man/man1
48 doins share/man/man1/gjots2.1 share/man/man1/gjots2html.1 share/man/man1/gjots2docbook.1 share/man/man1/docbook2gjots.1
49
50 dodoc README AUTHORS COPYING INSTALL ChangeLog
51 insinto /usr/share/doc/${PF}
52 doins gjots2.gjots
53 doins gjots2.en_US.gjots
54 doins gjots2.fr.gjots
55 doins gjots2.no.gjots
56 doins gjots2.nb.gjots
57 doins gjots2.ru.gjots
58 # not available:
59 # doins gjots2.it.gjots
60 # doins gjots2.cs.gjots
61
62 insinto /usr/share/locale/en_US/LC_MESSAGES
63 doins po/en_US/LC_MESSAGES/gjots2.mo
64
65 insinto /usr/share/locale/fr/LC_MESSAGES
66 doins po/fr/LC_MESSAGES/gjots2.mo
67
68 insinto /usr/share/locale/no/LC_MESSAGES
69 doins po/no/LC_MESSAGES/gjots2.mo
70 insinto /usr/share/locale/nb/LC_MESSAGES
71 doins po/nb/LC_MESSAGES/gjots2.mo
72
73 insinto /usr/share/locale/ru/LC_MESSAGES
74 doins po/ru/LC_MESSAGES/gjots2.mo
75
76 insinto /usr/share/locale/it/LC_MESSAGES
77 doins po/it/LC_MESSAGES/gjots2.mo
78
79 insinto /usr/share/locale/cs/LC_MESSAGES
80 doins po/cs/LC_MESSAGES/gjots2.mo
81 }
82
83 pkg_postinst() {
84 python_mod_optimize /usr/lib/gjots2
85 }
86
87 pkg_postrm() {
88 python_mod_cleanup /usr/lib/gjots2
89 }
8282
8383 export PYTHONPATH=/usr/local/lib/python2.3/site-packages/
8484
85 As at this writing (gjots-2.3.8), I have the following installed (on Gentoo):
86
87 dev-python/gnome-python-2.22.0 (2)
88 dev-python/gnome-python-desktop-2.22.0 (0)
89 gnome-base/gnome-common-2.20.0 (3)
90 gnome-base/gnome-keyring-2.22.3 (0)
91 gnome-base/gnome-mime-data-2.18.0 (0)
92 gnome-base/gnome-vfs-2.22.0 (2)
93 gnome-base/libgnome-2.22.0 (0)
94 gnome-base/libgnomecanvas-2.20.1.1 (0)
95 gnome-base/libgnomeui-2.22.1 (0)
96 x11-themes/gnome-icon-theme-2.22.0 (0)
97 dev-python/pygtk-2.12.1-r2 (2)
98 x11-libs/gtk+-2.12.11 (2)
99 gnome-base/libglade-2.6.3 (2.0)
100 dev-python/pyorbit-2.14.3 (0)
101 gnome-base/orbit-2.14.13 (2)
102
103 Presumably rpm-based systems (RedHat, Mandrake/Mandriva, SuSE) are similar
104 (please advise). Apparently, Fedora also requires gnome-python2-gconf.
85 As at this writing (gjots-2.3.9), I have the following installed (on Fedora-10):
86
87 glade3-libgladeui-3.4.5-4.fc10
88 gnome-python2-2.22.3-1.fc10
89 gnome-python2-gconf-2.22.3-1.fc10
90 gtk2-2.14.7-7.fc10
91 gtksourceview-1.8.5-5.fc10
92 libglade2-2.6.3-1.fc10
93 libgnome-2.24.1-7.fc10
94 libgnomecanvas-2.20.1.1-2.fc9
95 libgnomeui-2.24.0-2.fc10
96 pygtk2-2.13.0-2.fc10.i386
97 pygtk2-libglade-2.13.0-2.fc10
98 pygtk2-libglade-2.13.0-2.fc10.i386
99 pygtksourceview-2.4.0-1.fc10.i386
105100
106101 Make sure the python packages are installed in the site-packages
107102 directory for the version of python that you are using (do a "python
112107 If they're not there then you may need to re-install them - for
113108 example, it happened to me when python got upgraded from 2.2 to
114109 2.3 - /usr/lib/python2.X/site-packages directory is not
115 automatically updated.) I then had to
110 automatically updated.) I then had to (on gentoo) do this:
116111
117112 emerge unmerge libglade pygtk gnome-python bonobo-python pyorbit
118113 emerge libglade pygtk gnome-python bonobo-python pyorbit
119114
120 gjots2 was written with glade-2 so if you want to change or fix the
115 gjots2 was written with glade-3 so if you want to change or fix the
121116 code you will need to install it too. Otherwise, it's just python!
122117 \NewEntry
123118 Gentoo
119
120 Note: 2.6.8 and earlier were tested on gentoo. 2.6.9 and on were not.
124121
125122 Until and unless gjots2 has an official ebuild (look in
126123 /usr/portage/app-office) you'll have to do this:
162159
163160 Of course, you may need to install dependencies first such as
164161 pygtk, libglade, etc
165
166 On my Fedora core 4 system I have these prerequisites:
167 gtk2-2.6.7-4
168 libglade2-2.5.1-2
169 pygtk2-2.6.0-2
170 gnome-python2-2.10.0-1
171 gnome-python2-gconf-2.10.0-1
172 pyorbit-2.0.1-4
173162 \NewEntry
174163 From the tarball source
175164
330319 "Show All" expands all the children of the currently selected
331320 items (recursively).
332321
333 "Sort Tree" brings up the sort dialog box where you can sort elements based on a given criteria.
322 "Sort Tree" brings up the sort dialog box where you can sort elements
323 based on a given criteria.
334324
335325 When a folder loses all of its child items it gets automatically
336326 demoted to a plain item.
341331
342332 The 'Print' button pops up the Print dialog. See the "Printing" item
343333 one level up from here.
334
335 The "Undo" and "Redo" functions only operate on the text buffer, not on
336 the tree. They are only available if the gtksourceview library is available.
344337
345338 "Cut", "Paste" and "Copy" have dual functionality, thus, they
346339 operate on both text and tree items based on whether the text or
572565 \NewEntry
573566 gjots2 file format
574567
575 The same as gjots which is the same as kjots but with a
576 hierarchy:
568 The same as gjots which is plain text but with a hierarchy introduced
569 by some keywords:
577570
578571 \NewEntry
579572 title1
863856 Spliting items
864857
865858 Printing
859 \NewEntry
860 Q: What's the difference between the old C version (gjots-0.X) and the new python version gjots-2.X.X
861
862 A: At the 2.0.0 release, these were the differences (for development
863 since then see the CHANGES logs):
864
865 Unicode support in the data files - so I can make notes in
866 Russian - maybe Turkish, Arabic, who knows what will work.
867 Reports solicited and most welcome!
868
869 The potential for LOTE support in the program itself - any
870 volunteers for I18N and L10N?
871
872 Drag and Drop in the tree view to simplify organisation.
873
874 gconf support with GTK-2 themes.
875
876 Sorting items and/or text
877
878 Merging items
879
880 Spliting items
881
882 Printing
883 \NewEntry
884 Q: Why do the Undo and Redo functions not work?
885
886 A: Have you got the gtksourceview libraries installed?
866887
867888 \EndFolder
868889 \NewEntry
1212 Queensland
1313 Australia
1414
15 Version 2.3.8
15 Version 2.3.9
1616
1717
1818 bhepple@freeshell.org
8181
8282 export PYTHONPATH=/usr/local/lib/python2.3/site-packages/
8383
84 As at this writing (gjots-2.3.8), I have the following installed (on Gentoo):
85
86 dev-python/gnome-python-2.22.0 (2)
87 dev-python/gnome-python-desktop-2.22.0 (0)
88 gnome-base/gnome-common-2.20.0 (3)
89 gnome-base/gnome-keyring-2.22.3 (0)
90 gnome-base/gnome-mime-data-2.18.0 (0)
91 gnome-base/gnome-vfs-2.22.0 (2)
92 gnome-base/libgnome-2.22.0 (0)
93 gnome-base/libgnomecanvas-2.20.1.1 (0)
94 gnome-base/libgnomeui-2.22.1 (0)
95 x11-themes/gnome-icon-theme-2.22.0 (0)
96 dev-python/pygtk-2.12.1-r2 (2)
97 x11-libs/gtk+-2.12.11 (2)
98 gnome-base/libglade-2.6.3 (2.0)
99 dev-python/pyorbit-2.14.3 (0)
100 gnome-base/orbit-2.14.13 (2)
101
102 Presumably rpm-based systems (RedHat, Mandrake/Mandriva, SuSE) are similar
103 (please advise). Apparently, Fedora also requires gnome-python2-gconf.
84 As at this writing (gjots-2.3.9), I have the following installed (on Fedora-10):
85
86 glade3-libgladeui-3.4.5-4.fc10
87 gnome-python2-2.22.3-1.fc10
88 gnome-python2-gconf-2.22.3-1.fc10
89 gtk2-2.14.7-7.fc10
90 gtksourceview-1.8.5-5.fc10
91 libglade2-2.6.3-1.fc10
92 libgnome-2.24.1-7.fc10
93 libgnomecanvas-2.20.1.1-2.fc9
94 libgnomeui-2.24.0-2.fc10
95 pygtk2-2.13.0-2.fc10.i386
96 pygtk2-libglade-2.13.0-2.fc10
97 pygtk2-libglade-2.13.0-2.fc10.i386
98 pygtksourceview-2.4.0-1.fc10.i386
10499
105100 Make sure the python packages are installed in the site-packages
106101 directory for the version of python that you are using (do a "python
111106 If they're not there then you may need to re-install them - for
112107 example, it happened to me when python got upgraded from 2.2 to
113108 2.3 - /usr/lib/python2.X/site-packages directory is not
114 automatically updated.) I then had to
109 automatically updated.) I then had to (on gentoo) do this:
115110
116111 emerge unmerge libglade pygtk gnome-python bonobo-python pyorbit
117112 emerge libglade pygtk gnome-python bonobo-python pyorbit
118113
119 gjots2 was written with glade-2 so if you want to change or fix the
114 gjots2 was written with glade-3 so if you want to change or fix the
120115 code you will need to install it too. Otherwise, it's just python!
121116 \NewEntry
122117 Gentoo
118
119 Note: 2.6.8 and earlier were tested on gentoo. 2.6.9 and on were not.
123120
124121 Until and unless gjots2 has an official ebuild (look in
125122 /usr/portage/app-office) you'll have to do this:
140137
141138 Then:
142139
143 VERSION=2.3.8
140 VERSION=2.3.9
144141 CAT=/usr/local/portage/app-office/gjots2
145142 cd /usr/portage/distfiles
146143 wget http://bhepple.freeshell.org/gjots/gjots2-${VERSION}.tgz
155152
156153 Just do this:
157154
158 VERSION=2.3.8
155 VERSION=2.3.9
159156 wget http://bhepple.freeshell.org/gjots/gjots2-${VERSION}-1.noarch.rpm
160157 rpm -i gjots2-${VERSION}-1.noarch.rpm
161158
162159 Of course, you may need to install dependencies first such as
163160 pygtk, libglade, etc
164
165 On my Fedora core 4 system I have these prerequisites:
166 gtk2-2.6.7-4
167 libglade2-2.5.1-2
168 pygtk2-2.6.0-2
169 gnome-python2-2.10.0-1
170 gnome-python2-gconf-2.10.0-1
171 pyorbit-2.0.1-4
172161 \NewEntry
173162 From the tarball source
174163
175 VERSION=2.3.8
164 VERSION=2.3.9
176165 wget http://bhepple.freeshell.org/gjots/gjots2-${VERSION}.tgz
177166
178167 If installing from the tarball, after unpacking the tar file and
329318 "Show All" expands all the children of the currently selected
330319 items (recursively).
331320
332 "Sort Tree" brings up the sort dialog box where you can sort elements based on a given criteria.
321 "Sort Tree" brings up the sort dialog box where you can sort elements
322 based on a given criteria.
333323
334324 When a folder loses all of its child items it gets automatically
335325 demoted to a plain item.
340330
341331 The 'Print' button pops up the Print dialog. See the "Printing" item
342332 one level up from here.
333
334 The "Undo" and "Redo" functions only operate on the text buffer, not on
335 the tree. They are only available if the gtksourceview library is available.
343336
344337 "Cut", "Paste" and "Copy" have dual functionality, thus, they
345338 operate on both text and tree items based on whether the text or
571564 \NewEntry
572565 gjots2 file format
573566
574 The same as gjots which is the same as kjots but with a
575 hierarchy:
567 The same as gjots which is plain text but with a hierarchy introduced
568 by some keywords:
576569
577570 \NewEntry
578571 title1
862855 Spliting items
863856
864857 Printing
858 \NewEntry
859 Q: What's the difference between the old C version (gjots-0.X) and the new python version gjots-2.X.X
860
861 A: At the 2.0.0 release, these were the differences (for development
862 since then see the CHANGES logs):
863
864 Unicode support in the data files - so I can make notes in
865 Russian - maybe Turkish, Arabic, who knows what will work.
866 Reports solicited and most welcome!
867
868 The potential for LOTE support in the program itself - any
869 volunteers for I18N and L10N?
870
871 Drag and Drop in the tree view to simplify organisation.
872
873 gconf support with GTK-2 themes.
874
875 Sorting items and/or text
876
877 Merging items
878
879 Spliting items
880
881 Printing
882 \NewEntry
883 Q: Why do the Undo and Redo functions not work?
884
885 A: Have you got the gtksourceview libraries installed?
865886
866887 \EndFolder
867888 \NewEntry
1212 Queensland
1313 Australia
1414
15 Versjon 2.3.8
15 Versjon 2.3.9
1616
1717
1818 bhepple@freeshell.org
147147
148148 Så:
149149
150 VERSION=2.3.8
150 VERSION=2.3.9
151151 CAT=/usr/local/portage/app-office/gjots2
152152 cd /usr/portage/distfiles
153153 wget http://bhepple.freeshell.org/gjots/gjots2-${VERSION}.tgz
162162
163163 Bare gjør dette:
164164
165 VERSION=2.3.8
165 VERSION=2.3.9
166166 wget http://bhepple.freeshell.org/gjots/gjots2-${VERSION}-1.noarch.rpm
167167 rpm -i gjots2-${VERSION}-1.noarch.rpm
168168
180180 \NewEntry
181181 Fra tar-kildekoden
182182
183 VERSION=2.3.8
183 VERSION=2.3.9
184184 wget http://bhepple.freeshell.org/gjots/gjots2-${VERSION}.tgz
185185
186186 Hvis du installerer fra tar-kildekoden, dekomprimer først tar-
1212 Queensland
1313 Australia
1414
15 Versjon 2.3.8
15 Versjon 2.3.9
1616
1717
1818 bhepple@freeshell.org
147147
148148 Så:
149149
150 VERSION=2.3.8
150 VERSION=2.3.9
151151 CAT=/usr/local/portage/app-office/gjots2
152152 cd /usr/portage/distfiles
153153 wget http://bhepple.freeshell.org/gjots/gjots2-${VERSION}.tgz
162162
163163 Bare gjør dette:
164164
165 VERSION=2.3.8
165 VERSION=2.3.9
166166 wget http://bhepple.freeshell.org/gjots/gjots2-${VERSION}-1.noarch.rpm
167167 rpm -i gjots2-${VERSION}-1.noarch.rpm
168168
180180 \NewEntry
181181 Fra tar-kildekoden
182182
183 VERSION=2.3.8
183 VERSION=2.3.9
184184 wget http://bhepple.freeshell.org/gjots/gjots2-${VERSION}.tgz
185185
186186 Hvis du installerer fra tar-kildekoden, dekomprimer først tar-
1010 Куинсленд
1111 Австралия
1212
13 Версия 2.3.8
13 Версия 2.3.9
1414
1515
1616 bhepple@freeshell.org
130130
131131 После этого:
132132
133 VERSION=2.3.8
133 VERSION=2.3.9
134134 CAT=/usr/local/portage/app-office/gjots2
135135 cd /usr/portage/distfiles
136136 wget http://bhepple.freeshell.org/gjots/gjots2-${VERSION}.tgz
145145
146146 Просто сделайте следующее:
147147
148 VERSION=2.3.8
148 VERSION=2.3.9
149149 wget http://bhepple.freeshell.org/gjots/gjots2-${VERSION}-1.noarch.rpm
150150 rpm -i gjots2-${VERSION}-1.noarch.rpm
151151
162162 \NewEntry
163163 Из исходных кодов
164164
165 VERSION=2.3.8
165 VERSION=2.3.9
166166 wget http://bhepple.freeshell.org/gjots/gjots2-${VERSION}.tgz
167167
168168 При установке из исходных кодов, после разархивирования
0 # $Id: gjots2.spec,v 1.12.2.16 2007/07/28 12:11:45 bhepple Exp $
0 # $Id: gjots2.spec,v 1.12.2.17 2009/08/09 11:31:51 bhepple Exp $
11
2 # Copyright (C) 2002-2005 Robert Hepple
2 # Copyright (C) 2002-2009 Robert Hepple
33 #
44 # This program is free software; you can redistribute it and/or
55 # modify it under the terms of the GNU General Public License as
1616 # Foundation, Inc., 59 Temple Place - Suite 330, Boston,
1717 # MA 02111-1307, USA.
1818
19 %define ver 2.3.8
19 %define ver 2.3.9
2020 %define rel 1
2121 %define prefix /usr
2222
5656 %install
5757
5858 # typically:
59 # buildroot=/var/tmp/root-gjots2-2.3.8
59 # buildroot=/var/tmp/root-gjots2-2.3.9
6060 # _datadir=/usr/share
6161 # _bindir=/usr/bin
6262 # _libdir=/usr/lib
12581258 w.set_sensitive(writeable)
12591259 w = self.xml.get_widget("demoteMenuItem")
12601260 w.set_sensitive(writeable)
1261 w = self.xml.get_widget("undoMenuItem")
1262 if self.has_gtksourceview:
1263 w.set_sensitive(writeable)
1264 else:
1265 w.set_sensitive(False)
1266 w = self.xml.get_widget("redoMenuItem")
1267 if self.has_gtksourceview:
1268 w.set_sensitive(writeable)
1269 else:
1270 w.set_sensitive(False)
1271 w = self.xml.get_widget("undoMenuItem")
1272 w.set_sensitive(writeable)
1273 w = self.xml.get_widget("redoMenuItem")
1274 w.set_sensitive(writeable)
12611275 w = self.xml.get_widget("cutMenuItem")
12621276 w.set_sensitive(writeable)
12631277 w = self.xml.get_widget("pasteMenuItem")
14511465 return self.on_quit_trigger(widget)
14521466
14531467 # Edit menu callbacks:
1468 def on_undo_trigger(self, widget):
1469 if self.trace:
1470 print inspect.getframeinfo(inspect.currentframe())[2]
1471 self.msg("")
1472 if self.textView.is_focus():
1473 self.textBuffer.undo()
1474
1475 def on_redo_trigger(self, widget):
1476 if self.trace:
1477 print inspect.getframeinfo(inspect.currentframe())[2]
1478 self.msg("")
1479 if self.textView.is_focus():
1480 self.textBuffer.redo()
1481
14541482 def on_cut_trigger(self, widget):
14551483 if self.trace:
14561484 print inspect.getframeinfo(inspect.currentframe())[2]
22162244 "on_quit_trigger": self.on_quit_trigger,
22172245
22182246 # Edit menu:
2247 "on_undo_trigger": self.on_undo_trigger,
2248 "on_redo_trigger": self.on_redo_trigger,
22192249 "on_cut_trigger": self.on_cut_trigger,
22202250 "on_copy_trigger": self.on_copy_trigger,
22212251 "on_paste_trigger": self.on_paste_trigger,
23042334 for name, file in self.icons.iteritems():
23052335 self.icons[name] = "./pixmaps/" + self.icons[name]
23062336
2307 self.xml = gtk.glade.XML(self.gui_filename, "gjots", domain="gjots2")
2337 override = {}
2338 try:
2339 import gtksourceview
2340 override["GtkTextView"] = gtksourceview.SourceView
2341 override["GtkTextBuffer"] = gtksourceview.SourceBuffer
2342 self.has_gtksourceview = True
2343 except:
2344 self.has_gtksourceview = False
2345 pass
2346 self.xml = gtk.glade.XML(self.gui_filename, "gjots", "gjots2", override)
23082347 self.xml.signal_autoconnect(callbacks)
23092348 self.treestore = None
23102349 self.gjots = self.xml.get_widget("gjots")
23342373 # do this with signals ...
23352374 self.current_dirty = 0
23362375
2337 self.textBuffer = gtk.TextBuffer()
2376 try:
2377 import gtksourceview
2378 self.textBuffer = gtksourceview.SourceBuffer()
2379 self.textBuffer.set_text = lambda *args: not not (
2380 self.textBuffer.begin_not_undoable_action(),
2381 apply(gtksourceview.SourceBuffer.set_text, [self.textBuffer] + list(args)),
2382 self.textBuffer.end_not_undoable_action(),
2383 )
2384 except:
2385 self.textBuffer = gtk.TextBuffer()
23382386 self.textView.set_buffer(self.textBuffer)
23392387 self.textBuffer.set_text("", 0)
23402388 self.textBuffer_changed_handler = self.textBuffer.connect("changed", self.on_textBuffer_changed)
0 gjots_version="2.3.8"
0 gjots_version="2.3.9"
00 .\" Copyright (c) 2004 Robert Hepple
1 .\" $Id: gjots2.1,v 1.4 2004/11/30 08:01:16 bhepple Exp $
1 .\" $Id: gjots2.1,v 1.4.4.1 2009/08/09 11:31:51 bhepple Exp $
22 .TH GJOTS2 1 \" -*- nroff -*-
33 .SH NAME
44 gjots2 \- A gnome-2/X11 jotter
1717 .P
1818 Getting data into
1919 .BR gjots2
20 is fairly easy - you can type it in, directly import
21 .B kjots
22 files, cut and paste text or use an editor to convert other text files to
20 is fairly easy - you can type it in, cut and paste text or use an editor to convert other text files to
2321 the simple
2422 .B gjots2
2523 format (see below for details). You can also convert an existing
116114 .IR filename .
117115 .SH "FILE FORMAT"
118116 .B gjots2
119 uses the same format as
120 .BR kjots (1)
121 but with the addition of a hierarchy of
122 items. The keywords need to be at the start of line to be recognised.
123 Only 3 keywords are presently used:
117 uses a simple text file format with the addition of a hierarchy of
118 items introduced by keywords. The keywords need to be at the start of
119 line to be recognised. Only 3 keywords are presently used:
124120 .TP 15
125121 \fB\\NewEntry\fR
126122 Starts a new entry
182178 .ft
183179 .fi
184180 .RE
185 .P
181 .P