diff --git a/choqok-0.5-tweetall.patch b/choqok-0.5-tweetall.patch new file mode 100644 index 0000000..b8ed29a --- /dev/null +++ b/choqok-0.5-tweetall.patch @@ -0,0 +1,47 @@ +diff --git src/choqok.kcfg src/choqok.kcfg +index 742b97e..6d01846 100644 +--- src/choqok.kcfg (revision 953420) ++++ src/choqok.kcfg (working copy) +@@ -44,6 +44,9 @@ + + true + ++ ++ false ++ + + QSize(280,140) + +diff --git src/quicktwit.cpp src/quicktwit.cpp +index ed31f5c..97b262f 100644 +--- src/quicktwit.cpp (revision 953420) ++++ src/quicktwit.cpp (working copy) +@@ -47,6 +47,9 @@ QuickTwit::QuickTwit( QWidget* parent ): KDialog( parent ) + this->resize( Settings::quickTweetSize() ); + txtStatus->setFocus( Qt::OtherFocusReason ); + ++ ui.checkAll->setChecked( Settings::quickTweetAll() ); ++ checkAll( Settings::quickTweetAll() ); ++ + this->setCaption( i18n( "Quick Tweet" ) ); + ui.lblCounter->setText( QString::number( MAX_STATUS_SIZE ) ); + +@@ -65,6 +68,7 @@ QuickTwit::QuickTwit( QWidget* parent ): KDialog( parent ) + + QuickTwit::~QuickTwit() + { ++ Settings::setQuickTweetAll(ui.checkAll->isChecked()); + Settings::setQuickTweetSize( this->size() ); + Settings::self()->writeConfig(); + kDebug(); +diff --git src/settings.kcfgc src/settings.kcfgc +index 776bff1..c85b6ef 100644 +--- src/settings.kcfgc (revision 953420) ++++ src/settings.kcfgc (working copy) +@@ -1,5 +1,5 @@ + File=choqok.kcfg + ClassName=Settings + Singleton=true +-Mutators=quickTweetSize,notifyType,updateInterval,position,searchWindowSize,searchWindowPosition ++Mutators=quickTweetSize,quickTweetAll,notifyType,updateInterval,position,searchWindowSize,searchWindowPosition + UseEnumTypes=true diff --git a/choqok.spec b/choqok.spec index dee349e..44fa821 100644 --- a/choqok.spec +++ b/choqok.spec @@ -1,12 +1,14 @@ Summary: Choqok KDE Micro-Blogging Client Name: choqok Version: 0.5 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3 Group: Applications/Internet URL: http://choqok.gnufolks.org/ Source: http://mirror.umoss.org/download.ospdev.net/choqok/choqok/0.5Norooz/choqok-0.5.tar.bz2 +Patch0: choqok-0.5-tweetall.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake >= 2.6 @@ -20,6 +22,7 @@ Choqok currently supports Twitter.com and Identi.ca services. %prep %setup -q +%patch0 -p0 -b .tweetall %build @@ -50,6 +53,8 @@ rm -rf %{buildroot} %{_kde4_sharedir}/config.kcfg/choqok.kcfg %changelog +* Fri Apr 10 2009 Tejas Dinkar - 0.5-3 +- Added the TweetAll patch, remove this by 0.6 * Fri Mar 27 2009 Tejas Dinkar - 0.5-2 - Added AUTHORS changelog and TODO to doc * Fri Mar 27 2009 Tejas Dinkar - 0.5-1