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.
This commit is contained in:
Jon Lund Steffensen
2013-03-05 23:17:54 +01:00
parent 7346a69f62
commit 30c805f5e7
14 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -26,10 +26,10 @@ Once running, redshift currently doesn't check location providers
again.
gtk-redshift
redshift-gtk
------------
gtk-redshift is a small program written in Python that shows a status
redshift-gtk is a small program written in Python that shows a status
icon (what is an appindicator versus a GTK status icon?) (does it
change the icon according to internal program state of redshift?
doesn't seem so) and run an instance of the "redshift" program, and
+1 -1
View File
@@ -20,7 +20,7 @@ prefix directory run:
You can now run the python scripts. Example:
$ PYTHONHOME=$HOME/redshift/root/lib/python2.7/site-packages \
$HOME/redshift/root/bin/gtk-redshift
$HOME/redshift/root/bin/redshift-gtk
Notes
+1 -1
View File
@@ -16,7 +16,7 @@ _UBUNTU_MONO_LIGHT_FILES = \
data/icons/ubuntu-mono-light/scalable/apps/redshift-status-off.svg
_DESKTOP_FILES = \
data/applications/gtk-redshift.desktop
data/applications/redshift-gtk.desktop
# Icons
if ENABLE_GUI
+1 -1
View File
@@ -7,7 +7,7 @@ your surroundings. This may help your eyes hurt less if you are
working in front of the screen at night.
Run `redshift -h' for help on command line options. You can run the program
as `gtk-redshift' instead of 'redshift' for a graphical status icon.
as `redshift-gtk' instead of 'redshift' for a graphical status icon.
Website: http://jonls.dk/redshift/
Project page: http://launchpad.net/redshift
+1 -1
View File
@@ -204,7 +204,7 @@ AC_CONFIG_FILES([
Makefile
po/Makefile.in
src/Makefile
src/gtk-redshift/Makefile
src/redshift-gtk/Makefile
])
AC_OUTPUT
@@ -3,7 +3,7 @@ Version=1.0
Name=Redshift
GenericName=Color temperature adjustment
Comment=Color temperature adjustment tool
Exec=gtk-redshift
Exec=redshift-gtk
Icon=redshift
Terminal=false
Type=Application
+1 -1
View File
@@ -11,4 +11,4 @@ src/gamma-w32gdi.c
src/location-gnome-clock.c
src/location-manual.c
src/gtk-redshift/statusicon.py
src/redshift-gtk/statusicon.py
+1 -1
View File
@@ -1,5 +1,5 @@
SUBDIRS = gtk-redshift
SUBDIRS = redshift-gtk
# I18n
localedir = $(datadir)/locale
@@ -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
@@ -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
@@ -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()
@@ -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".