aboutsummaryrefslogtreecommitdiffstats
path: root/src/redshift-gtk (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-11-15Fallback if AppIndicator3 req. version unavailableJavier Cantero1-1/+1
Catch in the except block the case when the required version of Appindicator3 is not available to also fallback in GtkStatusIcon widget.
2015-11-14Also specify required AppIndicator3 versionJavier Cantero1-0/+1
Avoid another GObject Introspection warning in redshift-gtk by providing the required version of AppIndicator3 before import it.
2015-11-03Specify required Gtk versionChristian Stadelmann1-0/+3
This fixes a warning when starting redshift-gtk with gtk 3.18.
2014-12-21redshift-gtk: Split status icon into controller and interfaceJon Lund Steffensen1-169/+259
This splits the user interface into, RedshiftController, a GObject subclass that takes care of starting and interacting with the child process, and RedshiftStatusIcon providing the actual user interface.
2014-12-18redshift-gtk: Add docstrings in statusicon moduleJon Lund Steffensen1-2/+46
2014-12-18redshift-gtk: Ignore exception in termwait when child is goneJon Lund Steffensen1-2/+6
The termwait method is used to wait until the child process has quit. Previously this would fail with an exception if the child has already quit. This is now ignored.
2014-12-18redshift-gtk: Remove unnecessary semi-colons at end-of-lineJon Lund Steffensen1-4/+4
2014-12-18redshift-gtk: Show errors from child process in a dialogJon Lund Steffensen1-4/+19
This dialog is shown whenever the child process exits with a non-zero status. The error output from stderr of the child process is buffered in redshift-gtk in case the child exits unexpectedly.
2014-12-06redshift-gtk: Relay USR1 signal to redshift processJon Lund Steffensen1-1/+8
This also adds SIGINT to the signals handled by redshift-gtk.
2014-11-04redshift-gtk: Forward errors from child to stderrJon Lund Steffensen1-2/+13
This requires that the stderr (and stdout) are emptied when the child process exits, otherwise redshift-gtk will exit before the error output is forwarded. Also, the '-v' parameter is moved to the beginning of the command line to avoid error output including this (e.g. `redshift-gtk -l` would complain about the missing location provided `-v`).
2014-11-03Fix #112: Do not buffer lines from child indefinitelyJon Lund Steffensen1-2/+3
2014-08-16Fix #90: Print N/S and E/W in the locationMattias Andrée1-1/+1
2014-05-08redshift-gtk: Notify desktop about startup completionJon Lund Steffensen1-1/+4
2014-04-20Fix line splitting logic.Maks Verver1-3/+4
2014-04-20Fix #66: Do not distribute redshift-gtk, only redshift-gtk.inJon Lund Steffensen1-1/+1
2014-04-20redshift-gtk: Fix crash when toggling state using the status iconJon Lund Steffensen1-1/+5
2014-04-19Fix line splitting logic.Maks Verver1-3/+4
2014-04-13Fix #66: Do not distribute redshift-gtk, only redshift-gtk.inJon Lund Steffensen1-1/+1
2014-04-11redshift-gtk: Fix crash when toggling state using the status iconJon Lund Steffensen1-1/+5
2014-03-23[redshift-gtk] Add BSD support to proc title settingPhilipp Hagemeister1-9/+20
2014-03-23Fix #40: redshift-gtk: toggle_item is checkbox that follows the iconMattias Andrée1-6/+8
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-03-17[gtk] Set proc titlePhilipp Hagemeister2-0/+17
Try to set the process title during startup. Before, redshift-gtk appeared as a python process. This change enables `pgrep redshift-gtk` or `killall redshift-gtk`.
2014-01-01Fix PyGI deprecated warningsTingPing1-12/+12
2014-01-01Port redshift-gtk to Python3TingPing3-8/+15
Python 2 is no longer supported
2013-12-12Make redshift-gtk read output of the redshift child process.Jon Lund Steffensen1-103/+250
This allows redshift-gtk to show the current state of the redshift process. redshift-gtk follows the enable state of redshift and toggles the icon accordingly. The implementation is changed to use glib to spawn the child process instead of relying on python subprocess module. This is necessary because of inflexibility in the python module.
2013-12-11redshift-gtk: Use new GIR Gtk/Glib/AppIndicator bindingsJon Lund Steffensen1-26/+24
2013-12-10redshift-gtk: Make custom rule in Makefile.am silentJon Lund Steffensen1-1/+1
2013-03-05Rename gtk-redshift -> redshift-gtk.Jon Lund Steffensen6-0/+336
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.