View | Details | Raw Unified | Return to bug 90857
Collapse All | Expand All

(-)GnomeDialogHandler.py.origin Fri Dec 23 23:50:27 2005 (-2 / +8 lines)
Lines 212-218 Link Here
212
           )
212
           )
213
       commandEntry.gtk_entry().set_completion(self.completion)
213
       commandEntry.gtk_entry().set_completion(self.completion)
214
       iconButton = self.tree.get_widget('eiconbutton')
214
       iconButton = self.tree.get_widget('eiconbutton')
215
       iconButton.set_pixmap_subdir(item.iconPath)
215
       if item.iconPath == None:
216
           iconButton.set_pixmap_subdir('')
217
       else:
218
           iconButton.set_pixmap_subdir(item.iconPath)
216
       termCheck = self.tree.get_widget('etermcheck')
219
       termCheck = self.tree.get_widget('etermcheck')
217
       originalValues = (
220
       originalValues = (
218
           item.getKey('Name'), item.getKey('Comment'), item.getKey('Exec'),
221
           item.getKey('Name'), item.getKey('Comment'), item.getKey('Exec'),
Lines 221-227 Link Here
221
       nameEntry.set_text(item.getKey('Name'))
224
       nameEntry.set_text(item.getKey('Name'))
222
       commentEntry.set_text(item.getKey('Comment'))
225
       commentEntry.set_text(item.getKey('Comment'))
223
       commandEntry.set_filename(item.getKey('Exec'))
226
       commandEntry.set_filename(item.getKey('Exec'))
224
       iconButton.set_filename(item.iconPath)
227
       if item.iconPath == None:
228
           iconButton.set_filename('')
229
       else:
230
           iconButton.set_filename(item.iconPath)
225
       if item.getKey('Terminal') == 'true':
231
       if item.getKey('Terminal') == 'true':
226
           termCheck.set_active(1)
232
           termCheck.set_active(1)
227
       self.setupEntry = False
233
       self.setupEntry = False

Return to bug 90857