George Vlahavas
bf30e3aff1
Rename iterator variables
Use more descriptive names for some iterator variables. Easier to
understand the code this way.
9 years ago
George Vlahavas
202233d910
Move classes to the top, add some comments
Move the class definitions towards the top of the file and also add some
comments describing what each class does.
9 years ago
George Vlahavas
c3c0154769
Add App and MenuCategory classes
Use classes instead of clumsy lists for passing data around. Makes for
much more readable code.
9 years ago
George Vlahavas
1399f0b6d7
Refactor to use the MenuEntry class better
A more sane way to use the MenuEntry class
9 years ago
George Vlahavas
66ef18f89f
Add message about generating manpage
Show a message that informs what's being done when running "make".
9 years ago
George Vlahavas
de5fb49eb1
Better text wrapping
Keeps (almost) everything within 79 chars.
9 years ago
George Vlahavas
dd85935a78
Replace tabbed intentation with spaces
PEP8 compliance. Also add instructions for vim at the top of the file to follow these.
9 years ago
George Vlahavas
e214b54c5e
Use the print function from __future__
This should make it easier to port to python3 later
9 years ago
George Vlahavas
f3ef55834a
State utf8 encoding
State that the file is utf8 encoded at the top of the file. Makes good
practice.
9 years ago
George Vlahavas
6dcfbec3c5
Add trailing backspaces
Doesn't work with out them...
9 years ago
George Vlahavas
4dbac413da
Put desktop-directories in a custom PREFIX
When installing with "make install" use the PREFIX variable to determine
the location of desktop-directories as well. It goes under
PREFIX/share/desktop-directories
If xdgmenumaker is run in-place, it looks for it in
../desktop-directories
as it should be in the source directory tree.
9 years ago
George Vlahavas
02062243bc
Update system category translations
9 years ago
George Vlahavas
50badfb0e3
Update other category translations
9 years ago
George Vlahavas
4b0fda66f3
Update office category translations
9 years ago
George Vlahavas
218bd4c6a0
Update graphics category translations
9 years ago
George Vlahavas
11b14b3518
Update games category translations
9 years ago
George Vlahavas
621e08c66c
Merge branch 'master' of github.com:gapan/xdgmenumaker
9 years ago
George Vlahavas
b01492403f
Update education category with new translations
9 years ago
George Vlahavas
66771426fd
Merge pull request #4 from rezso/patch-1
Fix manual installation
9 years ago
rezso
e28b7ebee2
Fix manual installation
man/xdgmenumaker.man not created, the manual never installed
9 years ago
George Vlahavas
c19c063d6f
Restore Version and Encoding fields
9 years ago
George Vlahavas
cf1e5cbd75
Update accessories category translations
9 years ago
George Vlahavas
b439dc6099
Update applications category translations
9 years ago
George Vlahavas
99ed4c4da1
Better wrapping of help screen
Manually wrap the --help message to 79 characters.
9 years ago
George Vlahavas
e558aff390
Better syntax for if statement
9 years ago
George Vlahavas
de13b106f2
Remove reduntant globals
No need for declaring these variables as globals in these functions.
Values are only read in there, not modified.
9 years ago
George Vlahavas
5c9423db02
Remove unnecessary comparisons with True
It's more pythonic to not have actual equality tests for True.
9 years ago
George Vlahavas
63258cdc97
Use markdown italics properly
10 years ago
George Vlahavas
edf5c451f6
Wrap config filenames with verbatim quotes
Use verbatim quotes when referring to configuration files in the text.
10 years ago
George Vlahavas
a1ff1d6d21
Rename README to README.md
10 years ago
George Vlahavas
51c2df2f65
Convert README to markdown
Use markdown formatting for README file.
10 years ago
George Vlahavas
aecf3fadb3
Rename INSTALL file to INSTALL.md
The installation instructions file is formatted with markdown, so why
not have the correct extension.
10 years ago
George Vlahavas
c7c6b967e5
Update installation instructions
Update the INSTALL file with updated instructions for using the
Makefile.
10 years ago
George Vlahavas
6c075e4903
Replace installation script with standard Makefile
Create a standard Makefile that replaces the non-standard installation
script.
10 years ago
George Vlahavas
7a6984a6ba
Mention --size in man page
11 years ago
George Vlahavas
fd6123eca6
Add --size command line option
Add a --size (or -s) command line option that sets the preferred icon
size.
11 years ago
George Vlahavas
6f7b96748c
Update --help message
11 years ago
George Vlahavas
0bb7926e68
Update README and man page with better JWM instructions
11 years ago
George Vlahavas
7020301437
Mention JWM in the README 1st section
11 years ago
George Vlahavas
65233f88b2
Add another comment for JWM static menus
11 years ago
George Vlahavas
bdd5da2ede
Add info about JWM in README
11 years ago
George Vlahavas
b3a162c406
Add JWM info in manpage
11 years ago
George Vlahavas
da8ccd9fd1
Add support for JWM
11 years ago
George Vlahavas
377c636658
Fix option description
Instead of mentioning which WMs each option supports, mention which ones
it doesn't (only windowmaker for now).
11 years ago
George Vlahavas
ba437ee0de
Force the use of tuple when parsing --pekwm-dynamic
11 years ago
George Vlahavas
de0ba95300
Mention pekwm in the README 1st section
11 years ago
George Vlahavas
3fc124a148
Add pekwm section in README
11 years ago
George Vlahavas
ea7e7909d1
man page fixes
Fix spacing, turn several bold blocks to verbatim blocks and fix some typos.
11 years ago
George Vlahavas
801462e341
Add a manpage section about pekwm
11 years ago
George Vlahavas
9b6d63bd74
Add support for pekwm dynamic menus
Add a --pekwm-dynamic command line option that allows using xdgmenumaker
for creating dynamic menus for pekwm.
11 years ago