Added GSettings to read/set the active view.

Placed code to generate G_TYPE_ENUM from my defined enums
Semi-integrated GcalWeekView
Updated TODO.
This commit is contained in:
Erick Pérez Castellanos
2012-07-11 10:50:28 -04:00
parent 55292f68ac
commit e09ce361b0
15 changed files with 394 additions and 150 deletions
+4
View File
@@ -4,6 +4,10 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
gsettings_ENUM_NAMESPACE = org.gnome.calendar
gsettings_ENUM_FILES = \
$(top_srcdir)/src/gcal-utils.h
gsettingsschema_in_files = org.gnome.calendar.gschema.xml.in
gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
.PRECIOUS: $(gsettings_SCHEMAS)
+1 -1
View File
@@ -48,7 +48,7 @@
padding-bottom: 2px;
padding-left: 8px;
padding-right: 8px;
font: 10;
font: 9;
}
.event-details .frame {
+5
View File
@@ -5,5 +5,10 @@
<_summary>Window maximized</_summary>
<_description>Window maximized state</_description>
</key>
<key name="active-view" enum="org.gnome.calendar.GcalWindowViewType">
<default>'month'</default>
<_summary>Type of the active view</_summary>
<_description>Type of the active window view, default value is: monthly view</_description>
</key>
</schema>
</schemalist>