author | drw <drw> | 2005-04-05 22:33:33 (UTC) |
---|---|---|
committer | drw <drw> | 2005-04-05 22:33:33 (UTC) |
commit | b9730df31f0941857a4f2cbe3507231e49897f09 (patch) (unidiff) | |
tree | 65fc1d59e884101461faae59f7ab459a708ce33a | |
parent | 325468799b10b9c098029f29ebf05b4da28da768 (diff) | |
download | opie-b9730df31f0941857a4f2cbe3507231e49897f09.zip opie-b9730df31f0941857a4f2cbe3507231e49897f09.tar.gz opie-b9730df31f0941857a4f2cbe3507231e49897f09.tar.bz2 |
Don't append file extension for images
-rw-r--r-- | core/settings/launcher/launchersettings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/settings/launcher/launchersettings.cpp b/core/settings/launcher/launchersettings.cpp index 5efd297..7849d4c 100644 --- a/core/settings/launcher/launchersettings.cpp +++ b/core/settings/launcher/launchersettings.cpp | |||
@@ -1,80 +1,80 @@ | |||
1 | 1 | ||
2 | /* | 2 | /* |
3 | =. This file is part of the OPIE Project | 3 | =. This file is part of the OPIE Project |
4 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> | 4 | .=l. Copyright (c) 2002 Robert Griebl <sandman@handhelds.org> |
5 | .>+-= | 5 | .>+-= |
6 | _;:, .> :=|. This file is free software; you can | 6 | _;:, .> :=|. This file is free software; you can |
7 | .> <`_, > . <= redistribute it and/or modify it under | 7 | .> <`_, > . <= redistribute it and/or modify it under |
8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 8 | :`=1 )Y*s>-.-- : the terms of the GNU General Public |
9 | .="- .-=="i, .._ License as published by the Free Software | 9 | .="- .-=="i, .._ License as published by the Free Software |
10 | - . .-<_> .<> Foundation; either version 2 of the License, | 10 | - . .-<_> .<> Foundation; either version 2 of the License, |
11 | ._= =} : or (at your option) any later version. | 11 | ._= =} : or (at your option) any later version. |
12 | .%`+i> _;_. | 12 | .%`+i> _;_. |
13 | .i_,=:_. -<s. This file is distributed in the hope that | 13 | .i_,=:_. -<s. This file is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 15 | : .. .:, . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General |
18 | ..}^=.= = ; Public License for more details. | 18 | ..}^=.= = ; Public License for more details. |
19 | ++= -. .` .: | 19 | ++= -. .` .: |
20 | : = ...= . :.=- You should have received a copy of the GNU | 20 | : = ...= . :.=- You should have received a copy of the GNU |
21 | -. .:....=;==+<; General Public License along with this file; | 21 | -. .:....=;==+<; General Public License along with this file; |
22 | -_. . . )=. = see the file COPYING. If not, write to the | 22 | -_. . . )=. = see the file COPYING. If not, write to the |
23 | -- :-=` Free Software Foundation, Inc., | 23 | -- :-=` Free Software Foundation, Inc., |
24 | 59 Temple Place - Suite 330, | 24 | 59 Temple Place - Suite 330, |
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include <qlayout.h> | 29 | #include <qlayout.h> |
30 | 30 | ||
31 | #include <opie2/otabwidget.h> | 31 | #include <opie2/otabwidget.h> |
32 | 32 | ||
33 | #include "launchersettings.h" | 33 | #include "launchersettings.h" |
34 | #include "tabssettings.h" | 34 | #include "tabssettings.h" |
35 | #include "menusettings.h" | 35 | #include "menusettings.h" |
36 | #include "taskbarsettings.h" | 36 | #include "taskbarsettings.h" |
37 | #include "inputmethodsettings.h" | 37 | #include "inputmethodsettings.h" |
38 | #include "doctabsettings.h" | 38 | #include "doctabsettings.h" |
39 | 39 | ||
40 | using namespace Opie::Ui; | 40 | using namespace Opie::Ui; |
41 | LauncherSettings::LauncherSettings (QWidget*,const char*, WFlags) | 41 | LauncherSettings::LauncherSettings (QWidget*,const char*, WFlags) |
42 | : QDialog ( 0, "LauncherSettings", false, WStyle_ContextHelp ) | 42 | : QDialog ( 0, "LauncherSettings", false, WStyle_ContextHelp ) |
43 | { | 43 | { |
44 | setCaption ( tr( "Launcher Settings" )); | 44 | setCaption ( tr( "Launcher Settings" )); |
45 | 45 | ||
46 | QVBoxLayout *lay = new QVBoxLayout ( this, 4, 4 ); | 46 | QVBoxLayout *lay = new QVBoxLayout ( this, 4, 4 ); |
47 | 47 | ||
48 | OTabWidget *tw = new OTabWidget ( this, "otab" ); | 48 | OTabWidget *tw = new OTabWidget ( this, "otab" ); |
49 | lay-> addWidget ( tw ); | 49 | lay-> addWidget ( tw ); |
50 | 50 | ||
51 | m_tabs = new TabsSettings ( tw ); | 51 | m_tabs = new TabsSettings ( tw ); |
52 | m_taskbar = new TaskbarSettings ( tw ); | 52 | m_taskbar = new TaskbarSettings ( tw ); |
53 | m_menu = new MenuSettings ( tw ); | 53 | m_menu = new MenuSettings ( tw ); |
54 | m_imethods = new InputMethodSettings ( tw ); | 54 | m_imethods = new InputMethodSettings ( tw ); |
55 | m_doctab = new DocTabSettings ( tw ); | 55 | m_doctab = new DocTabSettings ( tw ); |
56 | 56 | ||
57 | tw-> addTab ( m_taskbar, "wait", tr( "Taskbar" )); | 57 | tw-> addTab ( m_taskbar, "wait", tr( "Taskbar" )); |
58 | tw-> addTab ( m_menu, "go", tr( "O-Menu" )); | 58 | tw-> addTab ( m_menu, "go", tr( "O-Menu" )); |
59 | tw-> addTab ( m_tabs, "launchersettings/tabstab.png", tr( "Tabs" )); | 59 | tw-> addTab ( m_tabs, "launchersettings/tabstab", tr( "Tabs" )); |
60 | tw-> addTab ( m_imethods, "launchersettings/inputmethod.png", tr( "InputMethods" )); | 60 | tw-> addTab ( m_imethods, "launchersettings/inputmethod", tr( "InputMethods" )); |
61 | tw-> addTab ( m_doctab, "DocsIcon", tr( "DocTab" ) ); | 61 | tw-> addTab ( m_doctab, "DocsIcon", tr( "DocTab" ) ); |
62 | tw-> setCurrentTab ( m_taskbar ); | 62 | tw-> setCurrentTab ( m_taskbar ); |
63 | } | 63 | } |
64 | 64 | ||
65 | void LauncherSettings::accept ( ) | 65 | void LauncherSettings::accept ( ) |
66 | { | 66 | { |
67 | m_taskbar-> accept ( ); | 67 | m_taskbar-> accept ( ); |
68 | m_menu-> accept ( ); | 68 | m_menu-> accept ( ); |
69 | m_tabs-> accept ( ); | 69 | m_tabs-> accept ( ); |
70 | m_imethods-> accept ( ); | 70 | m_imethods-> accept ( ); |
71 | m_doctab-> accept ( ); | 71 | m_doctab-> accept ( ); |
72 | 72 | ||
73 | QDialog::accept ( ); | 73 | QDialog::accept ( ); |
74 | } | 74 | } |
75 | 75 | ||
76 | void LauncherSettings::done ( int r ) | 76 | void LauncherSettings::done ( int r ) |
77 | { | 77 | { |
78 | QDialog::done ( r ); | 78 | QDialog::done ( r ); |
79 | close ( ); | 79 | close ( ); |
80 | } | 80 | } |