Changeset 36 for src/pybackpack/gui.py

Show
Ignore:
Timestamp:
22/04/06 12:26:41 (6 years ago)
Author:
davea
Message:

release 0.4.2. fixes bug #23 (crash on startup) and also works with slightly updated nautilusburn

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/pybackpack/gui.py

    r33 r36  
    10361036        ##     MISC HANDLERS    ## 
    10371037        ########################## 
    1038         def on_cdburn_progress_changed(self, recorder, fract): 
     1038        def on_cdburn_progress_changed(self, recorder, fract, somethingelse): 
    10391039                if fract > 0: 
    10401040                        widgets['prog_status'].set_markup("<i>Burning CD...</i>") 
     
    12291229                #self['notebook3'].get_nth_page(2).set_sensitive(False) # disable SSH backups 
    12301230 
     1231                # this following commented out block of code caused all manner of 
     1232                # trouble when gtk+ got upgraded. serves me right for smoking crack 
     1233                # when I wrote it, I guess. 
    12311234                # horrible hacks to change the layout of the FileChooserWidget 
    12321235                # in the new backup set druid: 
    12331236                # remove the folder shortcut buttons from the left pane 
    1234                 self['filechooserwidget1'].get_children()[0].get_children()[1].\ 
    1235                         get_children()[0].get_children()[0].get_children()[1].hide() 
     1237                #self['filechooserwidget1'].get_children()[0].get_children()[1].\ 
     1238                #       get_children()[0].get_children()[0].get_children()[1].hide() 
    12361239                # add the 'include' and 'exclude' buttons under the file browser 
    1237                 self['filechooserwidget1'].get_children()[0].get_children()[1].\ 
    1238                         get_children()[0].get_children()[1].get_children()[2].\ 
    1239                         get_children()[0].hide() # hide the existing combo box 
    1240                 self['button_add_to_set'].reparent(self['filechooserwidget1'].\ 
    1241                         get_children()[0].get_children()[1].get_children()[0].get_children()\ 
    1242                         [1].get_children()[2]) # 'include' button 
    1243                 self['button_exc_from_set'].reparent(self['filechooserwidget1'].\ 
    1244                         get_children()[0].get_children()[1].get_children()[0].get_children()\ 
    1245                         [1].get_children()[2]) # 'exclude' button 
    1246                 self['hbox36'].hide() # hide the previous parent of the buttons 
    1247                 self['filechooserwidget1'].get_children()[0].get_children()[1].\ 
    1248                         get_children()[0].get_children()[1].get_children()[2].show() # show them 
     1240                #self['filechooserwidget1'].get_children()[0].get_children()[1].\ 
     1241                #       get_children()[0].get_children()[1].get_children()[2].\ 
     1242                #       get_children()[0].hide() # hide the existing combo box 
     1243                #self['button_add_to_set'].reparent(self['filechooserwidget1'].\ 
     1244                #       get_children()[0].get_children()[1].get_children()[0].get_children()\ 
     1245                #       [1].get_children()[2]) # 'include' button 
     1246                #self['button_exc_from_set'].reparent(self['filechooserwidget1'].\ 
     1247                #       get_children()[0].get_children()[1].get_children()[0].get_children()\ 
     1248                #       [1].get_children()[2]) # 'exclude' button 
     1249                #self['hbox36'].hide() # hide the previous parent of the buttons 
     1250                #self['filechooserwidget1'].get_children()[0].get_children()[1].\ 
     1251                #       get_children()[0].get_children()[1].get_children()[2].show() # show them 
    12491252                 
    12501253                # populate the list of recently used backup/restore locations