Format and documentation changes.

This commit is contained in:
Erick Pérez Castellanos
2012-12-01 15:29:02 -05:00
committed by Rene A. Viant Moran
parent 1d04d68c52
commit 72278de44b
4 changed files with 81 additions and 78 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ Description of some internals of Gnome Calendar Application
... ...
* Has icaltimetype attribute * Has icaltimetype attribute
For keeping actual date For keeping current date
* Has `set_view/update_view` method * Has `set_view/update_view` method
For updating the view content by talking to GcalManager For updating the view content by talking to GcalManager
+6 -6
View File
@@ -3,14 +3,14 @@
Here, I'll place some notes about views Here, I'll place some notes about views
- For the creation of new events: - For the creation of new events:
Views will provide one date or two, in both cases the event created from Views will provide one date or two (a range), in both cases the event created from
views are all day event, so the date passed by the views to GcalEventOverlay views are all day event, so the date passed by the views to GcalEventOverlay
should be marked as is_date views should be marked as is_date views
- For marking actual unit: - For marking current unit:
View will provide a two pixels mark for the actual unit in every view. View will provide a two pixels mark for the current unit in every view.
So: So:
week-view will mark the day of week of the actual date, no matters week-view will mark the day of week of the current date, no matters
which week we are seeing. which week we are seeing.
month-view will mark the day of the month of the actual date. month-view will mark the day of the month of the current date.
year-view will mark as actual unit the month we're living today. year-view will mark as current unit the month we're living today.
+1
View File
@@ -89,6 +89,7 @@ void gcal_view_reposition_child (GcalView *view,
void gcal_view_clear_selection (GcalView *view); void gcal_view_clear_selection (GcalView *view);
G_END_DECLS G_END_DECLS
#endif /* __GCAL_MONTH_VIEW_H__ */ #endif /* __GCAL_MONTH_VIEW_H__ */
+2
View File
@@ -126,6 +126,8 @@ static GtkWidget* gcal_year_view_get_by_uuid (GcalView *view
static void gcal_year_view_reposition_child (GcalView *view, static void gcal_year_view_reposition_child (GcalView *view,
const gchar *uuid); const gchar *uuid);
static void gcal_year_view_clear_selection (GcalView *view);
G_DEFINE_TYPE_WITH_CODE (GcalYearView, G_DEFINE_TYPE_WITH_CODE (GcalYearView,
gcal_year_view, gcal_year_view,
GTK_TYPE_CONTAINER, GTK_TYPE_CONTAINER,