From aa618d2307be108b02611391deafaefea3da1e73 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 26 Dec 2012 13:44:57 +0100 Subject: Improve the "preferences" popup --- mat-gui | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mat-gui') diff --git a/mat-gui b/mat-gui index 3933a5e..121db56 100755 --- a/mat-gui +++ b/mat-gui @@ -446,6 +446,8 @@ class GUI: ''' dialog = gtk.Dialog(_('Preferences'), self.window, 0, (gtk.STOCK_OK, 0)) + dialog.set_resizable(False) + dialog.set_deletable(False) hbox = gtk.HBox() dialog.get_content_area().pack_start(hbox, False, False, 0) @@ -484,8 +486,7 @@ non-anonymised) file to output archive')) table.attach(add2archive, 0, 1, 3, 4) hbox.show_all() - response = dialog.run() - if not response: # gtk.STOCK_OK + if not dialog.run(): # gtk.STOCK_OK for i in self.liststore: # update preferences i[0].backup = self.backup i[0].add2archive = self.add2archive -- cgit v1.3