aboutsummaryrefslogtreecommitdiffstats
path: root/shell
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 /shell
parenta939d54562e93f3699f5818c1242423477fed4a8 (diff)
downloadgsoc2013-evolution-be8c0eaaec13e63aefa1447a35be568ad8d5acdf.tar.gz
gsoc2013-evolution-be8c0eaaec13e63aefa1447a35be568ad8d5acdf.tar.zst
gsoc2013-evolution-be8c0eaaec13e63aefa1447a35be568ad8d5acdf.zip
Preliminaries for new UI handler.
svn path=/trunk/; revision=5245
Diffstat (limited to 'shell')
-rw-r--r--shell/Makefile.am7
-rw-r--r--shell/ui.xml105
2 files changed, 109 insertions, 3 deletions
diff --git a/shell/Makefile.am b/shell/Makefile.am
index f85a7ae14a..aa5a9156ba 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -12,7 +12,7 @@ INCLUDES = \
-DEVOLUTION_GLADEDIR=\"$(datadir)/evolution/glade\" \
-DG_LOG_DOMAIN=\"evolution-shell\"
-EXTRA_DIST = $(IDLS)
+EXTRA_DIST = $(IDLS) ui.xml
CLEANFILES = $(IDL_GENERATED)
@@ -117,6 +117,9 @@ evolution_LDADD = \
$(UNICODE_LIBS) \
$(BONOBO_GNOME_LIBS)
+uidir = $(datadir)/evolution/shell
+ui_DATA = ui.xml
+
# Purify support
if ENABLE_PURIFY
@@ -130,5 +133,3 @@ evolution.pure: evolution
$(PLINK) $(evolution_LDFLAGS) $(evolution_OBJECTS) $(evolution_LDADD) $(LIBS)
endif
-
-
diff --git a/shell/ui.xml b/shell/ui.xml
new file mode 100644
index 0000000000..a3127f4874
--- /dev/null
+++ b/shell/ui.xml
@@ -0,0 +1,105 @@
+<Root>
+ <menu>
+ <submenu name="File" _label="_File">
+ <submenu name="New" _label="_New">
+ <menuitem name="View" verb="NewView" _label="_View"
+ accel="&lt;Control&gt;&lt;Shift&gt;v"
+ pixtype="stock" pixname="Menu_New"/>
+
+ <menuitem name="Folder" verb="NewFolder"
+ _label="_Folder"
+ accel="&lt;Control&gt;&lt;Shift&gt;f"/>
+
+ <menuitem name="Shortcut" verb="NewBarShortcut"
+ _label="Evolution bar _shortcut"
+ accel="&lt;Control&gt;&lt;Shift&gt;s"/>
+
+ <menuitem/>
+
+ <menuitem name="Mail" verb="NewMailMessage"
+ _label="_Mail message (FIXME)"
+ accel="&lt;Control&gt;&lt;Shift&gt;m"/>
+
+ <menuitem name="Appointment" verb="NewAppointment"
+ _label="_Appointment (FIXME)"
+ accel="&lt;Control&gt;&lt;Shift&gt;a"/>
+
+ <menuitem name="Contact" verb="NewContact"
+ _label="_Contact (FIXME)"
+ accel="&lt;Control&gt;&lt;Shift&gt;c"/>
+
+ <menuitem name="Task" verb="NewTask"
+ _label="_Task (FIXME)"
+ accel="&lt;Control&gt;&lt;Shift&gt;t"/>
+ </submenu>
+
+ <menuitem/>
+
+ <menuitem name="FileGoToFolder" verb=""
+ _label="_Go to Folder..."
+ _descr="Display a different folder"/>
+
+ <menuitem name="FileCreateFolder" verb=""
+ _label="_Create New Folder..."
+ _descr="Create a new folder"/>
+
+ <placeholder name="Print" delimit="bottom"/>
+
+ <menuitem name="FileExit" verb=""
+ _label="E_xit" _descr="Exit the program"
+ pixtype="stock" pixname="Menu_Quit"
+ accel="&lt;Control&gt;q"/>
+
+ </submenu>
+
+ <submenu name="Edit" _label="_Edit"/>
+
+ <submenu name="View" _label="_View">
+
+ <menuitem name="ShortcutBar" type="toggle"
+ id="ViewShortcutBar" _label="Show the _Shortcut Bar"
+ _descr="Toggle whether to show the shortcut bar"/>
+
+ <menuitem name="FolderBar" type="toggle"
+ id="ViewFolderBar" _label="Show the _Folder Bar"
+ _descr="Toggle whether to show the folder bar"/>
+
+ </submenu>
+
+ <submenu name="Settings" _label="_Settings"/>
+
+ <placeholder name="Component"/>
+
+ <submenu name="Help" _label="_Help">
+
+ <menuitem name="HelpIndex" verb=""
+ _label="_Index"/>
+
+ <menuitem name="HelpGetStarted" verb=""
+ _label="Getting _Started"/>
+
+ <menuitem name="HelpUsingMail" verb=""
+ _label="Using the _Mailer"/>
+
+ <menuitem name="HelpUsingCalender" verb=""
+ _label="Using the _Calender"/>
+
+ <menuitem name="HelpUsingContact" verb=""
+ _label="Using the C_ontact Manager"/>
+
+ <menuitem/>
+
+ <menuitem name="HelpSubmitBug" verb=""
+ _label="_Submit Bug Report"
+ _descr="Submit bug report using Bug Buddy"/>
+
+ <menuitem/>
+
+ <menuitem name="HelpAbout" verb=""
+ _label="_About Evolution..."
+ _descr="Show information about Evolution"
+ pixtype="stock" pixname="Menu_About"/>
+
+ </submenu>
+ </menu>
+</Root> \ No newline at end of file