Commit Graph

86 Commits

Author SHA1 Message Date
db01b7e61d This patch HIG-ifies the "New News Feed" dialog, by using a table with
2003-05-19  Anna Marie Dirks  <anna@ximian.com>

	* e-summary-preferences.c: This patch HIG-ifies the "New News Feed"
	dialog, by using a table with appropriate spacing instead of hboxes.
	Also fixes an invalid cast of gtk_dialog->gnome_dialog.

svn path=/trunk/; revision=21251
2003-05-19 15:24:01 +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
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
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
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
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
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
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
74b947cdfc Replaced all gtk_signal_connect() calls with g_signal_connect() ones.
* e-summary-calendar.c: Replaced all gtk_signal_connect() calls
with g_signal_connect() ones.
* e-summary-mail.c: Likewise.
* e-summary-offline-handler.c: Likewise.
* e-summary-preferences.c: Likewise.
* e-summary-shown.c: Likewise.
* e-summary-tasks.c: Likewise.
* e-summary.c: Likewise.

svn path=/trunk/; revision=18754
2002-11-14 17:59:52 +00:00
8f7b3fabe5 gtk_widget_destroy() instead of gtk_object_destroy().
* e-summary-factory.c (control_destroy_cb): gtk_widget_destroy()
instead of gtk_object_destroy().
(e_summary_factory_new_control): Likewise.

* e-summary-calendar.c: Use g_object_ref()/g_object_unref()
instead of gtk_object_ref()/gtk_object_unref().
* e-summary-preferences.c: Likewise.
* e-summary-shown.c: Likewise.
* e-summary-table.c: Likewise.
* e-summary-tasks.c: Likewise.
* e-summary.c: Likewise.

* e-summary-preferences.c (e_summary_preferences_make_mail_table):
g_object_set_data() instead of gtk_object_set_data().
(make_property_dialog): g_object_get_data() instead of
gtk_object_get_data().
(get_folders_from_view): Likewise.

* component-factory.c (create_view): Use
evolution_shell_client_corba_objref() instead of
bonobo_object_corba_objref() on the EvolutionShellClient object.
Also, use g_object_get_data() instead of gtk_object_get_data().
(owner_set_cb): Likewise.
(create_component): Use g_object_set_data() instead of
gtk_object_set_data().

svn path=/trunk/; revision=18710
2002-11-11 21:19:24 +00:00
f36f2d1fcf #include <string.h>.
* metar.c: #include <string.h>.

* main.c (main): Use gnome_program_init().

* e-summary-tasks.c (e_summary_tasks_protocol): Use
bonobo-activation.

* e-summary-table.c (set_value_at): Use g_signal_emit() instead of
gtk_signal_emit().

* e-summary-shown.c (e_summary_shown_class_init): GObjectified.
(construct_pixmap_button): Use gtk_image_new_from_stock() instead
of gnome_stock_pixmap_new().

* e-summary-preferences.c (e_summary_preferences_restore): Use
EConfigListener.
(add_dialog_clicked_cb): Add some missing consts.
(factory_fn): Pass NULL as the domain arg to glade_xml_new().
(factory_fn): Add id arg.
(e_summary_preferences_register_config_control_factory):

* e-summary-mail.c (e_summary_folder_init_folder_store): Use
bonobo-activation.

* e-summary-factory.c (control_activate): Pass NULL ev arg to
bonobo functions that now need it.
(control_deactivate): Likewise.
(control_activate_cb): Likewise.
(e_summary_factory_new_control): Use g_signal_connect() instead of
gtk_signal_connect().

* e-summary-calendar.c (e_summary_calendar_protocol): Use
bonobo_activation.

* e-summary.c: Update gnome-print #includes.  Added some missing
#includes.
(e_summary_url_clicked): Pass NULL as the error arg to
gnome_url_show().
(do_summary_print): Use GnomePrintConfig instead of GnomePrinter
et al.

* e-cell-tri.h: Removed BEGIN_GNOME_DECLS/END_GNOME_DECLS.

* e-summary.c: Removed #include <libgnome/gnome-defs.h>.  Ported
to e-config-listener.c.

* e-cell-tri.h: Removed #include <libgnome/gnome-defs.h>.

* component-factory.c: #include <gtk/gtkmain.h>.
(create_component): Use g_signal_connect.  Match prototype with
the one required by bonobo_generic_factory().

* Makefile.am: Add @INTLTOOL_SERVER_RULE@.
($(MAIL_GENERATED)): Update with new ORBit rules.

svn path=/trunk/; revision=18574
2002-11-06 00:42:52 +00:00
3fee618acf Removed debugging message.
* e-cell-tri.c (set_value): Removed debugging message.

* e-summary-factory.c (control_activate): Removed the call to
e_summary_thaw().
(control_deactivate): Removed the call to e_summary_freeze().

* e-summary-mail.c (folder_gen_html): Removed debugging message.
(insert_path_recur): Likewise.
(add_storage_to_table): Likewise.
(folder_info_pb_changed): Likewise.
(lazy_register_storages): Likewise.

* e-summary-weather.c: #include "e-summary-preferences.h".
(e_summary_weather_update): Removed debugging message.

* e-summary-offline-handler.c: #include <gtk/gtksignal.h>.

* main.c: #include <gconf/gconf.h> and <gal/widgets/e-cursors.h>.

* e-summary-preferences.c (free_rdf_info): Removed unused
function.
(find_name_for_url): Likewise.
(mail_etable_item_changed_cb): Likewise.
(maybe_add_to_shown): Likewise.
(get_folders_from_view): Removed debugging messages.

* e-summary-rdf.c (tree_walk): Removed debugging message.
(e_summary_rdf_update): Likewise.

* e-summary-shown.c (find_entry_from_location): Removed unused
function.
(maybe_move_to_shown): Removed debugging message.

* e-summary-tasks.c: New members cal_open_reload_timeout_id and
reload_count in ESummaryTasks.
(generate_html): Return if the load_state of the cal_client is not
CAL_CLIENT_LOAD_LOADED.
(cal_open_reload_timeout): New; timeout function for attempting to
reload the calendar if the first attempt failed.
(cal_opened_cb): If the load failed, register
cal_open_reload_timeout to try again after one second.
(setup_task_folder): If there is a pending timeout callback
[cal_open_reload_timeout_id nonzero], remove it.
(e_summary_tasks_init): Call setup_task_folder().
(e_summary_tasks_free): If there is a pending timeout callback
[cal_open_reload_timeout_id nonzero], remove it.

* e-summary-calendar.c: New members cal_open_reload_timeout_id and
reload_count in ESummaryCalendar.
(e_cal_comp_util_compare_event_timezones): Renamed to
compare_event_timezones() and made static.
(generate_html): Return if the load_state of the cal_client is not
CAL_CLIENT_LOAD_LOADED.  Call e_summary_draw() before returning.
(cal_open_reload_timeout): New; timeout function for attempting to
reload the calendar if the first attempt failed.
(cal_opened_cb): Return if the load_state of the cal_client is not
CAL_CLIENT_LOAD_LOADED.
(e_summary_calendar_reconfigure): Call setup_calendar() so that,
if the default folder has changed, it gets reloaded.
(setup_calendar): If there is a pending timeout callback
[cal_open_reload_timeout_id nonzero], remove it.
(e_summary_calendar_free): Likewise.

* e-summary.c: New member queue_draw_idle_id in ESummaryPrivate.
Removed member redraw_pending.
(destroy): If queue_draw_idle_id is nonzero, remove the
corresponding glib mainloop source.
(draw_idle_cb): New function to regenerate the HTML in the idle
loop; moved all the code from e_summary_draw() in here.
(e_summary_draw): Set up draw_idle_cb as an idle callback.
(e_summary_init): Initialize queued_draw_idle_id.
(e_summary_reload_timeout): Call e_summary_calendar_reconfigure()
and e_summary_tasks_reconfigure().  Removed debugging message.
(e_summary_set_online): Removed debugging message.
(e_summary_freeze): Removed.
(e_summary_thaw): Removed.

svn path=/trunk/; revision=18443
2002-10-25 22:05:14 +00:00
91fae69957 Replace Gnotices with Footnotes.
* e-summary-preferences.c: Replace Gnotices with Footnotes.

* e-summary-tasks.c: New member config_listener in ESummaryTasks.
(e_summary_tasks_free): Unref the config_listener.
(config_listener_key_changed_cb): New, callback for the
config_listener.
(setup_task_folder): New helper function to set up access to the
task folder.
(setup_config_listener): New.
(e_summary_tasks_init): Use setup_config_listener() and
setup_task_folder().

* e-summary-calendar: New member config_listener in
ESummaryCalendar.
(setup_config_listener): New.
(config_listener_key_changed_cb): New callback for the
config_listener.
(setup_calendar): New.
(e_summary_calendar_init): Use setup_config_listener() and
setup_calendar().

svn path=/trunk/; revision=18417
2002-10-23 17:37:55 +00:00
ec11be672d Add member physical_uri to ESummaryMailFolder.
Removed member name.  Renamed FolderStore.folders to
FolderStore.path_to_folder and added
FolderStore.physical_uri_to_folder.
(new_folder_cb): Set physical_uri member.
(update_folder_cb): Likewise.
(new_folder_cb): Pass physical_uri to
e_summary_mail_idle_get_info().  Also g_strdup() it since that's
what it expects.
(remove_folder_cb): Free physical_uri.
(mail_change_notify): Compare against folder->physical_uri, not
->path.
(e_summary_mail_reconfigure): Pass folder->physical_uri to
e_summary_mail_get_info, not ->path.
(e_summary_mail_uri_to_name): Removed.
(e_summary_folder_init_folder_store): Initialize path_to_folder
and physical_uri_to_folder.
(new_folder_cb): Add the folder to the physical_uri_to_folder hash
too.
(mail_change_notify): Use physical_uri_to_folder to figure out the
folder from the uri.
(e_summary_mail_reconfigure): Here as well.

svn path=/trunk/; revision=18239
2002-09-26 20:22:45 +00:00
97cc462bb3 (folder_list_from_vector): Do some
sanity checking so we don't crash miserably as in #28481.

svn path=/trunk/; revision=18238
2002-09-26 19:22:33 +00:00
b3dddffe69 Take out CNN and DebianPlanet, which do
not seem to work for me.

svn path=/trunk/; revision=18237
2002-09-26 18:46:51 +00:00
377a4e07ab Remove duff URIs and comment out the set_release call until I know what it does and why it's crashing
svn path=/trunk/; revision=17759
2002-08-12 16:42:41 +00:00
e8e6da1676 Actually pass the evolution URI, not the path, in Folder.evolutionUri
* e-summary-preferences.c (set_selected_folders): Actually pass
the evolution URI, not the path, in Folder.evolutionUri (since now
the shell StorageSetView implementation has been fixed to handle
this field properly).

* evolution-storage-set-view.c
(impl_StorageSetView__set_checkedFolders): Handle
Folder.evolutionUri as a URI, not as a path.  Also use
e_free_string_list().

svn path=/trunk/; revision=17425
2002-07-11 21:14:52 +00:00
8d4ff95e73 (set_selected_folders): Set the
customIconName part to the empty string.  [#27616]
Also, set_release on the sequence to TRUE.

svn path=/trunk/; revision=17423
2002-07-11 20:53:33 +00:00
9a210db24f Fix bugs, make the folder list be a storage set view and add a delete url button
svn path=/trunk/; revision=17290
2002-06-26 15:42:01 +00:00
3b787a2d62 Make the new button work again, add some spacing.
svn path=/trunk/; revision=16943
2002-05-20 16:40:09 +00:00
06f657a957 Allow IMAP folders and VFolders and make the mail summaries show and make the etables almost work perfectly
svn path=/trunk/; revision=16556
2002-04-22 16:18:33 +00:00
91b1b55714 Make the preferences seperate from the views
svn path=/trunk/; revision=16338
2002-04-04 12:10:37 +00:00
3b9ea2d060 [Some initial broken support for building components as shlib. Mostly
just a playground for testing the idea.]

* Makefile.am: Added support for the ENABLE_SHLIB_COMPONENTS
conditional.

* GNOME_Evolution_Summary.oaf.in.in: New.

* e-summary-mail.c (update_folder_cb): Protect against
summary->mail being NULL.

* component-factory.c: Add a shlib factory.
(create_component): Get a @factory and @data.
(component_factory_init): Actually make it use a
BonoboGenericFactory again.

* configure.in: Add argument `--enable-shlib-components'.  New
substitutions OAF_SHLIB_LOCATION, OAF_SHLIB_PREFIX,
OAF_SHLIB_SUFFIX.

svn path=/trunk/; revision=16299
2002-03-31 01:17:33 +00:00
84e13e5584 Move the preferences from a per-view setting to a global setting
svn path=/trunk/; revision=16205
2002-03-19 13:25:33 +00:00
bc73d24d04 VFolders in the summary
svn path=/trunk/; revision=16190
2002-03-18 15:47:04 +00:00
a9c6696206 Call `e_summary_preferences_register_config_control_factory()'.
* e-summary-factory.c (e_summary_factory_new_control): Call
`e_summary_preferences_register_config_control_factory()'.

* e-summary-preferences.c: Remove member `box' from struct
PropertyData.  Added member `config_control'.
(e_summary_configure): Removed.
(property_box_destroy_cb): Removed.
(property_box_clicked_cb): Removed.
(property_box_apply_cb): New.
(config_control_destroy_cb): New.
(factory_fn): New, factory function for the
EvolutionConfigControl.
(e_summary_preferences_register_config_control_factory): New.
(mail_show_full_path_toggled_cb): Invoke ::changed on
pd->config_control.
(add_dialog_clicked_cb): Likewise.
(rdf_refresh_value_changed_cb): Likewise.
(rdf_limit_value_changed_cb): Likewise.
(mail_etable_item_changed_cb): Likewise.
(rdf_etable_item_changed_cb): Likewise.
(weather_etable_item_changed_cb): Likewise.
(weather_refresh_value_changed_cb): Likewise.
(weather_metric_toggled_cb): Likewise.
(weather_imperial_toggled_cb): Likewise.
(calendar_one_toggled_cb): Likewise.
(calendar_five_toggled_cb): Likewise.
(calendar_week_toggled_cb): Likewise.
(calendar_month_toggled_cb): Likewise.
(calendar_all_toggled_cb): Likewise.
(calendar_today_toggled_cb): Likewise.
(config_control_destroy_cb): Don't set ->prefs_window to NULL.

* my-evolution.glade: Renamed "notebook2" to "notebook".  Also
change its parent into a GtkWindow as libglade seems to have some
kind of problem with the GnomePropertyBox [glade_xml_get_widget()
for "notebook" always returned NULL].

* e-summary.h: Remove member `prefs_window' from `ESummary'.

svn path=/trunk/; revision=16162
2002-03-14 19:28:43 +00:00
e1268e37a4 The new selector widget
svn path=/trunk/; revision=15565
2002-02-04 19:52:43 +00:00
d435a965c2 Fix the mail order stuff
svn path=/trunk/; revision=15449
2002-01-24 14:21:20 +00:00
bdb095ab69 Merging patches from 1-0-branch
svn path=/trunk/; revision=15109
2001-12-17 12:20:19 +00:00
3be029c79a Remove perl.com
svn path=/trunk/; revision=14933
2001-12-07 16:42:31 +00:00
37b841061a Removed `morons.org'.
* e-summary-preferences.c: Removed `morons.org'.

svn path=/trunk/; revision=14646
2001-11-09 19:37:57 +00:00
53d4e603f3 Silly random city bug
svn path=/trunk/; revision=14613
2001-11-07 11:37:28 +00:00
9f6d470e75 Fix bug if you remove all folders, or all rdfs or all weather stations where settings were reset
svn path=/trunk/; revision=14534
2001-10-31 12:53:18 +00:00
d42daece4a Do some NULL checking before dereferencing things.
svn path=/trunk/; revision=14497
2001-10-30 23:05:36 +00:00
1330f75679 Save the RDFs into a new place
Only have one place for initialisation of rdf/weather stations.

svn path=/trunk/; revision=14362
2001-10-29 21:03:46 +00:00
242ed7f944 We only want KBOS by default.
* e-summary-preferences.c (make_initial_weather_list): We only
want KBOS by default.

* e-summary-weather.c (e_summary_weather_init): We only want KBOS
by default.

svn path=/trunk/; revision=14351
2001-10-29 18:52:00 +00:00
08fb7329cb Fixing the license text.
svn path=/trunk/; revision=14212
2001-10-27 16:59:46 +00:00
02dcd0aadf Update the licensing information to require version 2 of the GPL
(instead of version 2 or any later version).

svn path=/trunk/; revision=14190
2001-10-27 00:25:49 +00:00
798623d52b Remove the help_button in the property box.
* e-summary-preferences.c (e_summary_configure): Remove the
help_button in the property box.

svn path=/trunk/; revision=13900
2001-10-22 22:31:43 +00:00
2024ff43f5 Added HispaLinux
2001-10-06  Carlos Perelló Marín <carlos@gnome-db.org>

	* e-summary-preferences.c: Added HispaLinux

svn path=/trunk/; revision=13483
2001-10-06 15:55:08 +00:00
7bb53c8528 Don't turn on the -> if the selected row is already added.
svn path=/trunk/; revision=13196
2001-09-27 20:26:47 +00:00
56b24983e2 Add copyright notices
svn path=/trunk/; revision=13157
2001-09-26 19:37:32 +00:00
c76e6322cf Warnings Create an image cache USe task.png
Warnings
Create an image cache
USe task.png

svn path=/trunk/; revision=13128
2001-09-25 22:11:29 +00:00
5052619689 Red Carpet RDF
svn path=/trunk/; revision=13018
2001-09-20 21:14:25 +00:00
e54241baa8 Select next rows
svn path=/trunk/; revision=12965
2001-09-19 00:24:38 +00:00
b8fc17e8f9 Keep the mail folders in the correct order
svn path=/trunk/; revision=12963
2001-09-19 00:11:58 +00:00
7728dbda7d Don't add folders multiple times
svn path=/trunk/; revision=12960
2001-09-18 22:40:28 +00:00