1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-07-04 21:05:27 +03:00
Commit Graph

186 Commits

Author SHA1 Message Date
Ayla
6cb7ce1c0b Fixed the renameSection() and deleteSection() functions to use the new directories. The sections can now be renamed and deleted. 2011-04-14 12:08:10 +02:00
Ayla
d0a24ac5ce Merge branch 'install_locations' of projects.qi-hardware.com:gmenu2x into install_locations 2011-04-14 11:26:24 +02:00
Ayla
6c97139113 The FileLister won't list a file if a previous one has the same file name (without path).
This is useful when the files/directories lists are not cleared; then it is possible to define priorities between the files.
For instance, the skin "Default" will be shown only once, even if the directory "Default" exists both in the system and the user directories.
As the skin and translation loading functions does check both directories, there is no problem in doing that.
2011-04-14 11:16:16 +02:00
Maarten ter Huurne
23042f3122 Cleaned up link flags.
Use the flags found by "configure" and nothing more.
The hardcoded "-lpng12" broke linking with libpng 1.4.
2011-04-13 03:36:47 +02:00
Maarten ter Huurne
8995a3c196 Added missing #include.
Fixes compile error when compiling with GCC 4.5.1.
2011-04-13 01:51:23 +02:00
Ayla
f10bb60717 Merge branch 'master' into install_locations 2011-04-12 13:25:00 +02:00
Ayla
ba9fef5c42 The locale configuration will now be saved. 2011-04-12 13:24:35 +02:00
Ayla
12a7fe4e95 The user skin directories were not created when saving the skin.conf file; Thus it was never saved. 2011-04-12 10:19:00 +02:00
Ayla
f2b34f383b The wallpapers will now be loaded from the system and the user-specific skin directories. 2011-04-12 10:18:10 +02:00
Ayla
f4b03108c1 The "configure skin" will now list all the skins present on the system and the user-specific directories. 2011-04-12 10:16:28 +02:00
Ayla
c18c230f7a The translations can now be located on the system directory, or on the user-specific directory.
The language selector on gmenu2x's settings will list the languages present on both directories.
2011-04-12 09:59:32 +02:00
Ayla
301e16e8ee Define a default wallpaper path, that will be chosen if no wallpaper is defined on the config. 2011-04-03 11:49:00 +02:00
Ayla
fe25cf341d The skin images will now be loaded using SurfaceCollection::getSkinFilePath(). 2011-04-03 11:45:35 +02:00
Ayla
114fe594d0 The sections directories shall now be found under the user-specific directory. 2011-04-03 11:44:08 +02:00
Ayla
8336c83129 If the "sections/" directory is missing, we create it as well as some default sections (settings, applications...). 2011-04-03 11:34:40 +02:00
Ayla
d8204706d7 The method FileLister::browse() now takes an optional boolean argument.
If set to "false", the previous list of files/directories won't be cleared when browsing another directory.
It will allow us to have file choosers that list files contained on different directories.
2011-04-03 11:30:25 +02:00
Ayla
3db5844f3c The function SurfaceCollection::getSkinPath() will return the path of a skin directory from its name given as a parameter. 2011-03-30 16:15:09 +02:00
Ayla
02b54d38a3 Overloaded the function SurfaceCollection::getSkinFilePath(), so that it can also be called with a skin as parameter. 2011-03-30 16:15:09 +02:00
Ayla
d59b713e9b Rewrote the function SurfaceCollection::getSkinFilePath() so that it'll search inside the right directories. 2011-03-30 16:15:09 +02:00
Ayla
ead9706ffd The skin.conf file will now be loaded/written from/to the user-specific directory.
It will also be loaded from the system dir if missing on the user-specific directory
(For instance, when using a default theme of gmenu2x).
2011-03-30 16:15:09 +02:00
Ayla
cf42f7d192 The gmenu2x.conf file is now located on the user-specific directory.
If inexistant, it will be written as soon as the configuration is changed.
2011-03-30 16:15:09 +02:00
Ayla
83d6b954fb The input.conf file will now be loaded from the user-specific directory or if missing, from the system directory. 2011-03-30 16:15:08 +02:00
Ayla
8693dff072 Added a static function GMenu2X::getHome() that returns GMenu2X's user-specific directory (usually ~/.gmenu2x). 2011-03-30 16:14:03 +02:00
Ayla
758b7b183c The GMENU2X_SYSTEM_DIR macro on gmenu2x.h now contains the installation path of GMenu2X (default: /usr/share/gmenu2x). 2011-03-30 16:13:26 +02:00
Ayla
ec000e0214 Changed an error message, that was displaying "Error:" twice. Plus, it now more meaningful. 2011-03-30 15:44:32 +02:00
kyak
bbda0d9cf8 add tclsh icon 2011-02-23 12:38:14 +03:00
kyak
8cc1b02e8f add icon for qstardict 2011-02-23 12:21:38 +03:00
Xiangfu Liu
ffa28acf78 new icon: qstardict 2011-02-23 10:40:49 +08:00
Xiangfu Liu
f5820b6c6d mv pyclock to applications section 2011-02-23 09:53:48 +08:00
Xiangfu Liu
0807b1b70d byobu, fix touch path 2011-02-23 09:53:48 +08:00
kyak
b218991cb9 freedroid: add icon 2011-02-22 20:35:35 +03:00
Xiangfu Liu
3ab2a4f6cf touch utmp for byobu, add -b ~/ ~/ to mc params 2011-02-22 12:14:39 +08:00
David Kühling
5300921fab gmenu2x: make console the foreground console before launching applications
Emacs didn't like how it was launched before
2011-02-21 23:54:07 +01:00
Xiangfu Liu
e9c58f5114 screen, add icon 2011-02-22 00:19:36 +08:00
Xiangfu Liu
30cd9fdc7b add hnb icon, add snownews icon 2011-02-21 23:43:50 +08:00
Xiangfu Liu
81900046d3 add -q to freedroid 2011-02-21 23:22:31 +08:00
David Kühling
58eae74c31 add octave icon 2011-02-15 23:13:00 +01:00
David Kühling
f1c4bd8110 add launcher for Octave 2011-02-15 23:00:09 +01:00
David Kühling
bd8ee72263 use gforth.png icon for gforth 2011-02-15 22:58:46 +01:00
Xiangfu Liu
bb826e0cdf add recently new package icons 2011-02-15 16:14:10 +08:00
kyak
6dc9b3fbb0 gmenu2x: add supertux launcher 2011-02-14 17:33:04 +03:00
David Kühling
63f462caa5 add icon for brainless (launched in utf-8 graphics mode in a jfbterm) 2011-02-13 12:37:07 +01:00
kyak
db48e7387d gmenu2x: load unicode mapping file at start
needed for unicode box drawing characters
2011-02-12 23:04:22 +03:00
David Kühling
b500059b9e add icon for sokoban game: an example included with gforth 2011-02-12 14:38:17 +01:00
David Kühling
d43223c60d add shortcut for dunnet: emacs built in text adventure, run in batch mode 2011-02-12 14:18:49 +01:00
David Kühling
766824f943 add icon for gnuplot 2011-02-09 23:06:40 +01:00
David Kühling
d5cef5b67e add icon for zgv 2011-02-09 22:50:28 +01:00
kyak
b891febe08 links2: add gmenu2x icon 2011-02-09 20:55:41 +03:00
bartbes
c619594888 Backgammon launcher now uses backgammon.sh 2011-02-01 19:10:16 +01:00
Xiangfu Liu
1d8fe2cc3d add some sections 2011-01-28 15:51:27 +08:00