Skip to content

Commit

Permalink
settings: Rename modules to use lower_case format
Browse files Browse the repository at this point in the history
The is suggested by python naming guidelines (PEP-8).
  • Loading branch information
p12tic committed Nov 30, 2013
1 parent 5ac1ecc commit 6468b8b
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -39,7 +39,7 @@ py-compile
stamp-h1
applet-activation/awn-applet
applets/quick-prefs/applet.c
awn-settings/awnDefs.py
awn-settings/awn_defs.py
bindings/python/awn.c
data/avant-window-navigator.schema-ini.in
debian/*.debhelper.log
Expand Down
8 changes: 4 additions & 4 deletions awn-settings/Makefile.am
Expand Up @@ -5,13 +5,13 @@ include $(top_srcdir)/Makefile.app-icons
include $(top_srcdir)/Makefile.desktop-files

python_files = \
awnClass.py \
awnSettingsHelper.py \
awnSettings.py \
awn_class.py \
awn_settings_helper.py \
awn_settings.py \
$(NULL)

generated_python_files = \
awnDefs.py \
awn_defs.py \
awn_settings_launcher.py \
$(NULL)

Expand Down
2 changes: 1 addition & 1 deletion awn-settings/awnClass.py → awn-settings/awn_class.py
Expand Up @@ -43,7 +43,7 @@
from xdg.DesktopEntry import DesktopEntry

import awn
import awnDefs as defs
import awn_defs as defs
from desktopagnostic import config
from desktopagnostic import vfs
from desktopagnostic.config import GROUP_DEFAULT
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions awn-settings/awnSettings.py → awn-settings/awn_settings.py
Expand Up @@ -42,14 +42,14 @@

from ConfigParser import ConfigParser
#from awnTheme import AwnThemeManager
from awnClass import awnPreferences, awnManager, awnLauncher, awnApplet, awnThemeCustomize, awnTaskManager
from awn_class import awnPreferences, awnManager, awnLauncher, awnApplet, awnThemeCustomize, awnTaskManager
#from awnApplet import awnApplet
#from awnLauncher import awnLauncher

import awn
import awnDefs as defs
import awn_defs as defs

from awnSettingsHelper import set_panel_glow, bind_to_gtk_component
from awn_settings_helper import set_panel_glow, bind_to_gtk_component

from desktopagnostic import config
from desktopagnostic import vfs
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion awn-settings/awn_settings_launcher.py.in
Expand Up @@ -30,7 +30,7 @@ if PLAT_PKG not in sys.path:
if SITE_PKG not in sys.path:
sys.path = [SITE_PKG] + sys.path

from awnSettings import main
from awn_settings import main

if __name__ == "__main__":
main(sys.argv[1:])
8 changes: 4 additions & 4 deletions awn.files
Expand Up @@ -94,10 +94,10 @@ awn-settings/awn-settings.desktop.in
awn-settings/awn-settings.png
awn-settings/awn-settings.svg
awn-settings/awn-settings.ui
awn-settings/awnClass.py
awn-settings/awnDefs.py.in
awn-settings/awnSettings.py
awn-settings/awnSettingsHelper.py
awn-settings/awn_class.py
awn-settings/awn_defs.py.in
awn-settings/awn_settings.py
awn-settings/awn_settings_helper.py
awn-settings/awn_settings_launcher.py.in
awn.config
awn.creator
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -203,7 +203,7 @@ applets/taskmanager/Makefile
applets/taskmanager/taskmanager.desktop.in
awn.pc
awn-settings/Makefile
awn-settings/awnDefs.py
awn-settings/awn_defs.py
awn-settings/awn_settings_launcher.py
bindings/python/Makefile
bindings/python/__init__.py
Expand Down
4 changes: 2 additions & 2 deletions po/POTFILES.in
Expand Up @@ -10,8 +10,8 @@ applets/separator/separator.desktop.in.in
applets/simple-launcher/simple-launcher.desktop.in.in
awn-settings/awn-settings.desktop.in
[type: gettext/glade]awn-settings/awn-settings.ui
awn-settings/awnClass.py
awn-settings/awnSettings.py
awn-settings/awn_class.py
awn-settings/awn_settings.py
bindings/python/__init__.py.in
data/avant-window-navigator.desktop.in
[type: gettext/ini]data/avant-window-navigator.schema-ini.in.in
Expand Down

0 comments on commit 6468b8b

Please sign in to comment.