diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-01-05 18:08:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-05-28 14:46:58 +0900 |
commit | 1da1d03f8d107bff644797131bc997476d22ecc1 (patch) | |
tree | 9fc888e0cb05603dd4ed233a675a67cf4bc575ff /debian/_buildscripts/local/scripts/hook examples/applications/kaffeine/kaffeine-wizard.diff | |
parent | 204867aa831b7de0c1faf4321c9767c868d2d577 (diff) | |
download | tde-packaging-1da1d03f8d107bff644797131bc997476d22ecc1.tar.gz tde-packaging-1da1d03f8d107bff644797131bc997476d22ecc1.zip |
DEB build script: first commit, still work in progress although
functional.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/_buildscripts/local/scripts/hook examples/applications/kaffeine/kaffeine-wizard.diff')
-rw-r--r-- | debian/_buildscripts/local/scripts/hook examples/applications/kaffeine/kaffeine-wizard.diff | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/debian/_buildscripts/local/scripts/hook examples/applications/kaffeine/kaffeine-wizard.diff b/debian/_buildscripts/local/scripts/hook examples/applications/kaffeine/kaffeine-wizard.diff new file mode 100644 index 000000000..c35ba6516 --- /dev/null +++ b/debian/_buildscripts/local/scripts/hook examples/applications/kaffeine/kaffeine-wizard.diff @@ -0,0 +1,65 @@ +diff -urN kaffeine/kaffeine/src/kaffeine.cpp kaffeine.new/kaffeine/src/kaffeine.cpp +--- kaffeine/kaffeine/src/kaffeine.cpp 2013-03-02 15:47:14.000000000 -0600 ++++ kaffeine.new/kaffeine/src/kaffeine.cpp 2013-11-24 11:39:09.809430631 -0600 +@@ -683,7 +683,9 @@ + m_autoResizeTriple = new TDEToggleAction(i18n("Triple Size"), 0, ALT|Key_3, TQT_TQOBJECT(this), TQT_SLOT(slotAutoresizeTriple()), actionCollection(), "view_auto_resize_triple"); + + m_playersMenu = new TDEActionMenu(i18n("&Player Engine"), actionCollection(), "options_player"); +- KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureKeys()), actionCollection()); ++ m_instWizard = new TDEAction(i18n("Installation &Wizard"), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(slotInstWizard()), actionCollection(), "inst_wizard"); ++ ++ KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureKeys()), actionCollection()); + KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureToolbars()), actionCollection()); + KStdAction::preferences(TQT_TQOBJECT(this), TQT_SLOT(slotPreferences()), actionCollection(), "options_preferences"); + +@@ -1619,6 +1621,18 @@ + mute(); + } + ++void Kaffeine::slotInstWizard() ++{ ++ TQString stamp = locateLocal("appdata", "wizard_stamp_v0.7.1"); ++ InstWizard::showWizard(); ++ ++ TDEProcess process; ++ process << "touch" << stamp; ++ process.start(TDEProcess::Block, TDEProcess::Stderr); ++ process.clearArguments(); ++} ++ ++ + /********* DCOP INTERFACE *********/ + + void Kaffeine::openURL(TQString url) +diff -urN kaffeine/kaffeine/src/kaffeine.h kaffeine.new/kaffeine/src/kaffeine.h +--- kaffeine/kaffeine/src/kaffeine.h 2013-03-02 15:47:14.000000000 -0600 ++++ kaffeine.new/kaffeine/src/kaffeine.h 2013-11-24 11:09:17.455756279 -0600 +@@ -193,6 +193,7 @@ + void slotDvbClient(bool,const TQString&,int,int,const TQString&); + void slotNumKeyInput( int ); + void slotDVBNextBack( int ); ++ void slotInstWizard(); + + private: + void autoresize(); +@@ -258,7 +259,8 @@ + TDEToggleAction* m_autoResizeTriple; + TDEToggleAction* m_originalAspect; + TDEToggleAction* m_toggleLayout; +- TDEActionMenu* m_playersMenu; ++ TDEActionMenu* m_playersMenu; ++ TDEAction* m_instWizard; + TDEToggleAction* m_sleepAfterPlay; + TDEToggleAction* m_quitAfterPlay; + TDEToggleAction* m_quitAfterPlaylist; +diff -urN kaffeine/kaffeine/src/kaffeineui.rc kaffeine.new/kaffeine/src/kaffeineui.rc +--- kaffeine/kaffeine/src/kaffeineui.rc 2012-09-14 17:39:52.000000000 -0500 ++++ kaffeine.new/kaffeine/src/kaffeineui.rc 2013-11-24 11:10:15.335565312 -0600 +@@ -34,6 +34,7 @@ + <Merge/> + <Menu noMerge="1" name="settings"><text>&Settings</text> + <Action name="options_player"/> ++ <Action name="inst_wizard"/> + <Separator/> + <Merge name="StandardToolBarMenuHandler"/> + <Action name="options_show_statusbar"/> |