Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
forgotten help icon replaced; -v formatting altered
Browse files Browse the repository at this point in the history
  • Loading branch information
nwg-piotr committed Feb 9, 2020
1 parent 0241524 commit 4e88504
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions sgtk_menu/config/icon-missing.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion sgtk_menu/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,8 @@ def app_image(icon):
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size(icon, args.s, args.s)
image = Gtk.Image.new_from_pixbuf(pixbuf)
except:
pixbuf = icon_theme.load_icon('help', args.s, Gtk.IconLookupFlags.FORCE_SIZE)
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size(os.path.join(config_dir, 'icon-missing.svg'), args.s,
args.s)
image = Gtk.Image.new_from_pixbuf(pixbuf)
else:
try:
Expand Down
3 changes: 1 addition & 2 deletions sgtk_menu/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,5 +273,4 @@ def print_version():
version = pkg_resources.require('sgtk-menu')[0].version
except Exception as e:
version = 'unknown version ({})'.format(e)
print('\nsgtk-menu {}'.format(version))
print('Copyright (c) 2020 Piotr Miller & Contributors')
print('\nsgtk-menu {} Copyright (c) 2020 Piotr Miller & Contributors\n'.format(version))

0 comments on commit 4e88504

Please sign in to comment.