* backend/ebook/e-card-simple.c (field_data): Marked "name" and "short_name" fields for translation. (e_card_simple_get_name, e_card_simple_get_short_name): Return localized version of the name (using U_() macro). * gui/contact-editor/e-contact-editor.c (set_entry_changed_signals): Connect "changed" signal from "entry-web" entry to widget_changed. (changing this field wasn't making "Save and Close" button sensitive) * gui/widgets/Makefile.am (glade_DATA): Removed alphabet.glade. * gui/widgets/e-addressbook-view.c (button_labels, button_letters): New strings containing a list of labels and "values" of all buttons placed on the right side of the addressbook view (intended for localization). (struct LetterClosure): Changed the type of letter field to gunichar. (e_utf8_split): New function, similar to g_strsplit, but operates on UTF-8 strings. (jump_to_letter): Don't hardcode letters, build queries dynamically using UTF-8 and localized letters stored in button_letters. (connect_button): Removed. (create_alphabet): Don't use glade file, build buttons manually using (localized) labels from button_labels. Use (localized) values from button_letters when creating LetterClosure. * gui/widgets/e-minicard-view-widget.[ch] (e_minicard_view_widget_jump_to_letter): Changed the type of the second argument from char to gunichar. * gui/widgets/e-minicard-view.c (compare_to_utf_str): Renamed from compare_to_letter, now operates on UTF-8 string. (e_minicard_view_jump_to_letter): Changed the type of the second argument from char to gunichar + conversion to UTF-8 string. * gui/widgets/e-minicard-view.h (e_minicard_view_jump_to_letter): Changed the type of the second argument from char to gunichar. svn path=/trunk/; revision=12563
141 lines
4.5 KiB
Makefile
141 lines
4.5 KiB
Makefile
INCLUDES = \
|
|
-DG_LOG_DOMAIN=\"e-minicard\" \
|
|
-DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \
|
|
-DEVOLUTION_DATADIR=\""$(datadir)"\" \
|
|
-DEVOLUTION_IMAGESDIR=\""$(datadir)"/images/evolution\" \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/addressbook/backend/ebook \
|
|
-I$(top_srcdir)/addressbook/gui/contact-editor \
|
|
-I$(top_srcdir)/addressbook/gui/merging \
|
|
-I$(top_srcdir)/widgets/misc \
|
|
-I$(top_builddir)/shell \
|
|
$(BONOBO_GNOME_CFLAGS) \
|
|
$(EXTRA_GNOME_CFLAGS)
|
|
|
|
noinst_LIBRARIES = \
|
|
libeminicard.a
|
|
|
|
libeminicard_a_SOURCES = \
|
|
e-addressbook-reflow-adapter.c \
|
|
e-addressbook-reflow-adapter.h \
|
|
e-addressbook-table-adapter.c \
|
|
e-addressbook-table-adapter.h \
|
|
e-addressbook-model.c \
|
|
e-addressbook-model.h \
|
|
e-addressbook-util.c \
|
|
e-addressbook-util.h \
|
|
e-addressbook-view.c \
|
|
e-addressbook-view.h \
|
|
e-minicard-control.c \
|
|
e-minicard-control.h \
|
|
e-minicard-label.c \
|
|
e-minicard-label.h \
|
|
e-minicard-view-widget.c \
|
|
e-minicard-view-widget.h \
|
|
e-minicard-view.c \
|
|
e-minicard-view.h \
|
|
e-minicard-widget.c \
|
|
e-minicard-widget.h \
|
|
e-minicard.c \
|
|
e-minicard.h \
|
|
gal-view-factory-minicard.c \
|
|
gal-view-factory-minicard.h \
|
|
gal-view-minicard.c \
|
|
gal-view-minicard.h
|
|
|
|
#noinst_PROGRAMS = \
|
|
# minicard-widget-test \
|
|
# minicard-label-test \
|
|
# minicard-test
|
|
## reflow-test
|
|
## minicard-view-test
|
|
#
|
|
#minicard_label_test_SOURCES = \
|
|
# test-minicard-label.c
|
|
#
|
|
#minicard_label_test_LDADD = \
|
|
# libeminicard.a \
|
|
# $(EXTRA_GNOME_LIBS) \
|
|
# $(BONOBO_GNOME_LIBS) \
|
|
# $(top_builddir)/e-util/libeutil.la
|
|
#
|
|
#minicard_test_SOURCES = \
|
|
# test-minicard.c
|
|
#
|
|
#minicard_test_LDADD = \
|
|
# libeminicard.a \
|
|
# $(top_builddir)/addressbook/backend/ebook/libebook.la \
|
|
# $(top_builddir)/e-util/libeutil.la \
|
|
# $(top_builddir)/libversit/libversit.la \
|
|
# $(top_builddir)/e-util/ename/libename.la \
|
|
# $(top_builddir)/addressbook/gui/contact-editor/libecontacteditor.a \
|
|
# $(top_builddir)/addressbook/gui/contact-list-editor/libecontactlisteditor.a \
|
|
# $(top_builddir)/addressbook/printing/libecontactprint.a \
|
|
# $(top_builddir)/addressbook/gui/merging/libecardmerging.a \
|
|
# $(top_builddir)/widgets/misc/libemiscwidgets.a \
|
|
# $(top_builddir)/addressbook/gui/component/select-names/libeselectnames.la \
|
|
# $(top_builddir)/e-util/libeutil.la \
|
|
# $(EXTRA_GNOME_LIBS) \
|
|
# $(BONOBO_GNOME_LIBS) \
|
|
# $(GNOME_PRINT_LIBS) \
|
|
# libeminicard.a
|
|
#
|
|
#reflow_test_SOURCES = \
|
|
# test-reflow.c
|
|
#
|
|
#reflow_test_LDADD = \
|
|
# libeminicard.a \
|
|
# $(top_builddir)/addressbook/backend/ebook/libebook.la \
|
|
# $(top_builddir)/e-util/libeutil.la \
|
|
# $(top_builddir)/libversit/libversit.la \
|
|
# $(top_builddir)/e-util/ename/libename.la \
|
|
# $(top_builddir)/addressbook/contact-editor/libecontacteditor.a \
|
|
# $(top_builddir)/addressbook/printing/libecontactprint.a \
|
|
# $(top_builddir)/widgets/misc/libemiscwidgets.a \
|
|
# $(top_builddir)/e-util/libeutil.la \
|
|
# $(EXTRA_GNOME_LIBS) \
|
|
# $(BONOBO_GNOME_LIBS) \
|
|
# $(GNOME_PRINT_LIBS)
|
|
|
|
#minicard_view_test_SOURCES = \
|
|
# test-minicard-view.c
|
|
|
|
#minicard_view_test_LDADD = \
|
|
# $(EXTRA_GNOME_LIBS) \
|
|
# $(BONOBO_GNOME_LIBS) \
|
|
# libeminicard.a \
|
|
# $(top_builddir)/addressbook/backend/ebook/libebook.la \
|
|
# $(top_builddir)/e-util/libeutil.la \
|
|
# $(top_builddir)/libversit/libversit.la \
|
|
# $(top_builddir)/addressbook/ename/libename.la \
|
|
# $(top_builddir)/addressbook/contact-editor/libecontacteditor.a \
|
|
# $(top_builddir)/addressbook/printing/libecontactprint.a \
|
|
# $(top_builddir)/widgets/misc/libemiscwidgets.a \
|
|
# $(top_builddir)/e-util/libeutil.la
|
|
#
|
|
#minicard_widget_test_SOURCES = \
|
|
# e-minicard-widget-test.c
|
|
#
|
|
#minicard_widget_test_LDADD = \
|
|
# libeminicard.a \
|
|
# $(top_builddir)/addressbook/backend/ebook/libebook.la \
|
|
# $(top_builddir)/e-util/libeutil.la \
|
|
# $(top_builddir)/libversit/libversit.la \
|
|
# $(top_builddir)/e-util/ename/libename.la \
|
|
# $(top_builddir)/addressbook/gui/contact-editor/libecontacteditor.a \
|
|
# $(top_builddir)/addressbook/gui/contact-list-editor/libecontactlisteditor.a \
|
|
# $(top_builddir)/addressbook/gui/component/select-names/libeselectnames.la \
|
|
# $(top_builddir)/addressbook/printing/libecontactprint.a \
|
|
# $(top_builddir)/widgets/misc/libemiscwidgets.a \
|
|
# $(top_builddir)/e-util/libeutil.la \
|
|
# $(top_builddir)/addressbook/gui/merging/libecardmerging.a \
|
|
# $(EXTRA_GNOME_LIBS) \
|
|
# $(BONOBO_GNOME_LIBS) \
|
|
# $(GNOME_PRINT_LIBS)
|
|
|
|
gladedir = $(datadir)/evolution/glade
|
|
glade_DATA =
|
|
|
|
EXTRA_DIST = \
|
|
$(glade_DATA)
|