Accepting request 195787 from KDE:Distro:Factory

fix ksuseinstall does not respect (don't ask again) (bnc# 671578)

OBS-URL: https://build.opensuse.org/request/show/195787
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kaffeine?expand=0&rev=52
This commit is contained in:
Tomáš Chvátal 2013-08-21 13:11:06 +00:00 committed by Git OBS Bridge
parent 5d64417a8b
commit f1fcc905f2
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Aug 21 08:08:50 UTC 2013 - tittiatcoke@gmail.com
- fix ksuseinstall does not respect "don't ask again" (bnc# 671578)
fix delivered by amolagodbole@gmail.com
-------------------------------------------------------------------
Thu Apr 19 09:46:10 UTC 2012 - dmueller@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package kaffeine
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed

View File

@ -92,10 +92,10 @@
+{
+ KGuiItem installGuiItem( KStandardGuiItem::yes());
+ installGuiItem.setText( i18nc( "@action:button", "Install" ));
+ if( KMessageBox::warningContinueCancel( window(),
+ if( KMessageBox::warningYesNo( window(),
+ i18n( "Kaffeine currently cannot play some file formats. Do you want to install additional support?" ),
+ i18n( "Install Additional Codecs" ),
+ installGuiItem, KStandardGuiItem::no(), "suse_additional_codecs" ) != KMessageBox::Continue )
+ installGuiItem, KStandardGuiItem::no(), "suse_additional_codecs" ) != KMessageBox::Yes )
+ {
+ return;
+ }