Commit Graph

21 Commits

Author SHA1 Message Date
thilo
eff98c661e *neutrino menu: fix 'memory ' of selected items in submenues
Add small helper class to manage missing values
e.g. needed for deallocated widget objects.
This class we can also use for other things in future!

In this context I added a vector for 'selected' values needed for
deeper and deallocated submenues.
The identification of widgets working now with a new widget parameter named 'w_index'.
setSelected() and getSelected() functions are still working, but are not needed, if we use an index

-add define for default widget index
-add new header file for enums
-adapted many menu classes for this parameter

Hope it' works fine. If you find any menu without  a 'memory', please add an index.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1908 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-11-25 23:48:18 +00:00
seife
fa21d0d59f neutrino: apply HDD settings without blocking
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1826 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-11-05 11:46:24 +00:00
thilo
5edda28b5d *neutrino hdd_menu: remove dup include
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1729 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-10-01 21:12:24 +00:00
seife
1c828f328d hdd_menu: don't segfault if /sys is not mounted
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1111 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-02-05 11:09:28 +00:00
satbaby
0283037fac -fix memleak hdd menu
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1020 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-01-08 19:39:05 +00:00
satbaby
dfaf4ff485 -fix disk name
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1019 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-01-08 19:04:09 +00:00
thilo
f5bbb8d0f2 drive-setup: hdd settings menu adapted, it looks now a little bit more
like the original, but it's still not what I imagine e.g. :
device settings should not be available for removable devices but should only
be visible, if the user has selected a hdd device
and also should  be able to manage network shares on network drives
...a lot todo

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1016 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-01-08 14:33:23 +00:00
thilo
d2c13abd48 hdd_menu: use addIntroItems() to generate menu head (because of missing GenericMenuSeparator)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@959 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-12-23 23:38:55 +00:00
thilo
f73c6ec222 port: use own modules for record and network setup
- changes on locales
- moved functions int safe_mkdir() and int check_dir from neutrino.cpp into settings_helper.cpp/
- /gui/makefile.am: added network_setup.cpp and record_setup.cpp
- small whitespace clean ups and useles comments removed
- TODO: Filename Templates in record settings

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@958 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-12-23 22:43:55 +00:00
striper
a04a4986ea - add a comment because of missing -M parameter in busybox hdparm
- even wider window

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@918 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-11-30 17:00:31 +00:00
seife
b1fefb0e60 hdd_menu: do not allow to wipe the drive the root fs is on
If the root FS is on a HDD, disable the HDD menu for this disk.
As long as we always repartition / reformat the whole drive, this
is the best way to avoid people shooting themselves in the foot.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@887 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-11-06 22:24:48 +00:00
seife
a84a7d6083 hdd_menu: make it work with sfdisk and fdisk
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@886 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-11-06 22:15:26 +00:00
seife
874b74e8d6 hdd_menu: apply hdparm on all drives
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@885 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-11-06 22:15:24 +00:00
seife
ae953125d3 hdd_menu: fix memleak in menu setup
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@884 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-11-06 22:15:22 +00:00
satbaby
f493a3bf3a wide window
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@880 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-11-02 07:15:42 +00:00
seife
3aaac8a92c hdd_menu: fix progress reporting for HDD formatting routine
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@876 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-10-31 20:45:09 +00:00
seife
205c410487 hdd_menu: remove extraneous '\n' (thanks Miky1968)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@875 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-10-31 18:12:45 +00:00
satbaby
e0403071de -fix delayed shutdown
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@723 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-08-15 08:49:37 +00:00
mws
1b13da2617 Mark unused vars as comment
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@104 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-21 16:23:09 +00:00
satbaby
8402248f8e fix Resource leak
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@31 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-08 16:13:46 +00:00
mrcolor
bc5bd4154e our current experimental Neutrino branch
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@27 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-08 11:05:11 +00:00