Skip to content

Commit

Permalink
Merge pull request #94 from abobov/master
Browse files Browse the repository at this point in the history
Fix preferences dialog resize (thanks to abobov)
  • Loading branch information
az0 committed Jul 2, 2015
2 parents 656ab7a + e37955e commit eab0fb0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bleachbit/GuiPreferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def preserve_toggled_cb(cell, path, liststore):

notice = gtk.Label(
_("All languages will be deleted except those checked."))
vbox.pack_start(notice)
vbox.pack_start(notice, False)

# populate data
liststore = gtk.ListStore('gboolean', str, str)
Expand Down Expand Up @@ -293,7 +293,7 @@ def preserve_toggled_cb(cell, path, liststore):
swindow.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
swindow.set_size_request(300, 200)
swindow.add(treeview)
vbox.pack_start(swindow, False)
vbox.pack_start(swindow)
return vbox

def __locations_page(self, page_type):
Expand Down Expand Up @@ -409,7 +409,7 @@ def remove_custom_path_cb(button):
elif LOCATIONS_CUSTOM == page_type:
notice = gtk.Label(
_("These locations can be selected for deletion."))
vbox.pack_start(notice)
vbox.pack_start(notice, False)

# create treeview
treeview = gtk.TreeView(liststore)
Expand All @@ -431,7 +431,7 @@ def remove_custom_path_cb(button):
swindow.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
swindow.set_size_request(300, 200)
swindow.add(treeview)
vbox.pack_start(swindow, False)
vbox.pack_start(swindow)

# buttons that modify the list
button_add_file = gtk.Button(_p('button', 'Add file'))
Expand Down

0 comments on commit eab0fb0

Please sign in to comment.