summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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