From 1820645be88054fdf30feeac65514c78d4f1d54e Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Fri, 14 Jan 2011 22:40:03 +0200 Subject: [PATCH] icon: add an application icon Set as default icons, so that it it used for windows and in about dialog. --- mediainfo/src/Makefile.am | 7 +- mediainfo/src/gst-mi.png | Bin 0 -> 6664 bytes mediainfo/src/gst-mi.svg | 660 ++++++++++++++++++++++++++++++++++++++ mediainfo/src/mi-app.vala | 5 + 4 files changed, 671 insertions(+), 1 deletion(-) create mode 100644 mediainfo/src/gst-mi.png create mode 100644 mediainfo/src/gst-mi.svg diff --git a/mediainfo/src/Makefile.am b/mediainfo/src/Makefile.am index ccadcb43d0..b4678b062c 100644 --- a/mediainfo/src/Makefile.am +++ b/mediainfo/src/Makefile.am @@ -18,7 +18,12 @@ gst_mi_SOURCES = \ gst_mi_LDADD = \ $(MI_LIBS) -lgstinterfaces-0.10 -lgstpbutils-0.10 - + +pixmapsdir=$(pkgdatadir)/ui/icons +pixmaps_DATA=gst-mi.png + +EXTRA_DIST = gst-mi.png + BUILT_SOURCES = $(gst_mi_SOURCES:.vala=.c) CLEANFILES = \ diff --git a/mediainfo/src/gst-mi.png b/mediainfo/src/gst-mi.png new file mode 100644 index 0000000000000000000000000000000000000000..25481b6db132fc5b5818f341d353e3523a99e5c0 GIT binary patch literal 6664 zcmWkz1z1yU6dolAh=`O*3QCQT1_4o-bThgKBEslYIt3&pWR!q_qJZGf=#ZK)LKr2Z zM~HMc{GWSvcend&-#y%$*XLfoHXim6UteD#M;9kg zgpHfMkgJD7)`r||@SR9irN;(-*;6QgH*=%9+2CcNCfAp$WmD<*Ha&(c5eS*CuKQ>a z4HfDi5jxk2T`52D6?42py@F|KvZZC*%Ka2JADQphsntf1;U4CWh`Oq4i&cd_9M^Tm zR925y8Gfn$Z}{csQx}Je7v5YLtv5NXB+aGzfu}x)E4%0YzRio1Tpv@eq`O~*@F@q%XPTEhxU z!N04kGM-Cszce-F=$B~enwhD~v5md!wxbG0L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*)k9%y1(aFg-%!QbM&`?)bXZ!vuaA5}4{b0=mln)8g|G-K{6>1SnW%&?A zf-qAE>0109Daq9IbT)Gkuz6qg!F;}?~Ni4HB zgFX1neHo0R0241?mdh!8ax|TrL>$i0hlBwaxQ?R($AGAjyuPyXc+4B9AHZ=ym?22Z z9gHI&mpf7flJa|kf`Xewx#ra`;lI~wX0(913(7rEKa(ylE-)b^!8iy6Y^5h8nDhXW k*7~JY`({jsFXZA;wxCC4Yln_H_}2!a3e!?5e_|c>KkX|mtN;K2 literal 0 HcmV?d00001 diff --git a/mediainfo/src/gst-mi.svg b/mediainfo/src/gst-mi.svg new file mode 100644 index 0000000000..3380f39047 --- /dev/null +++ b/mediainfo/src/gst-mi.svg @@ -0,0 +1,660 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mediainfo/src/mi-app.vala b/mediainfo/src/mi-app.vala index 5c9096855f..ae0a6c37ce 100644 --- a/mediainfo/src/mi-app.vala +++ b/mediainfo/src/mi-app.vala @@ -35,6 +35,11 @@ public class MediaInfo.App : Window // configure the window set_title (_("GStreamer Media Info")); set_default_size (500, 350); + try { + set_default_icon_from_file (Config.PKGDATADIR + "/ui/icons/gst-mi.png"); + } catch (Error e) { + debug ("Application icon missing: %s: %s", e.domain.to_string (), e.message); + } destroy.connect (Gtk.main_quit); VBox vbox = new VBox( false, 0);