Changeset 1187
- Timestamp:
- 12/15/08 12:51:35 (4 years ago)
- Location:
- trunk
- Files:
-
- 11 edited
-
ChangeLog (modified) (1 diff)
-
maemo/bdist_debian.py (modified) (1 prop)
-
papywizard/__init__.py (modified) (1 prop)
-
papywizard/common/config.py (modified) (1 diff)
-
papywizard/common/loggingAspects.py (modified) (1 prop)
-
papywizard/common/orderedDict.py (modified) (1 prop)
-
papywizard/controller/mainController.py (modified) (3 diffs)
-
papywizard/scripts/__init__.py (modified) (1 prop)
-
papywizard/scripts/main3D.py (modified) (1 prop)
-
papywizard/scripts/mainSimul.py (modified) (1 prop)
-
papywizard/view/mainWindow.glade (modified) (14 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r1157 r1187 6 6 7 7 0000-00-00 Version SVN 8 9 2008-12-00 Version 1.5.3 (dev) 10 - shooting text view init with max values 11 x skip step-by-step test after shooting if timeValue is 0 12 - shooting dialog revisited 13 + elapse time 14 + total mosaic resolution 8 15 9 16 2008-12-10 Version 1.5.2 (dev) -
trunk/maemo/bdist_debian.py
- Property svn:keywords set to Id
-
trunk/papywizard/__init__.py
- Property svn:keywords set to Id
-
trunk/papywizard/common/config.py
r1159 r1187 53 53 VERSION_MAJOR = 1 54 54 VERSION_MINOR = 5 # Odd means dev. release 55 VERSION_UPDATE = 255 VERSION_UPDATE = 3 56 56 VERSION = "%d.%d.%d" % (VERSION_MAJOR, VERSION_MINOR, VERSION_UPDATE) 57 57 VERSION_XML = "a" -
trunk/papywizard/common/loggingAspects.py
- Property svn:keywords set to Id
-
trunk/papywizard/common/orderedDict.py
- Property svn:keywords set to Id
-
trunk/papywizard/controller/mainController.py
r1179 r1187 100 100 self._gladeFile = "mainWindow.glade" 101 101 self._signalDict = {"on_fileImportPresetMenuitem_activate": self.__onFileImportPresetMenuitemActivate, 102 "on_fileLoadGtkrcMenuitem_activate": self.__onFileLoadGtkrcMenuitemActivate, 102 103 "on_quitMenuitem_activate": gtk.main_quit, 103 104 "on_hardwareConnectMenuitem_toggled": self.__onHardwareConnectMenuitemToggled, … … 496 497 filter = gtk.FileFilter() 497 498 filter.set_name("all files") 498 filter.add_pattern("* .*")499 filter.add_pattern("*") 499 500 fileDialog.add_filter(filter) 500 501 #fileDialog.set_current_folder_uri(config.HOME_DIR) … … 504 505 presetFileName = fileDialog.get_filename() 505 506 self.__importPresetFile(presetFileName) 507 fileDialog.destroy() 508 509 def __onFileLoadGtkrcMenuitemActivate(self, widget): 510 Logger().trace("MainController.__onFileLoadGtkrcMenuitemActivate()") 511 fileDialog = gtk.FileChooserDialog(title="Load Gtkrc file", parent=self.dialog, 512 action=gtk.FILE_CHOOSER_ACTION_OPEN, 513 buttons=(gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT, 514 gtk.STOCK_OK, gtk.RESPONSE_ACCEPT)) 515 filter = gtk.FileFilter() 516 filter.set_name("all files") 517 filter.add_pattern("*") 518 fileDialog.add_filter(filter) 519 #fileDialog.set_current_folder_uri(config.HOME_DIR) 520 fileDialog.set_filename(os.path.join(config.HOME_DIR, config.GTKRC_FILE)) 521 response = fileDialog.run() 522 if response == gtk.RESPONSE_ACCEPT: 523 gtkrcFileName = fileDialog.get_filename() 524 Logger().debug("MainController.__onFileLoadGtkrcMenuitemActivate(): resources file=%s" % gtkrcFileName) 525 gtk.rc_parse(gtkrcFileName) 526 gtk.rc_reparse_all() 506 527 fileDialog.destroy() 507 528 -
trunk/papywizard/scripts/__init__.py
- Property svn:keywords set to Id
-
trunk/papywizard/scripts/main3D.py
- Property svn:keywords set to Id
-
trunk/papywizard/scripts/mainSimul.py
- Property svn:keywords set to Id
-
trunk/papywizard/view/mainWindow.glade
r1185 r1187 41 41 </child> 42 42 <child> 43 <widget class="GtkImageMenuItem" id="fileLoadGtkrcMenuitem"> 44 <property name="visible">True</property> 45 <property name="label" translatable="yes" context="yes">Load Grkrc File...</property> 46 <property name="use_underline">True</property> 47 <signal name="activate" handler="on_fileLoadGtkrcMenuitem_activate"/> 48 <child internal-child="image"> 49 <widget class="GtkImage" id="menu-item-image13"> 50 <property name="visible">True</property> 51 <property name="stock">gtk-open</property> 52 </widget> 53 </child> 54 </widget> 55 </child> 56 <child> 43 57 <widget class="GtkImageMenuItem" id="quitMenuitem"> 44 58 <property name="visible">True</property> … … 305 319 <property name="row_spacing">5</property> 306 320 <child> 321 <placeholder/> 322 </child> 323 <child> 307 324 <widget class="GtkLabel" id="pitchResolutionLabel"> 308 325 <property name="visible">True</property> 309 <property name="label" translatable="yes" >--</property>326 <property name="label" translatable="yes" context="yes">--</property> 310 327 <property name="max_width_chars">7</property> 311 328 </widget> … … 320 337 <widget class="GtkLabel" id="yawResolutionLabel"> 321 338 <property name="visible">True</property> 322 <property name="label" translatable="yes" >--</property>339 <property name="label" translatable="yes" context="yes">--</property> 323 340 <property name="max_width_chars">7</property> 324 341 </widget> … … 334 351 <property name="visible">True</property> 335 352 <property name="xalign">0.89999997615814209</property> 336 <property name="label" translatable="yes" >Resolution (px)</property>353 <property name="label" translatable="yes" context="yes">Resolution (px)</property> 337 354 </widget> 338 355 <packing> … … 340 357 <property name="bottom_attach">7</property> 341 358 </packing> 342 </child>343 <child>344 <placeholder/>345 359 </child> 346 360 <child> … … 760 774 </child> 761 775 <child> 762 <placeholder/>763 </child>764 <child>765 776 <widget class="GtkAspectFrame" id="aspectframe1"> 766 777 <property name="visible">True</property> … … 790 801 </child> 791 802 <child> 792 <widget class="Gtk Button" id="hardwareSetOriginButtonOld">803 <widget class="GtkToggleButton" id="pitchMoveMinusTogglebutton"> 793 804 <property name="visible">True</property> 805 <property name="can_focus">True</property> 794 806 <property name="receives_default">True</property> 795 807 <property name="response_id">0</property> 796 <signal name="clicked" handler="on_hardwareSetOriginButton_clicked"/> 808 <signal name="pressed" handler="on_pitchMoveMinusTogglebutton_pressed"/> 809 <signal name="released" handler="on_pitchMoveMinusTogglebutton_released"/> 797 810 <child> 798 <widget class="GtkImage" id="image 4">811 <widget class="GtkImage" id="image5"> 799 812 <property name="visible">True</property> 800 <property name="stock">gtk- home</property>813 <property name="stock">gtk-go-down</property> 801 814 <property name="icon_size">5</property> 802 815 </widget> … … 806 819 <property name="left_attach">1</property> 807 820 <property name="right_attach">2</property> 808 <property name="top_attach">1</property> 809 <property name="bottom_attach">2</property> 810 <property name="x_options">GTK_EXPAND</property> 811 <property name="y_options">GTK_EXPAND</property> 821 <property name="top_attach">2</property> 822 <property name="bottom_attach">3</property> 812 823 </packing> 813 824 </child> 814 825 <child> 815 <widget class="GtkToggleButton" id="yawMove MinusTogglebutton">826 <widget class="GtkToggleButton" id="yawMovePlusTogglebutton"> 816 827 <property name="visible">True</property> 817 828 <property name="can_focus">True</property> 818 829 <property name="receives_default">True</property> 819 830 <property name="response_id">0</property> 820 <signal name="pressed" handler="on_yawMove MinusTogglebutton_pressed"/>821 <signal name="released" handler="on_yawMove MinusTogglebutton_released"/>831 <signal name="pressed" handler="on_yawMovePlusTogglebutton_pressed"/> 832 <signal name="released" handler="on_yawMovePlusTogglebutton_released"/> 822 833 <child> 823 <widget class="GtkImage" id="image 11">834 <widget class="GtkImage" id="image7"> 824 835 <property name="visible">True</property> 825 <property name="stock">gtk-go- back</property>836 <property name="stock">gtk-go-forward</property> 826 837 <property name="icon_size">5</property> 827 838 </widget> … … 829 840 </widget> 830 841 <packing> 842 <property name="left_attach">2</property> 843 <property name="right_attach">3</property> 831 844 <property name="top_attach">1</property> 832 845 <property name="bottom_attach">2</property> … … 855 868 </child> 856 869 <child> 857 <widget class="GtkToggleButton" id="yawMove PlusTogglebutton">870 <widget class="GtkToggleButton" id="yawMoveMinusTogglebutton"> 858 871 <property name="visible">True</property> 859 872 <property name="can_focus">True</property> 860 873 <property name="receives_default">True</property> 861 874 <property name="response_id">0</property> 862 <signal name="pressed" handler="on_yawMove PlusTogglebutton_pressed"/>863 <signal name="released" handler="on_yawMove PlusTogglebutton_released"/>875 <signal name="pressed" handler="on_yawMoveMinusTogglebutton_pressed"/> 876 <signal name="released" handler="on_yawMoveMinusTogglebutton_released"/> 864 877 <child> 865 <widget class="GtkImage" id="image 7">878 <widget class="GtkImage" id="image11"> 866 879 <property name="visible">True</property> 867 <property name="stock">gtk-go- forward</property>880 <property name="stock">gtk-go-back</property> 868 881 <property name="icon_size">5</property> 869 882 </widget> … … 871 884 </widget> 872 885 <packing> 873 <property name="left_attach">2</property>874 <property name="right_attach">3</property>875 886 <property name="top_attach">1</property> 876 887 <property name="bottom_attach">2</property> … … 878 889 </child> 879 890 <child> 880 <widget class="Gtk ToggleButton" id="pitchMoveMinusTogglebutton">891 <widget class="GtkButton" id="hardwareSetOriginButtonOld"> 881 892 <property name="visible">True</property> 882 <property name="can_focus">True</property>883 893 <property name="receives_default">True</property> 884 894 <property name="response_id">0</property> 885 <signal name="pressed" handler="on_pitchMoveMinusTogglebutton_pressed"/> 886 <signal name="released" handler="on_pitchMoveMinusTogglebutton_released"/> 895 <signal name="clicked" handler="on_hardwareSetOriginButton_clicked"/> 887 896 <child> 888 <widget class="GtkImage" id="image 5">897 <widget class="GtkImage" id="image4"> 889 898 <property name="visible">True</property> 890 <property name="stock">gtk- go-down</property>899 <property name="stock">gtk-home</property> 891 900 <property name="icon_size">5</property> 892 901 </widget> … … 896 905 <property name="left_attach">1</property> 897 906 <property name="right_attach">2</property> 898 <property name="top_attach">2</property> 899 <property name="bottom_attach">3</property> 907 <property name="top_attach">1</property> 908 <property name="bottom_attach">2</property> 909 <property name="x_options">GTK_EXPAND</property> 910 <property name="y_options">GTK_EXPAND</property> 900 911 </packing> 901 912 </child> … … 904 915 </widget> 905 916 <packing> 906 <property name="position"> 2</property>917 <property name="position">1</property> 907 918 </packing> 908 919 </child>
Note: See TracChangeset
for help on using the changeset viewer.
