diff options
| -rwxr-xr-x | mat-gui | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -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 |
