Accepting request 259767 from home:Kieltux:branches:multimedia:apps

Patch for missing toolbar icon: watch related videos
In upstream the icon is "view-list[.png]". 
But in oxygen-theme there is no such icon.

OBS-URL: https://build.opensuse.org/request/show/259767
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/minitube?expand=0&rev=15
This commit is contained in:
Takashi Iwai 2014-11-05 10:51:01 +00:00 committed by Git OBS Bridge
parent cec74239b9
commit 6ed2f101fd
3 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 5 09:34:35 UTC 2014 - kieltux@gmail.com
- Patch for missing toolbar icon (watch related videos)
+ missing_watchrelatedvideo_icon.patch
-------------------------------------------------------------------
Wed Nov 5 07:37:03 UTC 2014 - kieltux@gmail.com

View File

@ -29,6 +29,7 @@ Source0: http://flavio.tordini.org/files/minitube/%{name}.tar.gz
Source1: minitube.1
Patch0: qtlocalpeer.patch
Patch1: disable_update_check.patch
Patch2: missing_watchrelatedvideo_icon.patch
BuildRequires: libqt4-devel >= 4.5.0
BuildRequires: phonon-devel
BuildRequires: update-desktop-files
@ -54,6 +55,8 @@ Author:
%patch0
# Disable online update check, from home:jetchko:fedora20 > minitube
%patch1
# Patch for missing icon (watch related video) in toolbar
%patch2
%build
qmake PREFIX=%{_prefix}

View File

@ -0,0 +1,11 @@
--- src/mainwindow.cpp.orig 2014-10-23 12:47:15.000000000 +0200
+++ src/mainwindow.cpp 2014-11-05 10:12:22.685590212 +0100
@@ -565,7 +565,7 @@
action = new QAction(tr("More..."), this);
actions->insert("more-region", action);
- action = new QAction(IconUtils::icon("view-list"), tr("&Related Videos"), this);
+ action = new QAction(IconUtils::icon("format-justify-fill"), tr("&Related Videos"), this);
action->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_R));
action->setStatusTip(tr("Watch videos related to the current one"));
action->setEnabled(false);