Adds a menu separator
This commit is contained in:
parent
6ea5e7a54f
commit
e3b9f5d239
|
@ -21,7 +21,6 @@ because nw doesn't support AppIndicators yet.
|
|||
- Ideally app-memory should be persistent (save on disk)
|
||||
- Auto Start
|
||||
- Convert to a Python Module
|
||||
- Add a menu separator between news and preferences.
|
||||
- Try to convert right click to comments link
|
||||
|
||||
##Author Information
|
||||
|
|
|
@ -22,6 +22,10 @@ class HackerNewsApp:
|
|||
self.menu = gtk.Menu()
|
||||
|
||||
# create items for the menu - labels, checkboxes, radio buttons and images are supported:
|
||||
menuSeparator = gtk.SeparatorMenuItem()
|
||||
menuSeparator.show()
|
||||
self.menu.append(menuSeparator)
|
||||
|
||||
btnRefresh = gtk.MenuItem("Refresh")
|
||||
btnRefresh.show()
|
||||
btnRefresh.connect("activate", self.refresh)
|
||||
|
|
Loading…
Reference in New Issue