Hello community, here is the log from the commit of package kpat for openSUSE:Factory checked in at 2013-07-08 07:28:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kpat (Old) and /work/SRC/openSUSE:Factory/.kpat.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kpat" Changes: -------- --- /work/SRC/openSUSE:Factory/kpat/kpat.changes 2013-06-11 09:32:40.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kpat.new/kpat.changes 2013-07-08 07:28:58.000000000 +0200 @@ -1,0 +2,14 @@ +Thu Jun 27 18:49:49 UTC 2013 - tittiatc...@gmail.com + +- Update to 4.10.90 + * KDE 4.11 Beta 1 release + * See http://www.kde.org/announcements/announce-4.11-beta2.php + +------------------------------------------------------------------- +Thu Jun 13 20:52:10 UTC 2013 - tittiatc...@gmail.com + +- Update to 4.10.80 + * KDE 4.11 Beta 1 release + * See http://www.kde.org/announcements/announce-4.11-beta1.php + +------------------------------------------------------------------- Old: ---- kpat-4.10.4.tar.xz New: ---- kpat-4.10.90.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kpat.spec ++++++ --- /var/tmp/diff_new_pack.zGwI0m/_old 2013-07-08 07:28:59.000000000 +0200 +++ /var/tmp/diff_new_pack.zGwI0m/_new 2013-07-08 07:28:59.000000000 +0200 @@ -21,7 +21,7 @@ License: GPL-2.0+ Group: Amusements/Games/Board/Card Url: http://www.kde.org -Version: 4.10.4 +Version: 4.10.90 Release: 0 Source0: kpat-%{version}.tar.xz BuildRequires: libkdegames-devel ++++++ kpat-4.10.4.tar.xz -> kpat-4.10.90.tar.xz ++++++ Files old/kpat-4.10.4/doc/index.cache.bz2 and new/kpat-4.10.90/doc/index.cache.bz2 differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpat-4.10.4/doc/index.docbook new/kpat-4.10.90/doc/index.docbook --- old/kpat-4.10.4/doc/index.docbook 2013-05-28 21:50:04.000000000 +0200 +++ new/kpat-4.10.90/doc/index.docbook 2013-06-10 20:55:00.000000000 +0200 @@ -182,7 +182,7 @@ </listitem> </varlistentry> <varlistentry><term>4. Playing Piles</term> - <listitem><para><indexterm><primary>playing piles</primary></indexterm>These piles are those where the actual reordering happens. The rules for these piles vary a lot between games. Some show all cards on them, some do not. Some allow only one card to be removed, some allow every card to be removed, &etc;.</para> + <listitem><para><indexterm><primary>playing piles</primary></indexterm>These piles are those where the actual reordering happens. The rules for these piles vary a lot between games. Some show all cards on them, some do not. Some allow only one card to be removed, some allow every card to be removed, &etc;</para> </listitem> </varlistentry> </variablelist> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpat-4.10.4/kpat.desktop new/kpat-4.10.90/kpat.desktop --- old/kpat-4.10.4/kpat.desktop 2013-05-28 21:50:04.000000000 +0200 +++ new/kpat-4.10.90/kpat.desktop 2013-06-10 20:55:00.000000000 +0200 @@ -49,7 +49,7 @@ Name[x-test]=xxKPatiencexx Name[zh_CN]=KPatience Name[zh_TW]=KPatience 單人紙牌遊戲 -Exec=kpat -caption "%c" +Exec=kpat -caption %c Type=Application Icon=kpat X-DocPath=kpat/index.html diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpat-4.10.4/mainwindow.cpp new/kpat-4.10.90/mainwindow.cpp --- old/kpat-4.10.4/mainwindow.cpp 2013-05-28 21:50:04.000000000 +0200 +++ new/kpat-4.10.90/mainwindow.cpp 2013-06-12 12:58:55.000000000 +0200 @@ -55,6 +55,7 @@ #include <KgThemeSelector> #include <KStandardGameAction> +#include <KStandardAction> #include <KAction> #include <KActionCollection> @@ -69,6 +70,7 @@ #include <KRecentFilesAction> #include <KStandardDirs> #include <KStatusBar> +#include <KMenuBar> #include <KTemporaryFile> #include <KToggleAction> #include <KToolInvocation> @@ -80,6 +82,7 @@ #include <QtCore/QTimer> #include <QtCore/QXmlStreamReader> #include <QtGui/QDesktopWidget> +#include <QtGui/QKeySequence> namespace @@ -125,6 +128,8 @@ m_moveCountStatusLabel = new QLabel(QString(), statusBar()); m_moveCountStatusLabel->setAlignment(Qt::AlignRight | Qt::AlignVCenter); statusBar()->addWidget( m_moveCountStatusLabel, 0); + + m_showMenubarAction->setChecked(!menuBar()->isHidden()); } MainWindow::~MainWindow() @@ -320,8 +325,10 @@ m_pickUpSetDownAction = actionCollection()->addAction( QLatin1String( "focus_activate" )); m_pickUpSetDownAction->setText("Pick Up or Set Down Focus"); m_pickUpSetDownAction->setShortcuts( KShortcut( Qt::Key_Space ) ); -} + // showMenubar isn't a part of KStandardGameAction + m_showMenubarAction = KStandardAction::showMenubar(this, SLOT(toggleMenubar()), actionCollection()); +} void MainWindow::undoMove() { if( m_dealer ) @@ -724,6 +731,22 @@ m_demoAction->setIcon( KIcon( QLatin1String( active ? "media-playback-pause" : "media-playback-start" ) ) ); } +void MainWindow::toggleMenubar() +{ + if(m_showMenubarAction->isChecked()) + menuBar()->show(); + else if(KMessageBox::warningContinueCancel(this, + i18n("Are you sure you want to hide the menubar? The current shortcut to show it again is %1.", + m_showMenubarAction->shortcut().toString(QKeySequence::NativeText)), + i18n("Hide Menubar"), + KStandardGuiItem::cont(), + KStandardGuiItem::cancel(), + QLatin1String("MenubarWarning")) == KMessageBox::Continue) + menuBar()->hide(); + else + m_showMenubarAction->setChecked(true); +} + void MainWindow::saveNewToolbarConfig() { KXmlGuiWindow::saveNewToolbarConfig(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpat-4.10.4/mainwindow.h new/kpat-4.10.90/mainwindow.h --- old/kpat-4.10.4/mainwindow.h 2013-05-28 21:50:04.000000000 +0200 +++ new/kpat-4.10.90/mainwindow.h 2013-06-12 12:58:55.000000000 +0200 @@ -88,6 +88,7 @@ void toggleHints(); void toggleDemo(); void toggleDemoAction(bool active); + void toggleMenubar(); void setAutoDropEnabled( bool enabled ); void enableSolver(bool enable); @@ -142,6 +143,7 @@ KToggleAction * m_solverEnabledAction; KToggleAction * m_rememberStateAction; KToggleAction * m_playSoundsAction; + KToggleAction * m_showMenubarAction; KAction * m_gameHelpAction; QMap<int, const DealerInfo*> m_dealer_map; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org