Georges Basile Stavracas Neto
f25a7b0dd8
application: only override log handler with --debug
2017-05-16 15:01:11 -03:00
Mohammed Sadiq
9ed375cd99
application: fix setting active-date logic
...
https://bugzilla.gnome.org/show_bug.cgi?id=782192
2017-05-06 12:25:16 -03:00
Georges Basile Stavracas Neto
d1a24d8adb
application: cleanup code
2017-03-17 10:35:56 -03:00
Georges Basile Stavracas Neto
478db350e3
project: intrument functions
...
Add the newly added macros to provide useful tracing
information.
2017-03-17 10:14:25 -03:00
Georges Basile Stavracas Neto
d5825bbd35
project: override log domains
...
This way, we can have more useful debug spils.
2017-03-17 10:14:25 -03:00
Mohammed Sadiq
1449233382
application: cleanup finalize method
...
Calendar now segfaults due to faling function
gtk_style_context_remove_provider_for_screen in application finalize method.
As application finalize method is called only when the application closes,
there isn't any hard requirement to cleanup every trailings. Operating
System shall take care of that.
So removing the failing functions so as to not segfault on exit anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=773871
2017-02-09 11:20:49 -02:00
Georges Basile Stavracas Neto
006ee30495
Revert "application: don't remove providers from screen when finalizing"
...
This reverts commit 0ce04c0eeb .
2017-02-09 11:20:28 -02:00
Georges Basile Stavracas Neto
0ce04c0eeb
application: don't remove providers from screen when finalizing
...
When finalizing the application, it is possible that the main window
had already been destroyed and the Gtk+ CSS machinery to stop working.
We currently try to remove the CSS providers from screen when finalizing,
which (i) has no effect, and (ii) causes a segfault.
Fix that by simply destroying the CSS providers, and not trying to
remove them on finalize.
https://bugzilla.gnome.org/show_bug.cgi?id=773871
2017-02-09 11:09:40 -02:00
Piotr Drąg
4cc24c8c4c
Use Unicode in translatable strings
...
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=772263
2016-11-11 17:21:19 +01:00
djb
0843f9e93e
application: stop force disabling dark theme
...
https://bugzilla.gnome.org/show_bug.cgi?id=758057
2016-10-01 19:21:55 -03:00
Georges Basile Stavracas Neto
cd50bec506
project: fix build warnings
...
https://bugzilla.gnome.org/show_bug.cgi?id=770466
2016-08-29 23:08:39 -03:00
Georges Basile Stavracas Neto
09b79e1cc8
Bump 3.19.91 release
2016-03-02 22:28:53 -03:00
Georges Basile Stavracas Neto
9ff5e05f9c
app: automatically load resources from base path
...
We don't have to load most of the menus we're currently loading
by using the very handy automatic resource loading.
This patch fixup so the app loads resources automagically.
2016-02-16 18:12:18 -02:00
Georges Basile Stavracas Neto
6283d9d025
application: update event colors when agenda changes
...
When we change a source (aka agenda) color, we have to
restart Calendar in order to see it in action.
After the work on GcalEvent, events are now able to track
the agenda's color changes, and the event widget updates
itself in response to that.
The last step was simple notifying GcalApplication when an
agenda changes, so it knows when to recreate the color schemes.
2016-02-14 12:51:32 -02:00
Georges Basile Stavracas Neto
eb360dc809
shell-provider: use GcalEvent instead of event data
...
Following the sequence of porting commits, make the Shell's
search provider class handle events using GcalEvent classes
instead of the old GcalEventData structure.
2016-02-14 12:17:37 -02:00
Cosimo Cecchi
f4d015759d
Rename icon to match app ID
...
In preparation for xdg-app.
https://bugzilla.gnome.org/show_bug.cgi?id=761375
2016-01-31 15:13:55 -06:00
Georges Basile Stavracas Neto
adc83a7a93
application: turn into a final class
...
GcalApplication is not derivable, so turn it
into a final class and get rid of the private
field.
2016-01-19 18:43:11 -02:00
Georges Basile Stavracas Neto
87ecb99090
application: remove unused import
2015-05-25 12:35:58 -04:00
Georges Basile Stavracas Neto
7942677b8e
application: move GoaClient to manager
2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto
ebb08f5eeb
application: send a signal when GoaClient init finishes
2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto
0aad536ca1
application: add method to retrieve the GoaClient
2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto
71d93bd914
application: load a GoaClient on init
...
It is done here to make it reusable for
the future initial setup dialog too.
2015-05-25 12:35:56 -04:00
Erick Pérez Castellanos
0ac46215eb
app: make window NULL upon destruction
...
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=748166
2015-04-26 15:10:41 -04:00
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