Commit 62b70d44 authored by Colomban Wendling's avatar Colomban Wendling

OVCCGtk: add an application icon

Add an icon for the application, based on the tile 13 by Salomé.
parent 07a69527
......@@ -15,6 +15,7 @@ ovccgtkdatadir="${datadir}/ovcc-gtk/"
AC_SUBST([ovccgtkdatadir])
# Checks for programs.
AC_PROG_LN_S
AC_PROG_CC
AM_PROG_VALAC([0.7])
AC_CHECK_PROGS([GLIB_GENMARSHAL], [glib-genmarshal], [NONE])
......
iconsdir = $(datadir)
nobase_dist_icons_DATA = icons/hicolor/scalable/apps/ovccgtk.svg
dist_pkgdata_DATA = ovcc-gtk.ui
# we add directory $(pkgdatadir)/icons to our lookup path, so make sure it
# exists in case we aren't installed in a default prefix where icons are
# already searched for
install-data-hook:
( cd "$(pkgdatadir)" && $(RM) icons && $(LN_S) ../icons icons )
uninstall-hook:
( test ! -d "$(pkgdatadir)" || ( cd "$(pkgdatadir)" && $(RM) icons ) )
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -3,6 +3,7 @@
<requires lib="gtk+" version="2.16"/>
<!-- interface-naming-policy project-wide -->
<object class="GtkWindow" id="main-window">
<property name="icon_name">ovccgtk</property>
<signal name="delete_event" handler="main_window_delete_event_handler"/>
<child>
<object class="GtkVBox" id="vbox1">
......
......@@ -903,6 +903,7 @@ help_about_activate_handler (GtkAction *action,
dialog = g_object_new (GTK_TYPE_ABOUT_DIALOG,
"transient-for", app->main_window,
"logo-icon-name", "ovccgtk",
"program-name", _("OVCCGtk"),
"version", VERSION,
"comments", _("A GTK client for OVCC"),
......@@ -921,6 +922,11 @@ ovcc_gtk (int argc,
{
GtkBuilder *builder;
gboolean success = FALSE;
gchar *icon_path;
icon_path = data_get_path ("icons");
gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (), icon_path);
g_free (icon_path);
builder = gtk_builder_new ();
if (load_ui (builder, UI_FILE)) {
......
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