billreminder r687 - in trunk: . src/gui/widgets
- From: ogmaciel svn gnome org
- To: svn-commits-list gnome org
- Subject: billreminder r687 - in trunk: . src/gui/widgets
- Date: Thu, 1 Jan 2009 21:56:28 +0000 (UTC)
Author: ogmaciel
Date: Thu Jan 1 21:56:27 2009
New Revision: 687
URL: http://svn.gnome.org/viewvc/billreminder?rev=687&view=rev
Log:
Minor patch to the timeline widget by @LuizArmesto and NEWS entries.
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/src/gui/widgets/timeline.py
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Thu Jan 1 21:56:27 2009
@@ -1,6 +1,33 @@
BillReminder 0.3.x
==================
+Frontend:
+ * A new calendar widget has been added to replace the caledar from the
+ add/edit dialog. In order to display the calendar, it is necessary to
+ expand the widget by clicking on the displayed date.
+ * Repeating bills are now handled by selecting a frequency (the current
+ allowed values are: once, weekly, and monthly) and setting the end date.
+ Multiple records will then be added using the start and end date to figure
+ out their correct due date.
+ * A new timeline widget has been added to replace the calendar from the main
+ window. You can now use it to change the way you view your bills by
+ selecting an specific date with a single click as well as drag the
+ timeline to view past and/or future bills. The following keyboard
+ shortcuts are available:
+
+ With focus:
+ right arrow go to next day
+ left arrow go to previous day
+ Ctrl + right go to same day next month
+ Ctrl + left go to same day previous month
+ + (plus) zoom in
+ - (minus) zoom out
+ HOME go to today's date
+ PAGEUP scroll to next screen*
+ PAGEDOWN scroll to previous screen
+
+ * go to current day plus the number of days displayed in widget.
+
Backend:
* Fixed an issue where datadir was hard coded to '/usr/share'. (Bug #553890).
* Make sure that gconf is run (if available) and register schema. Partially
Modified: trunk/src/gui/widgets/timeline.py
==============================================================================
--- trunk/src/gui/widgets/timeline.py (original)
+++ trunk/src/gui/widgets/timeline.py Thu Jan 1 21:56:27 2009
@@ -376,7 +376,7 @@
def do_key_press_event(self, event):
if gtk.gdk.keyval_name(event.keyval) == 'Right':
- if event.state == gtk.gdk.CONTROL_MASK:
+ if event.state & gtk.gdk.CONTROL_MASK:
# Control+right - go to next month
month = (self.value.month % 12) + 1
year = self.value.year + (self.value.month) / 12
@@ -384,7 +384,7 @@
else:
self.scroll(gtk.gdk.SCROLL_RIGHT)
if gtk.gdk.keyval_name(event.keyval) == 'Left':
- if event.state == gtk.gdk.CONTROL_MASK:
+ if event.state & gtk.gdk.CONTROL_MASK:
# Control+left - go to prev month
year = self.value.year - int(not self.value.month - 1)
month = self.value.month - 1 + (self.value.year - year) * 12
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]