Commit 7843db10 authored by Stefano Facchini's avatar Stefano Facchini

Update About dialog for new icon design

parent 8dd5a3b7
NULL =
public_icons_themes = \
hicolor \
$(NULL)
public_icons = \
hicolor_apps_scalable_baobab.svg \
hicolor_apps_symbolic_baobab-symbolic.svg \
$(NULL)
noinst_DATA = \
baobab.svg \
$(NULL)
EXTRA_DIST = \
$(public_icons) \
$(noinst_DATA) \
$(NULL)
gtk_update_icon_cache = gtk-update-icon-cache -f -t
update-icon-cache:
@-if test -z "$(DESTDIR)"; then \
echo "Updating Gtk icon cache."; \
for theme in $(public_icons_themes); do \
$(gtk_update_icon_cache) $(datadir)/icons/$$theme; \
done; \
else \
echo "*** Icon cache not updated. After (un)install, run this:"; \
for theme in $(public_icons_themes); do \
echo "*** $(gtk_update_icon_cache) $(datadir)/icons/$$theme"; \
done; \
fi
install-icons:
for icon in $(public_icons); do \
THEME=`echo $$icon | cut -d_ -f1`; \
CONTEXT=`echo $$icon | cut -d_ -f2`; \
SIZE=`echo $$icon | cut -d_ -f3`; \
ICONFILE=`echo $$icon | cut -d_ -f4`; \
mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
$(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
done
uninstall-icons:
-for icon in $(public_icons); do \
THEME=`echo $$icon | cut -d_ -f1`; \
CONTEXT=`echo $$icon | cut -d_ -f2`; \
SIZE=`echo $$icon | cut -d_ -f3`; \
ICONFILE=`echo $$icon | cut -d_ -f4`; \
rm -f $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
done
install-data-local: install-icons
install-data-hook: update-icon-cache
uninstall-local: uninstall-icons
uninstall-hook: update-icon-cache
-include $(top_srcdir)/git.mk
......@@ -302,7 +302,7 @@ namespace Baobab {
Gtk.show_about_dialog (this,
"program-name", _("Baobab"),
"logo-icon-name", "baobab",
"logo-icon-name", "org.gnome.baobab",
"version", Config.VERSION,
"comments", _("A graphical tool to analyze disk usage."),
"copyright", copyright,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment