Commit Graph
187 Commits
Author SHA1 Message Date
Erick Pérez Castellanos 1062d3e435 Debarshi's suggestion about g_clear_object use.
Removed if (pointer != null) condition when using
g_clear_object.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos e1be309095 Added source change notification connections.
Added code to GcalWindow to connect notification of change from
GcalEditDialog to GcalManager methods.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos 6ada73c619 Added support for moving events between sources.
Added support in GcalManager for moving events.
The implementation is pretty simplistic. It doesn't handle
any errors, but since I'm lazy I'm planning to let it that
way till the day bugs start appearing.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos 21ab796fb3 Added source change notification.
Added support in GcalEditDialog to notify when the source
of an event has changed.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos b4f7cee991 Handled change of end-date of an event.
Added code to GcalWindow to update the event end-date through
the manager.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos 9cc6eb8e77 Added method for setting event end-date.
GcalManager::set_event_end_date method added.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos f0e5880476 Reworked date change observers.
Hooked signals from date and time entries.
Added comparison and adjustment if the interval.
Removed SimpleDate and SimpleTime structs.
Added _get_end_date for end-date change notification.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos 8af404eea1 Fixed error when replacing a number.
Added FIXME to remember me implement or review the need
of delete_text implementation.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos 6c9ff2d12d Removed gcc-4.7 warnings.
Compilation with gcc 4.7 gave me some warnings about initialization.
2012-12-01 15:28:52 -05:00
Erick Pérez Castellanos ba68b831cc Added modified signals to both widgets.
GcalDateEntry and GcalTimeEntry now have a ::modified signal.
2012-12-01 15:28:52 -05:00
Erick Pérez Castellanos c6887e9a37 Moved from guint to gint to match libical internal data.
The internal attributes of both widgets were guint types, but
since libical library has those values (day,month,hour) as int
inside icaltimetype struct, I decided t move to gint in order to
avoid compiler warnings, and ugly hidden things.
2012-12-01 15:28:51 -05:00
Erick Pérez Castellanos 69871884f9 Added start-date change handling.
Missing: moving end_date accordingly.
2012-12-01 15:28:51 -05:00
Erick Pérez Castellanos 8594de0f28 Added GcalDateEntry widget.
Initial approach. I really don't like the implementation, is kinda week.
And it needs a lot of testing, localization kind of testing.
2012-12-01 15:28:51 -05:00
Piotr Drąg d1d08e91e3 Updated Polish translation 2012-10-11 01:03:05 +02:00
Piotr Drąg 50c132d1d7 Updated POTFILES.in 2012-10-11 01:01:36 +02:00
Erick Pérez Castellanos 8e02fab3f8 Cleaned debug info. 2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos eb8e31207c Minor misc fixes.
Theme fixes to show right scrollbar elsewhere.
gcal-time-entry.h cleaning.
UI fixes around the searchbar in GcalWindow.
2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos 24cfaab837 Added support for storing event data.
Initial support for storing event-data so the EditDialog can
tell which properties has changed.
Changed time entries for GcalTimeEntry objects.
Set ::activates-default property of summary_entry to handle change title
with one keystroke.
2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos b6a34f7666 Added GcalTimeEntry widget.
GcalTimeEntry widget handle 24-hour format time.
2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos 4da9b460f1 Hooked support for editing into GcalWindow
Initial stage of connection editing events functionality of the dialog
to calls in GcalManager API and updating the event widget and its position
inside the view.
2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos 20eccc8a31 Added support to obtain properties of the event
Added very initial support to handle obtention of the modified properties
of the edited event. There's still some kind of Model implementation to keep
track of the changes made by the user.
2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos 21088e7fb9 Added API to modify some events properties.
New APIS:
    GcalManager::set_event_summary
    GcalManager::set_event_location
    GcalManager::set_event_description
    GcalManager::set_event_start_date

Note: GcalManager::set_event_start_date isn't finished since still
      needs to handle all-day status of the event.
2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos 6e8ffcf5cf Added reposition_child to GcalView interface.
Provided implementation for GcalMonthView.
2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos 92d907d12e Updated docs and configure.ac 2012-10-10 15:55:18 -04:00
Mathieu Bridon 8109fa7b2e Add missing semi-colon to the desktop MimeType 2012-10-02 10:37:21 +03:00
Mathieu Bridon 71e8927380 GNOME Calendar should handle text/calendar MIME type
This allows the user to choose it as their favorite calendar application
in the GNOME System Settings for example.
2012-09-28 08:13:21 -04:00
Mathieu Bridon 8b0bb13304 Be consistent with the name used elsewhere
The application name is `gnome-calendar` throughout the source
code, not `gnome_calendar`.
2012-09-27 08:14:23 -04:00
Mathieu Bridon 1c3599e13c Install the docs in a more common location 2012-09-27 08:14:19 -04:00
Mathieu Bridon 16100bbde6 Don't install the INSTALL file
It's useless once you installed, and packagers will be happy if they
don't need to remove it.
2012-09-27 08:14:14 -04:00
Mathieu Bridon 6645cdbd88 Fix typos in requirements 2012-09-20 10:30:08 -04:00
Erick Pérez Castellanos c3acffa9d7 Changed mode declaration for emacs. 2012-09-20 09:00:46 -04:00
Erick Pérez Castellanos 2020042232 Updated Roadmap. 2012-09-20 08:54:40 -04:00
Erick Pérez Castellanos c3f8a4b973 Updated EditaDialog to match mockups.
Note: There's still missing one pixel border, I can't find the reason today.
And there's still need to theme better the background of the readonly header.
But the major changes are done.
2012-09-13 13:29:24 -04:00
Erick Pérez Castellanos 4ef16c7f1a Improving Searchbar looking. Fixes to GcalWeekView 2012-09-10 10:48:48 -04:00
Erick Pérez Castellanos 65c8f83e81 Renamed GcalArrowContainer to GcalArrowBin. 2012-09-10 10:29:41 -04:00
Cosimo Cecchi ef6fbe044d build: remove glib-genmarshal glue
This also fixes distcheck.
2012-09-04 15:43:11 -04:00
Cosimo Cecchi 3b1c9f04b1 all: don't use custom marshallers
Just use NULL, which gives us the generic GObject marshaller.
2012-09-04 15:43:11 -04:00
Piotr Drąg 8689b6b9e4 Updated Polish translation 2012-09-03 22:52:39 +02:00
Erick Pérez Castellanos 8ac7e58d88 Fixed non-construct properties setting.
Added push/pop composite pairs of functions.
Moved non-construct properties setting to after the construct process have
ended.
2012-08-30 00:59:17 -04:00
Erick Pérez Castellanos 54d42cc23a Added transient magic to GcalEditDialog. 2012-08-29 22:22:04 -04:00
Erick Pérez Castellanos cd106e6a5a Changed reminders icon in GcalEventWidget. 2012-08-27 20:13:07 -04:00
Erick Pérez Castellanos 2c000324f6 Removed disabled calendars from menu. 2012-08-27 15:36:19 -04:00
Erick Pérez Castellanos 4c3e232623 Removed read-only sources from EditDialog.
Removed disabled and read-only calendars from showing in GcalEditDialog.
2012-08-26 11:33:00 -04:00
Erick Pérez Castellanos 6be38d7a51 Added code to handle show/hide if searchbar.
Eventually it will be better to pack the entire searchbar into a full widget so
it can emit signals and the code become easier to read and maintain.
2012-08-25 02:01:16 -04:00
Erick Pérez Castellanos 600aad6f3b Reworked GcalToolbar to match the mockups.
Added search-button and GcalToolbar::search-events signal.
Moved and changed add-button. Restyled with "suggested-action" class.
2012-08-25 01:59:06 -04:00
Erick Pérez Castellanos 070d10bf47 Reworked internal structure of GcalWindow.
Removed unneeded widgets. Removed unneeded layouts managers.
Added constraints to handle actors sizing.
Renamed main_toolbar attribute to toolbar_actor
Added searchbar_actor. Initial approach.
2012-08-25 00:35:12 -04:00
Erick Pérez Castellanos 7071219747 Updated docs. Changed GcalWindow internals skel. 2012-08-25 00:22:14 -04:00
Erick Pérez Castellanos 9d151a625a Fixed segfault on gcal_window_show_hide_actor_cb. 2012-08-24 23:21:12 -04:00
Cosimo Cecchi 03e29247d6 Remove AUTHORS from version control
It's autogenerated
2012-08-24 19:02:03 +02:00
Cosimo Cecchi 4448954370 all: fix GCC uninitialized variables warnings 2012-08-24 19:00:55 +02:00