Add icons to the horizontal/vertical splits, which should help with the confusing usability issues wrt this feature
This commit is contained in:
parent
400b5712c6
commit
7f4461c280
1
setup.py
1
setup.py
|
@ -79,6 +79,7 @@ setup(name='Terminator',
|
|||
('share/pixmaps', ['data/icons/48x48/apps/terminator.png']),
|
||||
('share/icons/hicolor/scalable/apps', glob.glob('data/icons/scalable/apps/*.svg')),
|
||||
('share/icons/hicolor/16x16/apps', glob.glob('data/icons/16x16/apps/*.png')),
|
||||
('share/icons/hicolor/16x16/actions', glob.glob('data/icons/16x16/actions/*.png')),
|
||||
('share/icons/hicolor/22x22/apps', glob.glob('data/icons/22x22/apps/*.png')),
|
||||
('share/icons/hicolor/24x24/apps', glob.glob('data/icons/24x24/apps/*.png')),
|
||||
('share/icons/hicolor/48x48/apps', glob.glob('data/icons/48x48/apps/*.png')),
|
||||
|
|
|
@ -733,11 +733,13 @@ text/plain
|
|||
menu.append (item)
|
||||
|
||||
if not self.terminator._zoomed:
|
||||
item = gtk.MenuItem (_("Split H_orizontally"))
|
||||
item = gtk.ImageMenuItem (_("Split H_orizontally"))
|
||||
item.set_property('image', self.terminator.icon_theme.load_icon (APP_NAME + '_horiz', 16, 0))
|
||||
item.connect ("activate", lambda menu_item: self.terminator.splitaxis (self, False))
|
||||
menu.append (item)
|
||||
|
||||
item = gtk.MenuItem (_("Split V_ertically"))
|
||||
item = gtk.ImageMenuItem (_("Split V_ertically"))
|
||||
item.set_property('image', self.terminator.icon_theme.load_icon (APP_NAME + '_vert', 16, 0))
|
||||
item.connect ("activate", lambda menu_item: self.terminator.splitaxis (self, True))
|
||||
menu.append (item)
|
||||
|
||||
|
|
Loading…
Reference in New Issue