From 18d8eeb8c0504dbfdfe7f11931dd30dcdd5fbcb8 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 14 Jun 2006 15:44:40 +0000 Subject: opie-mediummount: do not show during First start wizard --- .../opie-mediummount-1.2.1/.mtn2git_empty | 0 .../firststart-no-popup.patch | 40 ++++++++++++++++++++++ .../opie-mediummount/opie-mediummount_1.2.1.bb | 7 ++-- 3 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 packages/opie-mediummount/opie-mediummount-1.2.1/.mtn2git_empty create mode 100644 packages/opie-mediummount/opie-mediummount-1.2.1/firststart-no-popup.patch (limited to 'packages') diff --git a/packages/opie-mediummount/opie-mediummount-1.2.1/.mtn2git_empty b/packages/opie-mediummount/opie-mediummount-1.2.1/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/opie-mediummount/opie-mediummount-1.2.1/firststart-no-popup.patch b/packages/opie-mediummount/opie-mediummount-1.2.1/firststart-no-popup.patch new file mode 100644 index 0000000000..fd5542e392 --- /dev/null +++ b/packages/opie-mediummount/opie-mediummount-1.2.1/firststart-no-popup.patch @@ -0,0 +1,40 @@ +Index: mainwindow.cc +=================================================================== +RCS file: /cvs/opie/noncore/settings/mediummount/mainwindow.cc,v +retrieving revision 1.7 +diff -u -r1.7 mainwindow.cc +--- mediummount/mainwindow.cc 19 Sep 2004 19:11:07 -0000 1.7 ++++ mediummount/mainwindow.cc 14 Jun 2006 15:30:05 -0000 +@@ -1,5 +1,6 @@ + + ++#include + #include + #include + #include +@@ -20,15 +21,20 @@ + : QDialog( parent, name, modal, WStyle_ContextHelp ) + + { +- setCaption ( tr( "Medium Mount Settings" )); ++ Config c( "qpe" ); ++ c.setGroup( "Startup" ); ++ if ( c.readNumEntry( "FirstUse", 42 ) != 0 ) ++ { ++ setCaption ( tr( "Medium Mount Settings" )); + +- m_lay = new QVBoxLayout( this ); ++ m_lay = new QVBoxLayout( this ); + +- m_tab = new QTabWidget( this ); ++ m_tab = new QTabWidget( this ); + +- m_lay->addWidget( m_tab ); ++ m_lay->addWidget( m_tab ); + +- init(); ++ init(); ++ } + } + + MainWindow::~MainWindow() diff --git a/packages/opie-mediummount/opie-mediummount_1.2.1.bb b/packages/opie-mediummount/opie-mediummount_1.2.1.bb index 0c887950a8..0eaff4ad86 100644 --- a/packages/opie-mediummount/opie-mediummount_1.2.1.bb +++ b/packages/opie-mediummount/opie-mediummount_1.2.1.bb @@ -1,7 +1,8 @@ include ${PN}.inc - - + +PR = "r1" SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/settings/mediummount \ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics \ - ${HANDHELDS_CVS};tag=${TAG};module=opie/apps" + ${HANDHELDS_CVS};tag=${TAG};module=opie/apps \ + file://firststart-no-popup.patch;patch=1" -- cgit v1.2.3