1
This patch removes the invocation of get_autostart() and
2
set_autostart(active). So gtk-redshift won't autostart (see #619699)
3
Index: redshift/src/redshift-gtk/statusicon.py
4
===================================================================
5
--- redshift.orig/src/redshift-gtk/statusicon.py 2014-08-05 15:03:21.262084904 +0530
6
+++ redshift/src/redshift-gtk/statusicon.py 2014-08-05 15:04:16.034652291 +0530
8
suspend_menu_item.set_submenu(suspend_menu)
9
self.status_menu.append(suspend_menu_item)
11
- # Add autostart option
12
- autostart_item = Gtk.CheckMenuItem.new_with_label(_('Autostart'))
14
- autostart_item.set_active(utils.get_autostart())
15
- except IOError as strerror:
17
- autostart_item.set_property('sensitive', False)
19
- autostart_item.connect('toggled', self.autostart_cb)
21
- self.status_menu.append(autostart_item)
24
info_item = Gtk.MenuItem.new_with_label(_('Info'))
25
info_item.connect('activate', self.show_info_cb)