Commit Graph
28 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto 052e64eb53 window: add accelerators to change date
<Alt>Left for previous date
<Alt>Down or <Ctrl>t for today
<Alt>Right for next date

More expected shortcuts are being discussed and
registered at https://etherpad.gnome.org/p/calendar-keynav.
2015-05-13 11:39:14 -03:00
Erick Pérez Castellanos da3d187ad8 window: fix builder's ui file 2015-04-29 22:32:16 -04:00
Georges Basile Stavracas Neto 80775a1e54 window: change "More Details" button label to "Edit Details"
As asked by Allan, this better describes
the purpose of this button.
2015-04-02 12:38:41 -03:00
Georges Basile Stavracas Neto 955c934956 window: block automatic creation of nameless events
We shouldn't let nameless events be created.
This commit blocks all ways to create them
when the name is not set.

The user can still edit events' data.
2015-04-02 12:35:29 -03:00
Erick Pérez Castellanos 6f2a131d7b search-view: set popover bottom position explicitly 2015-03-02 14:04:32 -05:00
Erick Pérez Castellanos 91defe22de window: handle reissue of in-app notification
For now we throw the first one away, and show the second. Eventually we
could handle this better.
2015-02-16 09:31:21 -05:00
Erick Pérez Castellanos 0aa162a9e7 window: show every widget by default 2015-02-16 09:31:19 -05:00
Erick Pérez Castellanos 2465dfca40 window: add month-view and year-view to UI file 2015-01-27 22:52:20 -05:00
Erick Pérez Castellanos 699bb47363 window: remove unneeded GcalNavBar
Previously GcalNavBar sported navigation buttons (which are gone) and
the labels. The labels alone are easily drawn inside the views, and we
could use the space more wisely.
2015-01-20 13:47:38 -05:00
Georges Basile Stavracas Neto 9cc0dda7d4 window: change the transition to crossfade
There is no linear relation of day, month and year views.

As such, it is better to not try to suggest it.
2015-01-14 15:00:38 -02:00
Georges Basile Stavracas Neto 6094cb7b69 window: fix missing icons from calendar management menu 2015-01-13 13:23:10 -02:00
Miguel Vaello 7f95a80bce window: Setting window minimum height size
Sets a minimum height size to the main window,
allowing always show whole calendar sheet.

This patch sets the "height_request" property directly into
data/ui/window.ui file avoiding the hard coded solution.

https://bugzilla.gnome.org/show_bug.cgi?id=742373
2015-01-09 21:28:29 -02:00
Erick Pérez Castellanos eee9d11633 window: move search-view into ui file
This new impl of search-view will allow a lot of cleaning on GcalWindow impl
2015-01-09 15:01:02 -05:00
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 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 397e1da5de window: make 'Calendar' the default title
Shows it for empty search results.
2015-01-09 09:16:38 -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 ffac8223c1 window: added calendar button 2014-12-16 11:14:46 -02:00
Yosef Or Boczko 86578d5fc8 Don't translate unneeded string 2014-12-05 10:30:37 +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 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 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