summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2013-06-27 21:08:29 +0200
committerjvoisin2013-06-27 21:08:29 +0200
commit24be57ebee1ae56d04a35851017f7f90af995c19 (patch)
treea4faa2bb14c7b82c6342f1cda5d6a2c13c34ff86
parent103a41431bff76117c7c68fd8be6dce3271deae0 (diff)
Improve the "non-supported files" popup
-rwxr-xr-xmat-gui7
1 files changed, 6 insertions, 1 deletions
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'))
322 ''' 322 '''
323 dialog = Gtk.Dialog(title=_('Not-supported'), parent=self.window, 323 dialog = Gtk.Dialog(title=_('Not-supported'), parent=self.window,
324 flags=0, buttons=(Gtk.STOCK_OK, 0)) 324 flags=0, buttons=(Gtk.STOCK_OK, 0))
325 dialog.set_size_request(220, 180)
325 vbox = Gtk.VBox(spacing=5) 326 vbox = Gtk.VBox(spacing=5)
326 dialog.get_content_area().pack_start(vbox, True, True, 0) 327 sc = Gtk.ScrolledWindow()
328 sc.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
329 sc.add_with_viewport(vbox)
330
331 dialog.get_content_area().pack_start(sc, True, True, 0)
327 store = Gtk.ListStore(str, str) 332 store = Gtk.ListStore(str, str)
328 333
329 # append filename - mimetype to the store 334 # append filename - mimetype to the store