Skip to content

Commit

Permalink
Don't use a statusbar (Xfwm randomly decides to draw a border around …
Browse files Browse the repository at this point in the history
…it..)
  • Loading branch information
clefebvre committed Jul 7, 2015
1 parent 1265241 commit 8e8fb3b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions usr/lib/linuxmint/mintWelcome/mintWelcome.py
Expand Up @@ -139,18 +139,16 @@ def __init__(self):
pixbuf = Pixbuf.new_from_file('/usr/lib/linuxmint/mintWelcome/icons/%s.png' % action[0])
liststore.append([pixbuf, action[0], action[1], action[2]])

statusbar = Gtk.Statusbar()
main_box.pack_end(statusbar, False, False, 0)

hbox = Gtk.HBox()
hbox.set_border_width(6)
main_box.pack_end(hbox, False, False, 0)
checkbox = Gtk.CheckButton()
checkbox.set_label(_("Show this dialog at startup"))
checkbox.override_color(Gtk.StateType.NORMAL, fgcolor)
if not os.path.exists(home + "/.linuxmint/mintWelcome/norun.flag"):
checkbox.set_active(True)
checkbox.connect("toggled", self.on_button_toggled)
hbox.pack_end(checkbox, False, False, 2)
statusbar.pack_end(hbox, False, False, 2)

window.add(main_box)
# window.set_size_request(640, 520)
Expand Down

0 comments on commit 8e8fb3b

Please sign in to comment.