commit mozilla-xulrunner191-kde4 for openSUSE:Factory
Hello community, here is the log from the commit of package mozilla-xulrunner191-kde4 for openSUSE:Factory checked in at Wed Nov 25 16:11:16 CET 2009. -------- --- mozilla-xulrunner191-kde4/mozilla-xulrunner191-kde4.changes 2009-11-11 14:30:59.000000000 +0100 +++ /mounts/work_src_done/STABLE/mozilla-xulrunner191-kde4/mozilla-xulrunner191-kde4.changes 2009-11-23 13:43:35.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Nov 23 13:35:11 CET 2009 - llunak@novell.com + +- 0.6, use mimetype for opening url if known (bnc#556156) + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- kmozillahelper-0.5.2.tar.bz2 New: ---- kmozillahelper-0.6.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mozilla-xulrunner191-kde4.spec ++++++ --- /var/tmp/diff_new_pack.wCY7HK/_old 2009-11-25 16:10:38.000000000 +0100 +++ /var/tmp/diff_new_pack.wCY7HK/_new 2009-11-25 16:10:38.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package mozilla-xulrunner191-kde4 (Version 0.5.2) +# spec file for package mozilla-xulrunner191-kde4 (Version 0.6) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -24,13 +24,13 @@ Group: System/GUI/KDE BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Mozilla KDE Integration -Version: 0.5.2 +Version: 0.6 Release: 1 Source: kmozillahelper-%{version}.tar.bz2 Supplements: packageand(mozilla-xulrunner191:kdebase4-workspace) # this is needed to match this package with the main package without the main package # having a hard requirement on this package -%define helper_version 5 +%define helper_version 6 Requires: mozilla-xulrunner191-kde4-version = %{helper_version} Obsoletes: MozillaFirefox-kde4-addon <= 0.3.0 %kde4_runtime_requires ++++++ kmozillahelper-0.5.2.tar.bz2 -> kmozillahelper-0.6.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmozillahelper/main.cpp new/kmozillahelper/main.cpp --- old/kmozillahelper/main.cpp 2009-11-11 14:25:44.000000000 +0100 +++ new/kmozillahelper/main.cpp 2009-11-23 13:18:31.000000000 +0100 @@ -49,8 +49,8 @@ //#define DEBUG_KDE -#define HELPER_VERSION 5 -#define APP_HELPER_VERSION "0.5" +#define HELPER_VERSION 6 +#define APP_HELPER_VERSION "0.6" int main( int argc, char* argv[] ) { @@ -441,13 +441,23 @@ if( !readArguments( 1 )) return false; KUrl url = getArgument(); + QString mime; + if( isArgument( "MIMETYPE" )) + mime = getArgument(); if( !allArgumentsUsed()) return false; KApplication::updateUserTimestamp( 0 ); // TODO - (void) new KRun( url, NULL ); // TODO parent -// QObject::connect( run, SIGNAL( finished()), &app, SLOT( openDone())); -// QObject::connect( run, SIGNAL( error()), &app, SLOT( openDone())); - return true; // TODO check for errors? + if( !mime.isEmpty()) + { + return KRun::runUrl( url, mime, NULL ); // TODO parent + } + else + { + (void) new KRun( url, NULL ); // TODO parent + // QObject::connect( run, SIGNAL( finished()), &app, SLOT( openDone())); + // QObject::connect( run, SIGNAL( error()), &app, SLOT( openDone())); + return true; // TODO check for errors? + } } bool App::handleRun() ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de