Erick Pérez Castellanos
c7563da2d0
app: handle calendars colours better
...
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=745487
2015-03-06 11:32:32 -05:00
Erick Pérez Castellanos
bd2b6356b1
app: use gtk_widget_show() instead of show_all()
...
Remove comment
2015-02-16 09:31:19 -05:00
Erick Pérez Castellanos
6be8b4b5ae
app: use source-added signal to load css providers
...
After the changes of latest EDS is needed to use source-added signal
again since the some sources might take longer to connect than others.
2015-02-13 09:12:15 -05:00
Erick Pérez Castellanos
348be33329
app: event-widget CSS code for classes rewritten
2015-02-13 09:12:15 -05:00
Erick Pérez Castellanos
546b137d24
utils: removing unused functions
2015-02-06 09:21:36 -05:00
Erick Pérez Castellanos
b1df382ee3
app: use get_color_name_from_source()
2015-02-06 09:21:36 -05:00
Erick Pérez Castellanos
837c33399f
misc: remove comments and debug instructions
2015-02-06 09:21:36 -05:00
Erick Pérez Castellanos
f4799552aa
app: set initial on GcalWindow always
...
Add function to allow the search provider to set the value.
2015-02-06 09:21:34 -05:00
Erick Pérez Castellanos
4f689b22e6
app: read uuid from cli option
...
Use also a function to set the value of the event's uuid to show.
2015-02-06 09:21:34 -05:00
Erick Pérez Castellanos
46c9742a90
app: properly ordered shell search initialization and setup
2015-02-06 09:21:34 -05:00
Erick Pérez Castellanos
b3a374dbe9
app: use GcalManager:load-completed signal
...
Use this signal to load the CSS code for the widgets just one time
instead of recreating the complete CSS code once for each source connected
2015-02-06 09:21:33 -05:00
Erick Pérez Castellanos
1dd50951f6
app: add shell provider implementation skeleton
2015-02-06 09:21:33 -05:00
Erick Pérez Castellanos
b08defc0e5
app: keep a pointer to private instance data
...
This seems faster to me
2015-01-29 10:47:41 -05:00
Erick Pérez Castellanos
5071b94b14
application: use events edges styles
2015-01-22 13:47:25 -05:00
Erick Pérez Castellanos
3ac46c9a3c
misc: comments and whitespace fixes
2015-01-20 13:55:49 -05:00
Erick Pérez Castellanos
0b2367200b
copyright: update year
2015-01-20 13:11:58 -05:00
Erick Pérez Castellanos
4832f5e79e
providers: remove from screen on app::finalize
...
This fixes the quirks of decreasing the refcount after attaching the
providers to the default screen.
2015-01-09 09:16:44 -05:00
Erick Pérez Castellanos
64f9e45c76
app: create custom provider for background colors
...
GcalEventWidgets get its background colors dynamically, so we are
creating a custom provider with a CSS class per calendar color, and
later on the proper class will be applied to the widget.
2014-12-22 21:37:24 -05:00
Erick Pérez Castellanos
9af65c8f1f
manager: hold a reference of the application's settings
...
We need to keep on the settings the list of the disabled sources
Moved code from ::init vfunc to ::constructed vfunc in order to wait for
construction properties to be set
2014-12-22 08:38:19 -05:00
Erick Pérez Castellanos
2a6b9a31ce
app: fix sigsegv when not getting a date from cli
2014-12-10 01:21:19 -05:00
Erick Pérez Castellanos
83345b2fb4
app: gained --date option
...
GcalWindow loads the date from GcalApplication.
2014-12-09 15:36:01 -05:00
Erick Pérez Castellanos
314f60e040
about: praise our artists properly
...
Add jimmac to artists list
2014-12-05 16:20:57 -05:00
Erick Pérez Castellanos
fe7b1d942e
app: use new icon
2014-12-05 16:20:16 -05:00
Erick Pérez Castellanos
2853e9a3b2
about: add Lapo to the design/art team
2014-12-05 08:17:30 -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
a158fc5757
application: handle ref count of GtkCssProvider correctly
...
It seems gtk_style_context_add_provider_for_screen increase the ref
count of the GtkCssProvider (maybe copy it to GdkScreen and this isn't
releasing it correctly). We're forcing an _unref to keep the destruction
process working as expected. Previously gtk_css_provider_finalize was
not called at any time on the closing process.
2014-12-04 17:10:44 -05:00
Erick Pérez Castellanos
6c7593dbb1
application: free properties' memory on finalize
...
Note: GtkCssProvider doesn't finalize correctly yet, but it is correct
to clear the reference belonging to the application.
2014-12-04 17:10:44 -05:00
Erick Pérez Castellanos
fb2461b813
application: properly quit application
...
Fixes destruction process. Calling g_application_quit skip the reference
decreasing process of GApplication and that resulted in a bunch of
_finalize methods not being called. By removing the windows GApplication
finalize properly.
2014-12-04 17:10:43 -05:00
Erick Pérez Castellanos
ed32e8d624
application: do not access instance data on _new
...
The settings setup could be delayed to _init vfunc of the
application.
2014-12-04 17:10:43 -05:00
Erick Pérez Castellanos
b8525fc0f6
app: fix about dialog build
2014-12-04 17:10:40 -05:00
Erick Pérez Castellanos
21356d926d
app: update about dialog
2014-12-04 17:10:40 -05:00
Erick Pérez Castellanos
7ab1af4e96
app: remove unused view type action
2014-12-04 17:10:37 -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
Erick Pérez Castellanos
c5131db240
application: load css file from resources
2014-12-04 17:10:34 -05:00
Erick Pérez Castellanos
bee7b6fa1c
build: rename instance variable and add docs
2014-12-04 17:10:34 -05:00
Javier Sánchez Ochando
50f8f2de37
gcal-window: the calendar window remember its geometry.
2014-12-04 17:10:34 -05:00
Erick Pérez Castellanos
1ada96616b
build: moved gobject construction to new sugar
...
Misc formatting fixes
Misc minor refactoring
2014-12-04 17:10:29 -05:00
Erick Pérez Castellanos
20390c1443
gcal-aplication: cleaning some code
...
Don't think a user will use shorcuts for changing views.
2014-12-04 17:10:28 -05:00
Erick Pérez Castellanos
04d14cfaca
gcal-window: added new-event-mode as property.
...
Bind StackSwitcher sensitive state and GAction:enabled to new-event-mode property
2014-12-04 17:10:28 -05:00
Erick Pérez Castellanos
1c7483e87b
gcal-window: removed unneeded title
2014-12-04 17:10:27 -05:00
Erick Pérez Castellanos
044654dab4
build: removed Clutter dependency
2014-12-04 17:10:25 -05:00
Erick Pérez Castellanos
9b828b39be
gcal-window: added new application flow
...
gcal-window changes:
1. Added #GtkStackSwitcher for view-switching handling
2. Reworked view switching behavior
3. Added window states: search-mode, new-event-mode
4. Implemented search using #GtkSearchBar, allowing to handle [Esc] keys closing the search
5. Removed temporally SourcesView
gcal-application changes:
1. Added actions for [Search] and [New Event] with its keyboard-shorcut
A lot of ground work is set here, the code is fill with FIXMEs and comment
for stuff-TODO
2014-12-04 17:10:24 -05:00
Erick Pérez Castellanos
09f6261550
ui: integrated GcalDayView in GcalWindow
...
Initial work. Added option to GcalApplication action.
2014-12-04 17:10:22 -05:00
Erick Pérez Castellanos
dd969cf14d
ui: migrating from GdHeaderBar to GtkHeaderBar
2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos
a30fcfc59a
app: Fixed string in --version handle
2014-12-04 17:10:19 -05:00
Erick Pérez Castellanos
63a0bc2bab
Updated authors
2014-12-04 17:10:18 -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
95461213a5
Added command line handling.
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=700041
2013-05-17 14:42:21 -04:00
Erick Pérez Castellanos
01145b8916
Migrated to Gtk+-3.8
2013-05-17 14:41:12 -04:00
Erick Pérez Castellanos
34d512f5ec
Forcing the app to use always the light theme.
...
Formatting fixes.
2013-05-11 11:32:17 -04:00