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:
@@ -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
@@ -48,7 +48,7 @@
|
||||
padding-bottom: 2px;
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
font: 10;
|
||||
font: 9;
|
||||
}
|
||||
|
||||
.event-details .frame {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user