Changeset 79
- Timestamp:
- Mon Jul 25 10:55:06 2005
- Files:
-
- trunk/transolution/xliffeditor/gtk_main.py (modified) (diff)
- trunk/transolution/xliffeditor/glade/xliffeditor.glade (modified) (diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
trunk/transolution/xliffeditor/gtk_main.py
r78 r79 843 843 self._updateGui() 844 844 845 def onHelp(self,*args): 846 'Open help in a web browser' 847 import webbrowser,urllib 848 local_help = path('./doc/XliffEditor.htm').abspath() 849 web_help = 'http://transolution.python-hosting.com/wiki/doc/XliffEditor?format=html' 850 # open the local help file if it exists 851 if local_help.isfile(): help = 'file:' + urllib.pathname2url(local_help) 852 else: help = web_help 853 webbrowser.open_new(help) 854 845 855 def main(): 846 856 import sys,os -
trunk/transolution/xliffeditor/glade/xliffeditor.glade
r78 r79 495 495 496 496 <child internal-child="image"> 497 <widget class="GtkImage" id="image7 3">497 <widget class="GtkImage" id="image75"> 497 497 <property name="visible">True</property> 498 498 <property name="stock">gtk-media-forward</property> … … 517 517 518 518 <child internal-child="image"> 519 <widget class="GtkImage" id="image7 4">519 <widget class="GtkImage" id="image76"> 519 519 <property name="visible">True</property> 520 520 <property name="stock">gtk-go-back</property> … … 886 886 887 887 <child> 888 <widget class="GtkMenuItem" id="help"> 889 <property name="visible">True</property> 890 <property name="label" translatable="yes">Help</property> 891 <property name="use_underline">True</property> 892 <signal name="activate" handler="onHelp" last_modification_time="Mon, 25 Jul 2005 15:22:42 GMT"/> 893 <accelerator key="F1" modifiers="0" signal="activate"/> 894 </widget> 895 </child> 896 897 <child> 898 <widget class="GtkSeparatorMenuItem" id="avskiljare16"> 899 <property name="visible">True</property> 900 </widget> 901 </child> 902 903 <child> 888 904 <widget class="GtkMenuItem" id="about1"> 889 905 <property name="visible">True</property>
