aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMichael Meeks <mmeeks@src.gnome.org>2000-09-08 05:42:15 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2000-09-08 05:42:15 +0800
commitbe8c0eaaec13e63aefa1447a35be568ad8d5acdf (patch)
tree052a0fc1c55092f1784f166526b335b46b26f347 /calendar
parenta939d54562e93f3699f5818c1242423477fed4a8 (diff)
downloadgsoc2013-evolution-be8c0eaaec13e63aefa1447a35be568ad8d5acdf.tar
gsoc2013-evolution-be8c0eaaec13e63aefa1447a35be568ad8d5acdf.tar.gz
gsoc2013-evolution-be8c0eaaec13e63aefa1447a35be568ad8d5acdf.tar.bz2
gsoc2013-evolution-be8c0eaaec13e63aefa1447a35be568ad8d5acdf.tar.lz
gsoc2013-evolution-be8c0eaaec13e63aefa1447a35be568ad8d5acdf.tar.xz
gsoc2013-evolution-be8c0eaaec13e63aefa1447a35be568ad8d5acdf.tar.zst
gsoc2013-evolution-be8c0eaaec13e63aefa1447a35be568ad8d5acdf.zip
Preliminaries for new UI handler.
svn path=/trunk/; revision=5245
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/Makefile.am5
-rw-r--r--calendar/gui/ui.xml87
2 files changed, 92 insertions, 0 deletions
diff --git a/calendar/gui/Makefile.am b/calendar/gui/Makefile.am
index ae66b3f442..ac072c0b0c 100644
--- a/calendar/gui/Makefile.am
+++ b/calendar/gui/Makefile.am
@@ -134,3 +134,8 @@ evolution-calendar.pure: evolution-calendar
$(PLINK) $(evolution_calendar_LDFLAGS) $(evolution_calendar_OBJECTS) $(evolution_calendar_LDADD) $(LIBS)
endif
+
+uidir = $(datadir)/evolution/calendar
+ui_DATA = ui.xml
+
+EXTRA_DIST = ui.xml
diff --git a/calendar/gui/ui.xml b/calendar/gui/ui.xml
new file mode 100644
index 0000000000..bbf73ef340
--- /dev/null
+++ b/calendar/gui/ui.xml
@@ -0,0 +1,87 @@
+<Root>
+
+ <menu>
+ <submenu name="File" _label="_File">
+
+ <submenu name="New" _label="_New">
+
+ <menuitem name="CalendarNew" verb=""
+ _label="New Ca_lendar" _descr="Create a new calendar"/>
+
+ </submenu>
+
+ <submenu name="Open" _label="_Open">
+
+ <menuitem name="CalendarOpen" verb=""
+ _label="_Open Calendar" _descr="Open a calendar"/>
+
+ </submenu>
+
+ <menuitem name="CalendarSaveAs" verb=""
+ _label="_Save Calendar As" _descr="Save calendar As something else"/>
+
+ <placeholder name="Print">
+
+ <menuitem name="Print" verb="CalendarPrint"
+ _label="_Print this calendar"
+ pixtype="stock" pixname="Menu_Print"
+ accel="&lt;Control&gt;p"/>
+
+ </placeholder>
+
+ </submenu>
+
+ <submenu name="Edit" _label="_Edit">
+
+ <menuitem name="Appointment" _label="_New appointment..."
+ verb="EditNewAppointment" _descr="Create a new appointment"/>
+
+ <menuitem name="Preferences" _label="Preferences"
+ verb="CalendarPreferences" _descr="Alter preferences"/>
+
+ </submenu>
+
+ <submenu name="Help" _label="_Help">
+
+ <menuitem name="Calendar" _label="About Calendar"
+ _descr="All about the calendar" verb="AboutCalendar"/>
+
+ </submenu>
+ </menu>
+
+ <dockitem name="Toolbar">
+ <toolitem name="New" _label="New"
+ _decr="Create a new appointment" verb="EditNewAppointment"
+ pixtype="stock" pixname="New"/>
+
+ <toolitem type="separator"/>
+
+ <toolitem name="Print" _label="Print"
+ _descr="Print this calendar" verb="CalendarPrint"
+ pixtype="stock" pixname="Print"/>
+
+ <toolitem type="separator"/>
+
+ <toolitem name="Prev" label="Prev"
+ _descr="Go back in time" verb="CalendarPrev"
+ pixtype="stock" pixname="Back"/>
+
+ <toolitem name="Today" label="Today"
+ _descr="Go to present time" verb="CalendarToday"
+ pixtype="stock" pixname="Home"/>
+
+ <toolitem name="Next" label="Next"
+ _descr="Go forward in time" verb="CalendarNext"
+ pixtype="stock" pixname="Forward"/>
+
+ <toolitem type="separator"/>
+
+ <toolitem name="Goto" label="Go to"
+ _descr="Go to a specific data" verb="CalendarGoto"
+ pixtype="stock" pixname="Jump To"/>
+
+ <toolitem type="separator"/>
+
+ </dockitem>
+
+</Root> \ No newline at end of file