diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2013-03-05 23:17:54 +0100 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2013-03-05 23:17:54 +0100 |
commit | 30c805f5e7fe79c465077cecd05d0afafe79dc68 (patch) | |
tree | 3a7993e925d7910f1c6692b9c961b5a4c79fc3e9 /src | |
parent | Makefile.am: Fix missing files when generating tarball. (diff) | |
download | redshift-ng-30c805f5e7fe79c465077cecd05d0afafe79dc68.tar.gz redshift-ng-30c805f5e7fe79c465077cecd05d0afafe79dc68.tar.bz2 redshift-ng-30c805f5e7fe79c465077cecd05d0afafe79dc68.tar.xz |
Rename gtk-redshift -> redshift-gtk.
This is primarily for improved discovery. Some users report that they didn't know about redshift-gtk, but had it been available on tab completion they would have noticed. Also, I think it is in general good practice that closely related programs have the same prefix.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/redshift-gtk/Makefile.am (renamed from src/gtk-redshift/Makefile.am) | 8 | ||||
-rw-r--r-- | src/redshift-gtk/__init__.py (renamed from src/gtk-redshift/__init__.py) | 2 | ||||
-rw-r--r-- | src/redshift-gtk/defs.py.in (renamed from src/gtk-redshift/defs.py.in) | 0 | ||||
-rw-r--r-- | src/redshift-gtk/redshift-gtk (renamed from src/gtk-redshift/gtk-redshift) | 4 | ||||
-rw-r--r-- | src/redshift-gtk/statusicon.py (renamed from src/gtk-redshift/statusicon.py) | 0 | ||||
-rw-r--r-- | src/redshift-gtk/utils.py (renamed from src/gtk-redshift/utils.py) | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 6c4a613..ccf5108 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,5 @@ -SUBDIRS = gtk-redshift +SUBDIRS = redshift-gtk # I18n localedir = $(datadir)/locale diff --git a/src/gtk-redshift/Makefile.am b/src/redshift-gtk/Makefile.am index bb69459..10242ea 100644 --- a/src/gtk-redshift/Makefile.am +++ b/src/redshift-gtk/Makefile.am @@ -1,14 +1,14 @@ if ENABLE_GUI -gtk_redshift_PYTHON = \ +redshift_gtk_PYTHON = \ __init__.py \ utils.py \ statusicon.py -nodist_gtk_redshift_PYTHON = \ +nodist_redshift_gtk_PYTHON = \ defs.py -gtk_redshiftdir = $(pythondir)/gtk_redshift +redshift_gtkdir = $(pythondir)/redshift_gtk -dist_bin_SCRIPTS = gtk-redshift +dist_bin_SCRIPTS = redshift-gtk endif EXTRA_DIST = defs.py.in diff --git a/src/gtk-redshift/__init__.py b/src/redshift-gtk/__init__.py index 0e4f254..e8a14af 100644 --- a/src/gtk-redshift/__init__.py +++ b/src/redshift-gtk/__init__.py @@ -1,4 +1,4 @@ -# __init__.py -- gtk-redshift package __init__ file +# __init__.py -- redshift-gtk package __init__ file # This file is part of Redshift. # Redshift is free software: you can redistribute it and/or modify diff --git a/src/gtk-redshift/defs.py.in b/src/redshift-gtk/defs.py.in index 026fefd..026fefd 100644 --- a/src/gtk-redshift/defs.py.in +++ b/src/redshift-gtk/defs.py.in diff --git a/src/gtk-redshift/gtk-redshift b/src/redshift-gtk/redshift-gtk index 56d940e..3ec3010 100644 --- a/src/gtk-redshift/gtk-redshift +++ b/src/redshift-gtk/redshift-gtk @@ -1,5 +1,5 @@ #!/usr/bin/env python -# gtk-redshift -- GTK+ Redshift launcher script +# redshift-gtk -- GTK+ Redshift launcher script # This file is part of Redshift. # Redshift is free software: you can redistribute it and/or modify @@ -19,5 +19,5 @@ if __name__ == '__main__': - from gtk_redshift.statusicon import run + from redshift_gtk.statusicon import run run() diff --git a/src/gtk-redshift/statusicon.py b/src/redshift-gtk/statusicon.py index da35896..da35896 100644 --- a/src/gtk-redshift/statusicon.py +++ b/src/redshift-gtk/statusicon.py diff --git a/src/gtk-redshift/utils.py b/src/redshift-gtk/utils.py index 2fd3b71..723d4d8 100644 --- a/src/gtk-redshift/utils.py +++ b/src/redshift-gtk/utils.py @@ -21,7 +21,7 @@ import os from xdg import BaseDirectory as base from xdg import DesktopEntry as desktop -REDSHIFT_DESKTOP = 'gtk-redshift.desktop' +REDSHIFT_DESKTOP = 'redshift-gtk.desktop' # Keys to set when enabling/disabling autostart. # Only first one is checked on "get". |