Use properly sized icons
|
@ -26,6 +26,15 @@ dnl ====================================
|
|||
|
||||
AC_OUTPUT(Makefile
|
||||
pixmaps/Makefile
|
||||
pixmaps/hicolor/Makefile
|
||||
pixmaps/hicolor/16x16/Makefile
|
||||
pixmaps/hicolor/16x16/actions/Makefile
|
||||
pixmaps/hicolor/22x22/Makefile
|
||||
pixmaps/hicolor/22x22/actions/Makefile
|
||||
pixmaps/hicolor/24x24/Makefile
|
||||
pixmaps/hicolor/24x24/actions/Makefile
|
||||
pixmaps/hicolor/32x32/Makefile
|
||||
pixmaps/hicolor/32x32/actions/Makefile
|
||||
po/Makefile.in
|
||||
src/Makefile
|
||||
src/virtManager/Makefile
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
SUBDIRS = hicolor
|
||||
|
||||
pixmapdir = $(pkgdatadir)/pixmaps
|
||||
pixmap_DATA = $(wildcard $(srcdir)/*.png) $(wildcard $(srcdir)/*.svg)
|
||||
|
|
After Width: | Height: | Size: 570 B |
After Width: | Height: | Size: 702 B |
After Width: | Height: | Size: 716 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 742 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 713 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.8 KiB |
|
@ -268,16 +268,8 @@ class vmmManager(gobject.GObject):
|
|||
self.config.is_vmlist_network_traffic_visible())
|
||||
|
||||
def init_toolbar(self):
|
||||
def set_toolbar_image(widget, iconfile, l, w):
|
||||
filename = self.config.get_icon_dir() + "/%s" % iconfile
|
||||
pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(filename, l, w)
|
||||
image = gtk.Image()
|
||||
image.set_from_pixbuf(pixbuf)
|
||||
image.show_all()
|
||||
self.window.get_widget(widget).set_icon_widget(image)
|
||||
|
||||
set_toolbar_image("vm-new", "vm_new_wizard.png", 28, 28)
|
||||
set_toolbar_image("vm-open", "icon_console.png", 24, 24)
|
||||
self.window.get_widget("vm-new").set_icon_name("vm_new")
|
||||
self.window.get_widget("vm-open").set_icon_name("icon_console")
|
||||
uihelpers.build_shutdown_button_menu(
|
||||
self.config,
|
||||
self.window.get_widget("vm-shutdown"),
|
||||
|
|
|
@ -135,6 +135,11 @@ fi
|
|||
%{_datadir}/%{name}/pixmaps/*.png
|
||||
%{_datadir}/%{name}/pixmaps/*.svg
|
||||
|
||||
%dir %{_datadir}/%{name}/pixmaps/hicolor/
|
||||
%dir %{_datadir}/%{name}/pixmaps/hicolor/*/
|
||||
%dir %{_datadir}/%{name}/pixmaps/hicolor/*/*/
|
||||
%dir %{_datadir}/%{name}/pixmaps/hicolor/*/*/*.png
|
||||
|
||||
%dir %{_datadir}/%{name}/virtManager/
|
||||
|
||||
%{_datadir}/%{name}/virtManager/*.py*
|
||||
|
|