[pitivi] Remove old mimetype icons
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Remove old mimetype icons
- Date: Sun, 27 May 2012 19:46:03 +0000 (UTC)
commit 426257c61991a5f3d160359d1086c3d977d5ab2e
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date: Fri Feb 3 16:01:38 2012 -0500
Remove old mimetype icons
data/pixmaps/Makefile.am | 2 --
data/pixmaps/pitivi-sound.png | Bin 4655 -> 0 bytes
data/pixmaps/pitivi-video.png | Bin 2747 -> 0 bytes
pitivi/medialibrary.py | 6 +++---
4 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/data/pixmaps/Makefile.am b/data/pixmaps/Makefile.am
index e3283c3..3175200 100644
--- a/data/pixmaps/Makefile.am
+++ b/data/pixmaps/Makefile.am
@@ -14,7 +14,6 @@ pixmap_DATA = \
pitivi-render-16.png \
pitivi-render-22.png \
pitivi-render-24.png \
- pitivi-sound.png \
pitivi-split-24.svg \
pitivi-split.svg \
pitivi-ungroup-24.svg \
@@ -23,7 +22,6 @@ pixmap_DATA = \
pitivi-align.svg \
pitivi-unlink-24.svg \
pitivi-unlink.svg \
- pitivi-video.png \
processing-clip.png \
processing-clip.svg \
trimbar-focused.png \
diff --git a/pitivi/medialibrary.py b/pitivi/medialibrary.py
index c5be70e..b11ef4a 100644
--- a/pitivi/medialibrary.py
+++ b/pitivi/medialibrary.py
@@ -425,8 +425,8 @@ class MediaLibraryWidget(gtk.VBox, Loggable):
self.app.connect("new-project-failed", self._newProjectFailedCb)
# default pixbufs
- self.audiofilepixbuf = self._getIcon("audio-x-generic", "pitivi-sound.png")
- self.videofilepixbuf = self._getIcon("video-x-generic", "pitivi-video.png")
+ self.audiofilepixbuf = self._getIcon("audio-x-generic")
+ self.videofilepixbuf = self._getIcon("video-x-generic")
# Drag and Drop
self.drag_dest_set(gtk.DEST_DEFAULT_DROP | gtk.DEST_DEFAULT_MOTION,
@@ -609,7 +609,7 @@ class MediaLibraryWidget(gtk.VBox, Loggable):
else:
return text in model.get_value(iter, COL_INFOTEXT).lower()
- def _getIcon(self, iconname, alternate):
+ def _getIcon(self, iconname, alternate=None):
icontheme = gtk.icon_theme_get_default()
pixdir = get_pixmap_dir()
icon = None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]