Skip to content

Commit

Permalink
Merge branch 'devel'
Browse files Browse the repository at this point in the history
  • Loading branch information
cunidev committed May 31, 2018
2 parents f42af63 + 0c32bcc commit e3a1eb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gestures/configfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def save(self):
self.reloadFile()

def backup(self):
return exportFile(self.backupPath)
return self.exportFile(self.backupPath)

def restore(self):
try:
Expand Down
5 changes: 3 additions & 2 deletions gestures/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def __init__(self):
self.editMode = False
# window
Gtk.Window.__init__(self, title="Gestures")
self.set_border_width(10)
self.set_border_width(15)
self.set_default_size(600, 400)

# header bar
Expand All @@ -284,8 +284,10 @@ def __init__(self):
self.menuPopover = Gtk.Popover.new(button)
self.menuPopover.set_size_request(250, 100)
popoverBox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)

label = Gtk.Label(margin=12)
label.set_markup("<b>Gestures</b> " + __version__)
popoverBox.add(label)


btnImport = Gtk.Button.new_from_icon_name("document-open", Gtk.IconSize.SMALL_TOOLBAR)
Expand All @@ -306,7 +308,6 @@ def __init__(self):
btnBox.add(btnExport)
btnBox.add(btnRestore)

popoverBox.add(label)
popoverBox.add(btnBox)
self.menuPopover.add(popoverBox)

Expand Down

0 comments on commit e3a1eb6

Please sign in to comment.