Erick Pérez Castellanos
af3ce14ac2
app: remove GcalNewEventWidget, use GcalWindow ui
...
Since there will be no behavior on GcalNewEventWidget we can use simple
ui from GcalWindow to accomplish this.
2014-12-04 17:10:55 -05:00
Erick Pérez Castellanos
e0ef2892fd
window: fixed event removed notification
...
Moved all this code into ui file.
Removed public API of GcalWindow. In time, if needed by some other
object it can be brought back.
2014-12-04 17:10:55 -05:00
Georges Basile Stavracas Neto
0856345ace
theme: use different style classes for navbar labels
2014-12-04 17:10:55 -05:00
Georges Basile Stavracas Neto
2970729324
window: move arrow buttons to headerbar
...
This is part of the ongoing efforts to fit Calendar with the latest designs.
2014-12-04 17:10:54 -05:00
Erick Pérez Castellanos
934b1c4be0
window: more code moved into ui file
2014-12-04 17:10:54 -05:00
Erick Pérez Castellanos
f8f8991510
window: move more code into ui file
...
Probably I can load the GMenuModel of the popover directly but I don't
know exactly how, and I've asked already and you can set bindings using
builder's ui file, just like before I don't know how at this time.
2014-12-04 17:10:54 -05:00
Georges Basile Stavracas Neto
8b955cae19
window: move to builder's ui file
...
This is way better than programmatically building the entire window interface.
2014-12-04 17:10:53 -05:00
Georges Basile Stavracas Neto
4052040be3
edit-dialog: removed unused grid
...
This grid has only one child and is completely unnecessary.
2014-12-04 17:10:53 -05:00
Georges Basile Stavracas Neto
2e8b677d6a
app: implemented sync action
...
Useful when the local calendar differs from the remote calendar (i.e. you added an event at Google Calendar).
2014-12-04 17:10:52 -05:00
Erick Pérez Castellanos
5cbdf28387
month-view: added current day highlight
...
Improved ::draw vfunc code. Use .current class to handle active day styling
2014-12-04 17:10:52 -05:00
Erick Pérez Castellanos
c77076c7d6
week-view: added current day highlight
...
Cleaned code a little bit. Removed unnecessary instructions. Added style
class to handle current day.
2014-12-04 17:10:51 -05:00
Erick Pérez Castellanos
b3cab47334
build: remove unused c/css code
2014-12-04 17:10:49 -05:00
Erick Pérez Castellanos
5a1f12ad00
event-widget: make more CSS compliant
...
There are some other changes:
1. Renamed widget class to "event-widget" to avoid collisions
2. Added contrasting event title coloring
3. Use gtk_render functions
2014-12-04 17:10:48 -05:00
Erick Pérez Castellanos
74c9f009d8
edit-dialog: show events description, minor tweaks
2014-12-04 17:10:48 -05:00
Erick Pérez Castellanos
8e066850a3
window: added New Event item to menu button
...
Updated label on app-menu action.
2014-12-04 17:10:47 -05:00
Erick Pérez Castellanos
defb99d8a8
window: replace New Event with Today button
...
As Lapo rightfully explain, providing a button there for creating a new
event is way to prominently and might divert users of the intended click
on a cell behavior to create an event.
New event will be also accessible from the hamburger icon on the left of
the header-bar and Ctrl-N key shortcut.
Also as Lapo suggestion Today button fall better on the header bar than
between the navigation buttons.
2014-12-04 17:10:46 -05:00
Erick Pérez Castellanos
37f0e8ecfd
style: add entry class to notes textview
2014-12-04 17:10:46 -05:00
Georges Basile Stavracas Neto
37be39e9d0
edit-dialog: implement composite widget of edit dialog
...
Also, this patch implements a major design review of the dialog.
2014-12-04 17:10:45 -05:00
Erick Pérez Castellanos
08d9cd8e9b
theme: remove unneeded rules
2014-12-04 17:10:45 -05:00
Georges Basile Stavracas Neto
7dc4ae6a84
nav-bar: implemented today button
...
Implements today button between previous and forward buttons.
Fix bug #703316 .
2014-12-04 17:10:40 -05:00
Erick Pérez Castellanos
84ca745eb4
build: fix distcheck
2014-12-04 17:10:38 -05:00
Erick Pérez Castellanos
333363205c
app: update application menu
...
Use only application wide actions in the menu, as stated in GNOME HIG
Migrated to use GtkBuilder files
2014-12-04 17:10:37 -05:00
Georges Basile Stavracas Neto
1e1052c65c
window: use GtkPopovers
...
GNOME Calendar uses a custom GtkOverlay-based widget, witch is not necessary anymore. It should be replaced by GtkPopover.
2014-12-04 17:10:37 -05:00
Erick Pérez Castellanos
9afcc4dfa5
nav_bar: remove deprecated margin definitions
2014-12-04 17:10:37 -05:00
Georges Basile Stavracas Neto
4edca6b255
theme: use system colors
...
It's better and more portable than using custom hardcoded colors
2014-12-04 17:10:35 -05:00
Erick Pérez Castellanos
e0e1517061
build: moved resource file to data
...
Add css style to resources
2014-12-04 17:10:34 -05:00
Erick Pérez Castellanos
270eadf717
css: updated selection color
2014-12-04 17:10:32 -05:00
Erick Pérez Castellanos
239057a041
css: update styles to new ui
...
Cleaned unused rules
Fixed rules to match GcalNewEventWidget
2014-12-04 17:10:28 -05:00
Erick Pérez Castellanos
984ec9f07f
gcal-new-event-widget: initial rework of new-event-widget
...
Moved into new-style composited widget
Added GtkBuilder ui file
Added gmodule-export-2.0 dependency
2014-12-04 17:10:28 -05:00
Erick Pérez Castellanos
773b575a7b
build: move ui files into data subdir
2014-12-04 17:10:28 -05:00
Erick Pérez Castellanos
984b65780a
ui: added GcalViewport widget.
...
Basically a Viewport with overlaying scrollbars, for using inside the views
2014-12-04 17:10:22 -05:00
Erick Pérez Castellanos
c8b155270b
ui: Added GcalNavBar widget.
...
GcalNavBar widget is composited using templates.
Great work of Tristan Van Berkom <tristanvb@openismus.com > on
using this.
2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos
21b7e3d42e
Removed ClutterActor from main UI
...
Use GtkSearchbar
2014-12-04 17:10:19 -05:00
Erick Pérez Castellanos
262a50a32f
gcal-application: save window position and size
...
Format fixes in gcal-application.h
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=700039
2013-05-17 14:42:21 -04:00
Erick Pérez Castellanos
1d04d68c52
Debug instrucions and comments removed.
2012-12-01 15:29:02 -05: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
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
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
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
c4ab6fe503
Updated event style.
2012-08-23 09:43:58 -04:00
Erick Pérez Castellanos
5b23fea95f
Added create-event overlay.
...
Added new-event mark to month-view.
Added navigation arrows to month-view.
Initially moved edit-event to a dialog.
2012-08-20 23:45:58 -04:00
Erick Pérez Castellanos
5742f8e459
Improved autotools files.
...
Moved all the style data to a theme directory ala gnome-shell.
Added close-window.svg image.
Added gcal-marshalers.list and rules to Makefile.am to generate the correct
source and header.
Note: The absence of this changes about the marshallers generation was
making imposible to compile the changes about GcalView API. This will complete
that commit.
2012-08-19 03:03:38 -04:00
Erick Pérez Castellanos
3cdd9cfabf
Fixed GcalWeekView scrollbar not showing.
2012-07-19 13:19:05 -04:00
Erick Pérez Castellanos
f33feaf6b1
A bunch of UI fixes.
...
Made lighter the background of the views.
Added padding and fixed class to GcalToolbar.
2012-07-19 01:26:45 -04:00
Erick Pérez Castellanos
d03c95e765
Implementing GcalWeekView to match the mockups.
...
What to say about this commit.
There's just one FIXME in gcal-week-view.c, about the size/width of the
GtkScrollbar used. That should not be hardcoded.
Also the background color applied to the scrollbar through css-theming might be
better placed inside the code, since the effectis part of the view.
About this view is still missing a way of signaling the current day. We are on
it, yet.
2012-07-19 00:58:35 -04:00
Erick Pérez Castellanos
194fd67b7d
Modified GcalMonthView to fit the mockups.
...
Added Drawing docs to the doc folder.
Fixed styles to reach the borders.
Made some refactoring of the class.
2012-07-15 12:26:22 -04:00
Erick Pérez Castellanos
f462712227
Added actua date mark to implemented views.
...
Following mockups by Reda Lazri, the actual day it's marked by drawing a box
around the weekday and a 2px line on the cell belonging to the actual date.
Added icon to gnome-calendar.desktop. Tweaked css a little bit.
2012-07-13 00:17:39 -04:00