Commit Graph
56 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto 469999cd96 window: remove list button from search bar
We won't be using is for now, and it causes a lot of confusion. Also, the behavior is quite broken.
2015-01-09 09:16:42 -05:00
Georges Basile Stavracas Neto f0c126b0ee window: fix header display 2015-01-09 09:16:42 -05:00
Georges Basile Stavracas Neto d5d1d37411 search-view: style it to better fit the HIG stardard 2015-01-09 09:16:42 -05:00
Georges Basile Stavracas Neto d628c4b9fc search-label: show a friendly label when search entry is empty 2015-01-09 09:16:41 -05:00
Georges Basile Stavracas Neto 35fa63028a search-view: does not show the popover on startup
That would try to set relative to an unmapped widget, which causes awful things.
2015-01-09 09:16:41 -05:00
Georges Basile Stavracas Neto fb7b738ff7 search-view: make it a GtkPopover descendant
This huge patch makes GcalSearchView a GtkPopover
descendant. Also, it poorly adapts GcalWindow to
make it work with it.
2015-01-09 09:16:40 -05:00
Georges Basile Stavracas Neto 95b35964cd search-view: fixed double border at the end of the list
Also, fixes a small details that the results list is
always expanded.
2015-01-09 09:16:40 -05:00
Georges Basile Stavracas Neto a0e5a8564e search-view: properly connect 'row-activated' signal 2015-01-09 09:16:40 -05:00
Georges Basile Stavracas Neto 397e1da5de window: make 'Calendar' the default title
Shows it for empty search results.
2015-01-09 09:16:38 -05:00
Georges Basile Stavracas Neto ab1374d8cd search-view: implemented no results page 2015-01-09 08:36:16 -05:00
Georges Basile Stavracas Neto 9d90cc8c84 search-view: fixed minor visual issues 2015-01-09 08:36:15 -05:00
Georges Basile Stavracas Neto 3936f46253 search-view: add CSS class to UI file 2015-01-09 08:36:15 -05:00
Georges Basile Stavracas Neto 4f40ac67af search-view: make it dependant of Gtk+ 3.10 2015-01-09 08:36:15 -05:00
Georges Basile Stavracas Neto d5df158805 search-view: add GtkBuilder UI files 2015-01-09 08:36:15 -05:00
Erick Pérez Castellanos 098d8a79d8 window: fix search_button/search_bar binding
Remove unneeded placeholder declaration
This code was accidentally touched on commit:
2970729324
This is kind-of a revert of that patch
2015-01-05 10:33:23 -05:00
Georges Basile Stavracas Neto 8aefe71316 window: syncronize sources from time to time
Currently, it is hardcoded 5min for active windows, and 20min for innactive windows. These values may change later.
2015-01-03 17:17:09 -02:00
Georges Basile Stavracas Neto fa014972bc time-selector: make it GtkMenuButton descendant
With it, it is up to Gtk+ to handle the popover.
2015-01-03 15:11:20 -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
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
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
Georges Basile Stavracas Neto ffac8223c1 window: added calendar button 2014-12-16 11:14:46 -02: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 b3cab47334 build: remove unused c/css code 2014-12-04 17:10:49 -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