From 24be57ebee1ae56d04a35851017f7f90af995c19 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 27 Jun 2013 21:08:29 +0200 Subject: Improve the "non-supported files" popup --- mat-gui | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mat-gui') diff --git a/mat-gui b/mat-gui index e4a88f8..1be21b7 100755 --- a/mat-gui +++ b/mat-gui @@ -322,8 +322,13 @@ non-anonymised) file to output archive')) ''' dialog = Gtk.Dialog(title=_('Not-supported'), parent=self.window, flags=0, buttons=(Gtk.STOCK_OK, 0)) + dialog.set_size_request(220, 180) vbox = Gtk.VBox(spacing=5) - dialog.get_content_area().pack_start(vbox, True, True, 0) + sc = Gtk.ScrolledWindow() + sc.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC) + sc.add_with_viewport(vbox) + + dialog.get_content_area().pack_start(sc, True, True, 0) store = Gtk.ListStore(str, str) # append filename - mimetype to the store -- cgit v1.3