Commit Graph
540 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto b43e08be8b theme: improve .overflow:hover class to better fit the mockups 2015-01-03 12:21:06 -02:00
Georges Basile Stavracas Neto 0446fa09e6 edit-dialog: removed 'entry' style class
It was causing horrible visual glitches when text overflows.
2015-01-03 11:03:40 -02:00
Erick Pérez Castellanos 5395dca4f2 date-selector: make it GtkMenuButton descendant
Added GtkBuilder's UI file definition
2014-12-25 13:03:15 -05:00
Erick Pérez Castellanos ef3b4f059f build: fix make distcheck 2014-12-23 12:01:42 -05:00
Georges Basile Stavracas Neto 0db303abe2 edit-dialog: fix sizing issue 2014-12-23 12:01:41 -05:00
Georges Basile Stavracas Neto bfc6e37595 date-selector: show Day, Month and Year labels according to it's position 2014-12-23 12:01:40 -05:00
Georges Basile Stavracas Neto 26df8ec8d8 edit-dialog: link date & time selectors 2014-12-23 12:01:40 -05:00
Georges Basile Stavracas Neto b386be95d6 date-selector: ajust entries' names 2014-12-23 12:01:39 -05:00
Georges Basile Stavracas Neto 714fb4ec6b date-selector: set max width for date entries
Fixes those giant horrible entries that were being cutted off of the dialog.
2014-12-23 12:01:38 -05:00
Georges Basile Stavracas Neto 2be9c125dd date-selector: load popover with date selector 2014-12-23 12:01:38 -05:00
Georges Basile Stavracas Neto 40683e5e10 date-selector: initial implementetation
No functionality is ready, only project settings and class type.
2014-12-23 12:01:38 -05:00
Erick Pérez Castellanos 1b31d419d4 app: make DBus-activatable
This commit installs a service file, renames the desktop file
to follow the bus name, and adds the DBusActivatable key to the
desktop file, following
https://wiki.gnome.org/HowDoI/DBusApplicationLaunching

Updates POTFILE files accordingly
2014-12-22 23:34:29 -05:00
Erick Pérez Castellanos 1b88c2fd89 build: remove mention to non-existent file
Fix make distcheck
2014-12-22 22:08:50 -05:00
Erick Pérez Castellanos c28e345b5b app: settings gained "disabled-sources" key
This key will keep a list of the uid of the sources marked as disabled
in the interface in order to keep the same state between runs of the application
2014-12-22 08:38:19 -05:00
Erick Pérez Castellanos a08a0a66c1 event-widget: remove unused CSS tag name
Since Gtk+ parses automatically widgets' name, there's no need of custom class
2014-12-22 08:38:19 -05:00
Erick Pérez Castellanos 5051ba600f month-view: draw a background on the overflow indicator
This code suffer from a similar bug to ::queue_area on
::size_allocate. This need some revisiting to make it work properly.
2014-12-20 09:10:00 -05:00
Georges Basile Stavracas Neto 5c570e0140 time-selector: select AM by default 2014-12-18 09:55:10 -05:00
Georges Basile Stavracas Neto 37a38b6acb time-select: hide period selector when not 12h format 2014-12-18 09:55:10 -05:00
Georges Basile Stavracas Neto 33d101062d time-selector: implemented time selection with spin buttons 2014-12-18 09:55:09 -05:00
Erick Pérez Castellanos aaee4a2657 month-view: initial work to new mockup from Lapo
There's a bunch of stuff missing here, but this code is already working.
This includes only part of the drawing code, I already take into account
here LTR and RTL languages.
Here month-view make use of classes for styling different regions of the
grid, there are:
1. header class, which is used for the font and color details of the
days naming on the top of the grid
2. current class, which is used for drawing the current day number and
its background
3. lines class: which set the color property of the lines in the grid
4. :selected pseudo-class is used for drawing the font on the days
marked when creating an event. This will work as well for keyboard
navigation

What's missing here:
1. properly update click/press marks to new model
2. draw border around the selected days
2014-12-16 10:06:08 -05:00
Georges Basile Stavracas Neto ffac8223c1 window: added calendar button 2014-12-16 11:14:46 -02:00
Erick Pérez Castellanos fe7b1d942e app: use new icon 2014-12-05 16:20:16 -05:00
Jakub Steiner 26f85f9f8f include app icon
https://bugzilla.gnome.org/show_bug.cgi?id=741032
2014-12-05 16:10:13 -05:00
Georges Basile Stavracas Neto 9364cab3de edit-dialog: change source image to button
This is a stub button for the sources. Implementation of it will come soon.
2014-12-05 14:37:26 -02:00
Yosef Or Boczko 86578d5fc8 Don't translate unneeded string 2014-12-05 10:30:37 +02:00
Yosef Or Boczko 14ad4eaeb8 Use the unicode character '…' instead of '...' 2014-12-05 10:30:18 +02:00
Erick Pérez Castellanos 1c277b99b3 window: connect signal to the right object
The ::remove_event handler was not connected to the GtkRevealer so it
was not executing itself when the notification was closed. That caused
the application never removed any events. Fixed now.
2014-12-04 17:10:55 -05:00
Erick Pérez Castellanos 927233cabb build: remove GcalNewEventWidget related files 2014-12-04 17:10:55 -05:00
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