aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
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 /addressbook
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 'addressbook')
-rw-r--r--addressbook/gui/component/Makefile.am5
-rw-r--r--addressbook/gui/component/ui.xml62
2 files changed, 66 insertions, 1 deletions
diff --git a/addressbook/gui/component/Makefile.am b/addressbook/gui/component/Makefile.am
index d531c420ac..6837984d93 100644
--- a/addressbook/gui/component/Makefile.am
+++ b/addressbook/gui/component/Makefile.am
@@ -72,7 +72,7 @@ glade_DATA = ldap-server-dialog.glade ldap-server-dialog.glade.h alphabet.glade
EXTRA_DIST = \
$(glade_DATA) \
$(oaf_DATA) \
- alphabet.glade.h
+ alphabet.glade.h ui.xml
if ENABLE_PURIFY
PLINK = $(LIBTOOL) --mode=link $(PURIFY) $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
@@ -84,3 +84,6 @@ evolution-addressbook.pure: evolution-addressbook
$(PLINK) $(evolution_addressbook_LDFLAGS) $(evolution_addressbook_OBJECTS) $(evolution_addressbook_LDADD) $(LIBS)
endif
+
+uidir = $(datadir)/evolution/addressbook
+ui_DATA = ui.xml
diff --git a/addressbook/gui/component/ui.xml b/addressbook/gui/component/ui.xml
new file mode 100644
index 0000000000..13f86d4874
--- /dev/null
+++ b/addressbook/gui/component/ui.xml
@@ -0,0 +1,62 @@
+<Root>
+
+ <menu>
+ <submenu name="File" _label="_File">
+
+ <placeholder name="Print">
+
+ <menuitem name="Print" verb="ContactsPrint"
+ _label="_Print Contacts..."
+ pixtype="stock" pixname="Menu_Print"/>
+
+ </placeholder>
+
+ </submenu>
+
+ <submenu name="View" _label="_View">
+
+ <menuitem name="AsTable" _label="As _Table"
+ verb="ViewAsTable"/>
+
+ <menuitem name="ViewNewContact" verb=""
+ _label="_New Contact"/>
+
+ </submenu>
+
+ <placeholder name="Component">
+
+ <submenu name="Tools" _label="_Tools">
+
+ <menuitem name="Search" verb="ToolSearch"
+ _label="_Search for contacts"
+ pixtype="stock" pixname="Menu_Search"/>
+
+ </submenu>
+
+ </placeholder>
+ </menu>
+
+ <dockitem name="Toolbar">
+ <toolitem name="New" _label="New"
+ _decr="Create a new contact" verb="ContactNew"
+ pixtype="stock" pixname="New"/>
+
+ <toolitem type="separator"/>
+
+ <toolitem name="Find" _label="Find"
+ _descr="Find a contact" verb="ContactFind"
+ pixtype="stock" pixname="Search"/>
+
+ <toolitem name="Print" _label="Print"
+ _descr="Print contacts" verb="ContactsPrint"
+ pixtype="stock" pixname="Print"/>
+
+ <toolitem name="Delete" label="Delete"
+ _descr="Delete a contact" verb="ContactDelete"
+ pixtype="stock" pixname="Trash"/>
+
+ <toolitem type="separator"/>
+
+ </dockitem>
+
+</Root> \ No newline at end of file