Commit Graph

279 Commits

Author SHA1 Message Date
1bd3678dbe [ fixes #21499 ]
2003-04-18  Rodney Dawes  <dobey@ximian.com>

	[ fixes #21499 ]
	* gui/component/Makefile.am:
	* gui/component/addressbook.c:
	* gui/component/select-names/e-select-names-bonobo.c:
	* gui/contact-editor/Makefile.am:
	* gui/contact-editor/e-contact-editor.c:
	* gui/contact-list-editor/Makefile.am:
	* gui/contact-list-editor/e-contact-list-editor.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ()

	* gui/Makefile.am:
	* gui/calendar-commands.c:
	* gui/tasks-control.c:
	* gui/dialogs/Makefile.am:
	* gui/dialogs/comp-editor.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ()

	* Makefile.am:
	* e-msg-composer.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ().
	Fixes bug #21499.

	* Makefile.am:
	* folder-browser-ui.c:
	* mail-signature-editor.c:
	* message-browser.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ().
	Fixes bug #21499.

	* Makefile.am:
	* e-summary-factory.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ()

	* e-shell-view.c: Use PREFIX instead of EVOLUTION_DATADIR for
	bonobo_ui_util_set_ui () [#21499]

svn path=/trunk/; revision=20888
2003-04-18 17:46:26 +00:00
faf463a7d6 Sort by the first column.
* e-summary-shown.c (SPEC): Sort by the first column.

* e-summary-preferences.c: Removed members new_url_entry,
new_name_entry from struct PropertyData.
(rdf_new_url_clicked_cb): Port to
GtkDialog and fix button order.  Also, use gtk_dialog_run()
instead of using callbacks.
(add_dialog_clicked_cb): Removed.

svn path=/trunk/; revision=20860
2003-04-16 14:44:14 +00:00
eff94ed4be Remove construct_pixmap_button (), use stock buttons
2003-04-12  Rodney Dawes  <dobey@ximian.com>

	* e-summary-shown.c: Remove construct_pixmap_button (), use stock buttons

svn path=/trunk/; revision=20836
2003-04-12 19:40:19 +00:00
73a4fab3f1 remove call to gtkhtml_set_default_background_color
2003-04-09  Larry Ewing  <lewing@ximian.com>

	* e-summary.c (e_summary_init): remove call to
	gtkhtml_set_default_background_color

svn path=/trunk/; revision=20776
2003-04-09 08:02:45 +00:00
2d5b5aca40 Properly terminate the "name" attribute tag added in the last change.
2003-04-08  Not Zed  <NotZed@Ximian.com>

	* GNOME_Evolution_Summary.server.in.in: Properly terminate the
	"name" attribute tag added in the last change.

svn path=/trunk/; revision=20747
2003-04-08 13:51:41 +00:00
f47b935f60 Add Darwin, Australia [#12066]. Fix Vilnius and Riga [#15740]. Fix
* Locations: Add Darwin, Australia [#12066]. Fix Vilnius
	and Riga [#15740]. Fix spelling of Gardermoen, Norway [#18015].
	Add Goetsenhoven and Spa, Belgium [#32027]

svn path=/trunk/; revision=20722
2003-04-07 18:14:16 +00:00
09b0a0389d clean up server names
* GNOME_Evolution_Summary.server.in.in: clean up server names

svn path=/trunk/; revision=20706
2003-04-07 16:13:48 +00:00
35561cc3d6 make the verbs static so they don't enter the global namespace.
2003-03-31  Larry Ewing  <lewing@ximian.com>

	* e-summary-factory.c: make the verbs static so they don't enter
	the global namespace.

svn path=/trunk/; revision=20608
2003-04-01 06:00:07 +00:00
c6ed3eedc8 Likewise.
* e-summary.c (e_summary_init): Likewise.

* e-summary-weather.c (e_summary_weather_get_html): Likewise.
(weather_make_html): Likewise.

* e-summary-mail.c (e_summary_mail_generate_html): Fix so it
handles the fact that the translated strings are already in UTF8.
* e-summary-rdf.c (tree_walk): Likewise.
(display_doc): Likewise.

svn path=/trunk/; revision=20553
2003-03-27 21:37:07 +00:00
33555a2b34 ** see bug #40141
2003-03-27  Not Zed  <NotZed@Ximian.com>

	** see bug #40141

	* e-summary-preferences.c (config_control_destroy_cb): Dont save
	prefs here, but restore the last saved.
	(config_control_apply_cb): save preferences here.

svn path=/trunk/; revision=20533
2003-03-26 23:53:05 +00:00
8cca88b4f6 New member physical_uri in struct ESummaryMailFolder. (new_folder_cb): Set
* e-summary-mail.c: New member physical_uri in struct
ESummaryMailFolder.
(new_folder_cb): Set it.
(remove_folder_cb): Free it.
(make_pretty_foldername): Rewritten to honour the display_name.
[#7153]

* e-summary.c (destroy): Only remove the source with ID
tomorrow_timeout_id if the ID is nonzero.

svn path=/trunk/; revision=20521
2003-03-26 19:30:54 +00:00
4670b852ed Update for e_notice move (do_summary_print): Pass a parent_window to
* e-summary.c: Update for e_notice move
	(do_summary_print): Pass a parent_window to e_notice

svn path=/trunk/; revision=20504
2003-03-25 15:49:58 +00:00
2fb0817743 (generate_html): Add a %P in the strftime
string for the case when the user wants am/pm format.  [#19957]

svn path=/trunk/; revision=20364
2003-03-19 20:03:29 +00:00
5b819c81ff pass FALSE for expand to e_summary_shown_add_node. ditto,
2003-03-13  Mike Kestner  <mkestner@ximian.com>

	* e-summary-preferences.c (fill_rdf_etable): pass FALSE for
	expand to e_summary_shown_add_node.
	* e-summary-shown.c (make_table): ditto, set_expanded_default to FALSE.
	(add_node): only call e_tree_node_set_expanded is expanded != default.
	* e-summary-weather.c (*_fill_etable): pass FALSE for expand to
	e_summary_shown_add_node.

svn path=/trunk/; revision=20284
2003-03-14 05:14:23 +00:00
959f74d6c6 (generate_html): Changed so its printf()s
are protected against default_uri being NULL.  Also, no need to do
e_utf8_from_locale_string() anymore.

svn path=/trunk/; revision=20281
2003-03-13 22:37:21 +00:00
ffec3e92a3 New, to free/thaw the ETree models. (e_summary_shown_add_node): Don't
* e-summary-shown.c (e_summary_shown_freeze,
	e_summary_shown_thaw): New, to free/thaw the ETree models.
	(e_summary_shown_add_node): Don't freeze/thaw around the single
	add here. That doesn't really help much.

	* e-summary-preferences.c (fill_rdf_etable): Freeze/thaw the
	ESummaryShown while filling it in.

	* e-summary-weather.c (e_summary_weather_fill_etable): Likewise.

svn path=/trunk/; revision=20263
2003-03-12 17:27:11 +00:00
fd2588484f Add some escapes to the newly added locations so they get split properly.
* Locations (name): Add some escapes to the newly added locations
so they get split properly.

* e-summary-weather.c (e_summary_weather_init_locations): Fetch
the Locations file from the right path.  If you find an invalid
entry in the Locations file, complain with an informative
g_warning() instead of just returning FALSE.
(e_summary_weather_fill_etable): Do the same thing here.

svn path=/trunk/; revision=20220
2003-03-07 19:46:38 +00:00
fee7743aa0 Added more Swedish locations, submitted by Marten
Woxberg.  [See #5344]

svn path=/trunk/; revision=20206
2003-03-06 18:06:30 +00:00
e60b2a82ff Use G_GNUC_FUNCTION instead of __FUNCTION__. Likewise. Likewise.
* e-summary-calendar.c (e_summary_calendar_protocol): Use
G_GNUC_FUNCTION instead of __FUNCTION__.
* e-summary-rdf.c (e_summary_rdf_update): Likewise.
* e-summary-tasks.c (e_summary_tasks_protocol): Likewise.
(e_summary_tasks_protocol): Likewise.
* e-summary-weather.c (e_summary_weather_update): Likewise.

svn path=/trunk/; revision=20199
2003-03-06 17:23:05 +00:00
cdac8a4da7 Likewise, assume weather_refresh_time of zero means "never update the
* e-summary-weather.c (e_summary_weather_set_online): Likewise,
assume weather_refresh_time of zero means "never update the
weather".
(e_summary_weather_init): Likewise here.
(e_summary_weather_reconfigure): And here.

* e-summary-rdf.c (e_summary_rdf_init): Don't add the news feeds
here -- it should be handled with a GConf schema.  Also, assume
that prefs is always not NULL (as is the case with the current
code), and interpret a timeout value of zero as "never update
automatically".
(e_summary_rdf_reconfigure): Likewise here.  If rdf->timeout is
zero, assume there is no pending timeout.
(e_summary_rdf_set_online): Likewise here.  Sigh, so much
duplication in this code.

svn path=/trunk/; revision=20174
2003-03-05 17:13:34 +00:00
e7c18148d0 dont call bonobo_main_quit anymore now we're shlib'ised.
2003-03-05  Not Zed  <NotZed@Ximian.com>

        * component-factory.c (owner_unset_cb): dont call bonobo_main_quit
        anymore now we're shlib'ised.

svn path=/trunk/; revision=20165
2003-03-05 02:08:38 +00:00
dad4d7df9c Don't need to use libalarm to set a timeout to change the date. We know
* e-summary.c (e_summary_init): Don't need to use libalarm to set
	a timeout to change the date. We know how many seconds away it is,
	so we can just set a timeout for then.

	* Makefile.am (summary_libs): Remove libalarm.a

svn path=/trunk/; revision=20106
2003-02-28 18:10:05 +00:00
d40f089a70 Make libversit a shared library, update stuff for that, and clean up
some LDADDs in the process

svn path=/trunk/; revision=19994
2003-02-21 21:24:34 +00:00
986f2ace07 Make libemiscwidgets, libefilterbar, and libetimezonedialog dynamic
libraries, so they can be portably linked into the (shared library)
components. (Part 1 of N.)

svn path=/trunk/; revision=19971
2003-02-20 16:48:43 +00:00
4481f892e1 revert previous change
svn path=/trunk/; revision=19968
2003-02-20 05:38:56 +00:00
350ea91193 s/libalarm.a/libalarm.la/
* Makefile.am (summary_libs): s/libalarm.a/libalarm.la/

svn path=/trunk/; revision=19966
2003-02-20 04:44:13 +00:00
4a739f7cb5 Declare xmlSubstituteEntitiesDefaultValue extern. (message_finished): And
* e-summary-rdf.c: Declare xmlSubstituteEntitiesDefaultValue
        extern.
        (message_finished): And set its value here. Fixes a duplicate
        symbol error on OS X.

svn path=/trunk/; revision=19962
2003-02-20 03:32:43 +00:00
29fb1732b2 Split the IDL generated rules so ${ORBIT_IDL}
doesn't get invoked multiple times in parallel.
(BUILT_SOURCES): Added this.
(CLEANFILES): And this.

svn path=/trunk/; revision=19873
2003-02-10 17:29:19 +00:00
4b5278202b Fix typo in previous commit
* Makefile.am (INCLUDES): Fix typo in previous commit

svn path=/trunk/; revision=19821
2003-02-06 17:53:35 +00:00
13dd7b2350 clean up, update, etc
* Makefile.am: clean up, update, etc

        * component-factory.c: #include string.h

        * e-summary.c (e_pixmap_file): s/IMAGEDIR/IMAGESDIR/

        * e-summary-rdf.c: Fix some warnings

svn path=/trunk/; revision=19802
2003-02-06 15:35:20 +00:00
a4f9deac83 s/BonoboXObject/BonoboObject/
* e-summary-offline-handler.c: s/BonoboXObject/BonoboObject/

svn path=/trunk/; revision=19765
2003-02-05 18:45:22 +00:00
9c3b7cbe49 Define componentdir instead of COMPONENT_DIR. Set it to
* configure.in (idldir): Define componentdir instead of
COMPONENT_DIR.  Set it to $privlibdir/components instead of
$libdir/evolution-$(BASE_VERSION)/components.

* gui/component/select-names/Makefile.am (componentdir): Remove
definition; no need to set it here since it's now defined in
configure.in
* gui/component/Makefile.am (componentdir): Likewise.

* gui/Makefile.am (componentdir): Removed definition; this is now
defined in configure.in.

* Makefile.am (componentdir): Removed definition; this is now
defined in configure.in.

* Makefile.am (componentdir): Removed definition; this is now
defined in configure.in.

svn path=/trunk/; revision=19588
2003-01-23 17:47:06 +00:00
62e341e4c5 Get my-evolution.xml from EVOLUTION_UI_DIRECTORY.
* e-summary-factory.c (control_activate): Get my-evolution.xml
from EVOLUTION_UI_DIRECTORY.

* e-summary.c (e_pixmap_file): Use EVOLUTION_IMAGEDIR.
(e_pixmap_file): Use EVOLUTION_BUTTONSDIR.

* e-summary-weather.c (e_summary_weather_init_locations): Use
LOCATIONDIR.
(e_summary_weather_fill_etable): Likewise.

* Makefile.am (Locationdir): Version using $(BASE_VERSION).
(gladedir): Likewise.
(INCLUDES): Define EVOLUTION_IMAGEDIR.

svn path=/trunk/; revision=19563
2003-01-22 20:13:09 +00:00
7e69a5ad65 Updated locations for EU_FI, contributed by Pekka
Pietikainen <Pekka.Pietikainen@nixu.com>.

svn path=/trunk/; revision=19526
2003-01-20 17:49:03 +00:00
cb3680a11f (EXTRA_DIST): Add $(schema_DATA).
svn path=/trunk/; revision=19455
2003-01-14 18:31:19 +00:00
8bb0817016 fix a past-o with the physical_uri_list prepend.
2003-01-13  Not Zed  <NotZed@Ximian.com>

        * e-summary-preferences.c (e_summary_preferences_save): fix a
        past-o with the physical_uri_list prepend.

svn path=/trunk/; revision=19422
2003-01-13 06:01:31 +00:00
2a3599cb52 glist->gslist for display_folders list (mail_change_notify): "
2003-01-10  Not Zed  <NotZed@Ximian.com>

        * e-summary-mail.c (new_folder_cb): glist->gslist for
        display_folders list
        (mail_change_notify): "
        (e_summary_mail_reconfigure): ", and also traverse the list
        forwards, since we can't go backwards since its now an slist.

        * e-summary-preferences.c (e_summary_preferences_restore): append
        new folder entries to the folders list.
        (config_control_apply_cb): display_folders is a list of folders,
        not a list of strings, treat accordingly.

svn path=/trunk/; revision=19389
2003-01-10 03:15:01 +00:00
9147ed28f4 change gtk_widget_show to gtk_widget_show_all so all the various custom
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* e-summary-preferences.c (e_summary_preferences_create_control):
	change gtk_widget_show to gtk_widget_show_all so all the various
	custom widgets are displayed.

svn path=/trunk/; revision=19379
2003-01-09 22:19:49 +00:00
592c5b2ff2 (e_pixmap_file): Update to use
$(datadir)/evolution/images/ instead of
$(datadir)/images/evolution to fetch the icons.

svn path=/trunk/; revision=19298
2003-01-08 23:39:16 +00:00
711982b8ec (make_table): Do not ref/sink the ETreeMemory
object.

svn path=/trunk/; revision=19140
2002-12-16 21:33:05 +00:00
57918de62e Removed Marquette from the listing, it is no longer listed by METAR. This
* Locations: Removed Marquette from the listing, it is no longer listed by METAR.  This is per bug 29693.

* Locations.h: Removed Marquette from the listing, it is no longer listed by METAR.

svn path=/trunk/; revision=19100
2002-12-12 00:11:58 +00:00
4b1cfd51be Change description passed to
BONOBO_ACTIVATION_SHLIB_FACTORY to correctly say we are a factroy.

svn path=/trunk/; revision=19042
2002-12-06 17:31:42 +00:00
aef8f713ae Define COMPONENT_DIR.
* configure.in: Define COMPONENT_DIR.

* Makefile.am (componentdir): Install in $(COMPONENT_DIR), not in
${prefix}/evolution/components.

svn path=/trunk/; revision=19008
2002-12-04 20:38:42 +00:00
e53eacd2d9 Updated to be a shared library.
* GNOME_Evolution_Summary.server.in.in: Updated to be a shared
library.

* main.c: Removed.

* Makefile.am: Update to compile as a shared library.

* component-factory.c: Changed to be a shared library factory, for
both the ShellComponent and the ConfigControl objects.

* e-summary-preferences.c
(e_summary_preferences_init_config_control): Renamed from
e_summary_preferences_register_config_control_factory.
(e_summary_preferences_create_control): Renamed from factory_fn
and removed all args.

svn path=/trunk/; revision=19007
2002-12-04 19:52:45 +00:00
c88d7c4d1e GNOME_STOCK_*NEXT/PREV -> GTK_STOCK_*GO_BACK/FORWARD.
2002-11-27  Not Zed  <NotZed@Ximian.com>

        * e-summary-shown.c (e_summary_shown_init): GNOME_STOCK_*NEXT/PREV ->
        GTK_STOCK_*GO_BACK/FORWARD.

        * e-summary.[ch]: ran fix.sh over this.

svn path=/trunk/; revision=18975
2002-12-02 03:19:25 +00:00
e937e8ddfe (component_destroy): Removed.
(create_component): Do not connect.

svn path=/trunk/; revision=18913
2002-11-25 19:39:19 +00:00
d28115c200 (owner_unset_cb): bonobo_main_quit() instead
of gtk_main_quit().
(component_destroy): Likewise.

svn path=/trunk/; revision=18868
2002-11-20 22:52:35 +00:00
6a9d2e6b0d Removed unused #define COMPONENT_FACTORY_ID. (component_factory_init):
* component-factory.c: Removed unused #define
COMPONENT_FACTORY_ID.
(component_factory_init): Removed unused variable.

* GNOME_Evolution_Summary.server.in.in: Updated to not use a
factory, which is what the code actually expects.

svn path=/trunk/; revision=18867
2002-11-20 22:46:40 +00:00
ba846b6b54 Use GConf.
* e-summary.c (e_summary_init): Use GConf.

* e-summary-tasks.c: Replaced member config_listener in
ESummaryTasks with a gconf_client.
(setup_gconf_client): Renamed from setup_config_listener().  Set
up the GConf client and invoke gconf_client_add_dir() on the
interesting namespaces.
(gconf_client_value_changed_cb): Renamed from
config_listener_value_changed_cb and changed prototype to match
that of the "value_changed" signal in GConfClient.
(setup_task_folder): Updated to use GConf.

* e-summary-calendar.c: Replaced member config_listener with a
gconf_listener.
(setup_calendar): Use GConf.
(setup_gconf_client): Renamed from setup_config_listener.  Set up
a GConf client and invoke gconf_client_add_dir() on the
interesting namespaces.
(gconf_client_value_changed_cb): Renamed from
config_listener_key_changed_cb() and changed prototype to match
that of the "value_changed" signal in GConfClient.
(locale_uses_24h_time_format): Removed.
(e_summary_calendar_free): g_object_unref() the gconf_client.

* Makefile.am: Add rules to install the schemas.

* apps_evolution_summary.schemas: New.

* e-summary-preferences.c: Did a global GList -> GSList switch.
(e_summary_preferences_restore): Use GConfClient instead of
EConfigListener.
(vector_from_folder_list): Removed since GConf makes this useless.
(folder_list_from_vector): Likewise.
(str_list_from_vector): Likewise.
(vector_from_str_list): Likewise.
(make_initial_weather_list): Likewise.
(make_initial_rdf_list): Likewise.
(make_initial_mail_list): Likewise.
(e_summary_preferences_save): Use GConf.
(e_summary_preferences_init): No need to set up defaults here.

* e-summary.h: Changed members display_folders, rdf_urls, stations
in ESummaryPrefs to be GSLists instead of GLists; updated all the
functions that use them accordingly.

svn path=/trunk/; revision=18863
2002-11-20 21:57:43 +00:00
e0edfe0bca Added rule to generate GNOME_Evolution_Summary.server.in from
* Makefile.am: Added rule to generate
GNOME_Evolution_Summary.server.in from
GNOME_Evolution_Summary.server.in.in, substituting @LIBEXECDIR@.
Also, install evolution-executive-summary in $libexecdir instead
of $bindir.

* GNOME_Evolution_Summary.server.in.in: Removed the @OAF_SHLIB_*@
stuff and added @LIBEXECDIR@/ to the executable's name instead.

svn path=/trunk/; revision=18791
2002-11-15 22:05:13 +00:00