Changeset 1187


Ignore:
Timestamp:
12/15/08 12:51:35 (4 years ago)
Author:
fma
Message:

Added svn:keywords=Id prop

Location:
trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r1157 r1187  
    66 
    770000-00-00 Version SVN 
     8 
     92008-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 
    815 
    9162008-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  
    5353VERSION_MAJOR = 1 
    5454VERSION_MINOR = 5 # Odd means dev. release 
    55 VERSION_UPDATE = 2 
     55VERSION_UPDATE = 3 
    5656VERSION = "%d.%d.%d" % (VERSION_MAJOR, VERSION_MINOR, VERSION_UPDATE) 
    5757VERSION_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  
    100100        self._gladeFile = "mainWindow.glade" 
    101101        self._signalDict = {"on_fileImportPresetMenuitem_activate": self.__onFileImportPresetMenuitemActivate, 
     102                            "on_fileLoadGtkrcMenuitem_activate": self.__onFileLoadGtkrcMenuitemActivate, 
    102103                            "on_quitMenuitem_activate": gtk.main_quit, 
    103104                            "on_hardwareConnectMenuitem_toggled": self.__onHardwareConnectMenuitemToggled, 
     
    496497        filter = gtk.FileFilter() 
    497498        filter.set_name("all files") 
    498         filter.add_pattern("*.*") 
     499        filter.add_pattern("*") 
    499500        fileDialog.add_filter(filter) 
    500501        #fileDialog.set_current_folder_uri(config.HOME_DIR) 
     
    504505            presetFileName = fileDialog.get_filename() 
    505506            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() 
    506527        fileDialog.destroy() 
    507528 
  • 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  
    4141                    </child> 
    4242                    <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> 
    4357                      <widget class="GtkImageMenuItem" id="quitMenuitem"> 
    4458                        <property name="visible">True</property> 
     
    305319                                <property name="row_spacing">5</property> 
    306320                                <child> 
     321                                  <placeholder/> 
     322                                </child> 
     323                                <child> 
    307324                                  <widget class="GtkLabel" id="pitchResolutionLabel"> 
    308325                                    <property name="visible">True</property> 
    309                                     <property name="label" translatable="yes">--</property> 
     326                                    <property name="label" translatable="yes" context="yes">--</property> 
    310327                                    <property name="max_width_chars">7</property> 
    311328                                  </widget> 
     
    320337                                  <widget class="GtkLabel" id="yawResolutionLabel"> 
    321338                                    <property name="visible">True</property> 
    322                                     <property name="label" translatable="yes">--</property> 
     339                                    <property name="label" translatable="yes" context="yes">--</property> 
    323340                                    <property name="max_width_chars">7</property> 
    324341                                  </widget> 
     
    334351                                    <property name="visible">True</property> 
    335352                                    <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> 
    337354                                  </widget> 
    338355                                  <packing> 
     
    340357                                    <property name="bottom_attach">7</property> 
    341358                                  </packing> 
    342                                 </child> 
    343                                 <child> 
    344                                   <placeholder/> 
    345359                                </child> 
    346360                                <child> 
     
    760774                                </child> 
    761775                                <child> 
    762                                   <placeholder/> 
    763                                 </child> 
    764                                 <child> 
    765776                                  <widget class="GtkAspectFrame" id="aspectframe1"> 
    766777                                    <property name="visible">True</property> 
     
    790801                                        </child> 
    791802                                        <child> 
    792                                           <widget class="GtkButton" id="hardwareSetOriginButtonOld"> 
     803                                          <widget class="GtkToggleButton" id="pitchMoveMinusTogglebutton"> 
    793804                                            <property name="visible">True</property> 
     805                                            <property name="can_focus">True</property> 
    794806                                            <property name="receives_default">True</property> 
    795807                                            <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"/> 
    797810                                            <child> 
    798                                               <widget class="GtkImage" id="image4"> 
     811                                              <widget class="GtkImage" id="image5"> 
    799812                                                <property name="visible">True</property> 
    800                                                 <property name="stock">gtk-home</property> 
     813                                                <property name="stock">gtk-go-down</property> 
    801814                                                <property name="icon_size">5</property> 
    802815                                              </widget> 
     
    806819                                            <property name="left_attach">1</property> 
    807820                                            <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> 
    812823                                          </packing> 
    813824                                        </child> 
    814825                                        <child> 
    815                                           <widget class="GtkToggleButton" id="yawMoveMinusTogglebutton"> 
     826                                          <widget class="GtkToggleButton" id="yawMovePlusTogglebutton"> 
    816827                                            <property name="visible">True</property> 
    817828                                            <property name="can_focus">True</property> 
    818829                                            <property name="receives_default">True</property> 
    819830                                            <property name="response_id">0</property> 
    820                                             <signal name="pressed" handler="on_yawMoveMinusTogglebutton_pressed"/> 
    821                                             <signal name="released" handler="on_yawMoveMinusTogglebutton_released"/> 
     831                                            <signal name="pressed" handler="on_yawMovePlusTogglebutton_pressed"/> 
     832                                            <signal name="released" handler="on_yawMovePlusTogglebutton_released"/> 
    822833                                            <child> 
    823                                               <widget class="GtkImage" id="image11"> 
     834                                              <widget class="GtkImage" id="image7"> 
    824835                                                <property name="visible">True</property> 
    825                                                 <property name="stock">gtk-go-back</property> 
     836                                                <property name="stock">gtk-go-forward</property> 
    826837                                                <property name="icon_size">5</property> 
    827838                                              </widget> 
     
    829840                                          </widget> 
    830841                                          <packing> 
     842                                            <property name="left_attach">2</property> 
     843                                            <property name="right_attach">3</property> 
    831844                                            <property name="top_attach">1</property> 
    832845                                            <property name="bottom_attach">2</property> 
     
    855868                                        </child> 
    856869                                        <child> 
    857                                           <widget class="GtkToggleButton" id="yawMovePlusTogglebutton"> 
     870                                          <widget class="GtkToggleButton" id="yawMoveMinusTogglebutton"> 
    858871                                            <property name="visible">True</property> 
    859872                                            <property name="can_focus">True</property> 
    860873                                            <property name="receives_default">True</property> 
    861874                                            <property name="response_id">0</property> 
    862                                             <signal name="pressed" handler="on_yawMovePlusTogglebutton_pressed"/> 
    863                                             <signal name="released" handler="on_yawMovePlusTogglebutton_released"/> 
     875                                            <signal name="pressed" handler="on_yawMoveMinusTogglebutton_pressed"/> 
     876                                            <signal name="released" handler="on_yawMoveMinusTogglebutton_released"/> 
    864877                                            <child> 
    865                                               <widget class="GtkImage" id="image7"> 
     878                                              <widget class="GtkImage" id="image11"> 
    866879                                                <property name="visible">True</property> 
    867                                                 <property name="stock">gtk-go-forward</property> 
     880                                                <property name="stock">gtk-go-back</property> 
    868881                                                <property name="icon_size">5</property> 
    869882                                              </widget> 
     
    871884                                          </widget> 
    872885                                          <packing> 
    873                                             <property name="left_attach">2</property> 
    874                                             <property name="right_attach">3</property> 
    875886                                            <property name="top_attach">1</property> 
    876887                                            <property name="bottom_attach">2</property> 
     
    878889                                        </child> 
    879890                                        <child> 
    880                                           <widget class="GtkToggleButton" id="pitchMoveMinusTogglebutton"> 
     891                                          <widget class="GtkButton" id="hardwareSetOriginButtonOld"> 
    881892                                            <property name="visible">True</property> 
    882                                             <property name="can_focus">True</property> 
    883893                                            <property name="receives_default">True</property> 
    884894                                            <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"/> 
    887896                                            <child> 
    888                                               <widget class="GtkImage" id="image5"> 
     897                                              <widget class="GtkImage" id="image4"> 
    889898                                                <property name="visible">True</property> 
    890                                                 <property name="stock">gtk-go-down</property> 
     899                                                <property name="stock">gtk-home</property> 
    891900                                                <property name="icon_size">5</property> 
    892901                                              </widget> 
     
    896905                                            <property name="left_attach">1</property> 
    897906                                            <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> 
    900911                                          </packing> 
    901912                                        </child> 
     
    904915                                  </widget> 
    905916                                  <packing> 
    906                                     <property name="position">2</property> 
     917                                    <property name="position">1</property> 
    907918                                  </packing> 
    908919                                </child> 
Note: See TracChangeset for help on using the changeset viewer.