summaryrefslogtreecommitdiff
path: root/mat-gui
diff options
context:
space:
mode:
authorjvoisin2012-12-26 13:44:57 +0100
committerjvoisin2012-12-26 13:44:57 +0100
commitaa618d2307be108b02611391deafaefea3da1e73 (patch)
tree8b260617b66045bcafba484405ae8c07cdd85eed /mat-gui
parent7eb3019b59c9a81119c64e6391998f015a7ad333 (diff)
Improve the "preferences" popup
Diffstat (limited to 'mat-gui')
-rwxr-xr-xmat-gui5
1 files changed, 3 insertions, 2 deletions
diff --git a/mat-gui b/mat-gui
index 3933a5e..121db56 100755
--- a/mat-gui
+++ b/mat-gui
@@ -446,6 +446,8 @@ class GUI:
446 ''' 446 '''
447 dialog = gtk.Dialog(_('Preferences'), self.window, 0, 447 dialog = gtk.Dialog(_('Preferences'), self.window, 0,
448 (gtk.STOCK_OK, 0)) 448 (gtk.STOCK_OK, 0))
449 dialog.set_resizable(False)
450 dialog.set_deletable(False)
449 hbox = gtk.HBox() 451 hbox = gtk.HBox()
450 dialog.get_content_area().pack_start(hbox, False, False, 0) 452 dialog.get_content_area().pack_start(hbox, False, False, 0)
451 453
@@ -484,8 +486,7 @@ non-anonymised) file to output archive'))
484 table.attach(add2archive, 0, 1, 3, 4) 486 table.attach(add2archive, 0, 1, 3, 4)
485 487
486 hbox.show_all() 488 hbox.show_all()
487 response = dialog.run() 489 if not dialog.run(): # gtk.STOCK_OK
488 if not response: # gtk.STOCK_OK
489 for i in self.liststore: # update preferences 490 for i in self.liststore: # update preferences
490 i[0].backup = self.backup 491 i[0].backup = self.backup
491 i[0].add2archive = self.add2archive 492 i[0].add2archive = self.add2archive