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 0000000000..25481b6db1 Binary files /dev/null and b/mediainfo/src/gst-mi.png differ 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);