1. 09 Aug, 2002 2 commits
    • Jody Goldberg's avatar
      improve handling of arrays. · 7ddc71db
      Jody Goldberg authored
      
      2002-08-08  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-read.c (ms_excel_parse_formula) : improve handling of
      	  arrays.
      
      	* ms-excel-read.c (biff_boundsheet_data_new) : improve debug spew.
      	(sst_read_string) : no need to pass version an sst is biff8 specific.
      	(ms_excel_read_SST) : ditto.
      	(ms_excel_read_EXSST) : new convience routine.
      	(biff_boundsheet_data_new) : move boundsheet_data_by_index into a ptr
      	  array, and store the gnumeric sheets directly.
      	(ms_excel_workbook_new) : use g_hash_table_new_full to make cleanup
      	  easier.
      	(ms_excel_workbook_destroy) : simplify.
      	(ms_excel_read_SETUP) : support the 'print comments' flag
      	(ms_excel_read_MULRK) : split into its own function.
      	(ms_excel_read_MULBLANK) : ditto.
      	(ms_excel_read_SCL) : ditto
      	(ms_excel_read_sheet) : spew the sheet password in case we need to
      	  generate it.
      	(ms_excel_SUPBOOK) : I finally understand the self reference magic.
      	  More work to do to support external links.
      	(ms_excel_workbook_get_externsheet_v8) : improve the warnings on error.
      	(ms_excel_externsheet_v8) : those sheet indicies are BOUNDSHEET
      	  references if the supbook is a self reference.  We can not directly
      	  access the Gnumeric sheets because XL has hidden elements that skew
      	  the index.
      	(ms_excel_workbook_get_externsheet_v7) : ditto.
      	(ms_excel_externsheet_v7) : store the sheet directly.
      
      	* ms-excel-write.c (write_magic_interface) : biff8 stores the code
      	  page in the interface header for some reason.
      	(ms_excel_write_EOF) : rename from biff_write_eof.
      	(excel_write_SETUP) : new.
      	(write_wsbool) : remove duplicate code.
      	(excel_write_COUNTRY) : new.
      	(write_sheet_head) : tidy.
      	(excel_write_sheet_tail) : SCL is not version specific.
      	(sst_collect_str) : new.
      	(ms_excel_write_SST) : prepare to write an SST (not finished)
      
      2002-08-08  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-view.c (wb_view_new_from_input) : its ok to have 0 sheets,
      	  this is not the place to display the error messages.
      
      	* src/expr-name.c (expr_name_init) : activate the builtins to help
      	  catch someone trying to unref them.
      
      	* gnumeric.desktop.in (Categories) : add encoding
      
      	* src/value.c (value_get_as_string) : quote strings in arrays
      
      2002-08-07  Jody Goldberg <jody@gnome.org>
      
      	* src/command-context.c (cmd_context_set_sensitive) : move here from
      	  workbook_control_set_sensitive.
      
      	* src/workbook-view.c (wb_view_save_as) : use it here.
      
      	* src/gui-file.c (gui_file_read) : rename it here.
      
      	* src/command-context-stderr.c (ccs_get_password) : new.
      	(ccs_set_sensitive) : new.
      	(ccs_class_init) : register them.
      7ddc71db
    • Hasbullah Bin Pit's avatar
      Added Malay (ms). · 938f2296
      Hasbullah Bin Pit authored
      2002-08-09  Hasbullah Bin Pit <sebol@ikhlas.com>
      
              * configure.in: (ALL_LINGUAS) Added Malay (ms).
      938f2296
  2. 07 Aug, 2002 12 commits
    • Zbigniew Chyla's avatar
      src/plugin-service.c s/g_strcasecmp/g_ascii_strcasecmp/ · 6be0bb42
      Zbigniew Chyla authored
      
      2002-08-07  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* src/plugin-service.c
      	s/g_strcasecmp/g_ascii_strcasecmp/
      6be0bb42
    • Zbigniew Chyla's avatar
      Added ref_notify (fn_def_new): Get extra (optional) argument and copy it · 25045eda
      Zbigniew Chyla authored
      
      2002-08-04  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* src/func.[ch]
      	(struct _FunctionDefinition): Added ref_notify
      	(fn_def_new): Get extra (optional) argument and copy it to ref_notify
      	(function_add_args, function_add_nodes, function_add_name_only):
      	Get extra arg and pass it to fn_def_new.
      	(func_ref): Call ->ref_notify on every change of refcount from 0 to 1
      	(func_unref): ... and from 1 to 0
      
      	* src/plugin-service.c:
      	(plugin_service_function_group_func_ref_notify): New,
      	call gnm_plugin_use_(un)ref when provided function is (de)referenced.
      	(plugin_service_function_group_activate): Removed FIXME, pass
      	extra argument to function_add_name_only.
      
      	* func-builtin.c
      	(func_builtin_init): Adjusted to function_add_* signature changes.
      25045eda
    • Zbigniew Chyla's avatar
      Adjusted to function_add_args signature change. · cf5c1804
      Zbigniew Chyla authored
      
      2002-08-04  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* plugin.c (scm_register_function):
      	Adjusted to function_add_args signature change.
      cf5c1804
    • Zbigniew Chyla's avatar
      Adjusted to function_add_nodes signature change. · 7a9e8e9f
      Zbigniew Chyla authored
      
      2002-08-04  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* plugin.c (register_vb_function):
      	Adjusted to function_add_nodes signature change.
      7a9e8e9f
    • Zbigniew Chyla's avatar
      New (register_function): Pass function_ref_notify as the last arg to · 03ccb3a3
      Zbigniew Chyla authored
      
      2002-08-04  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* python.c
      	(function_ref_notify): New
      	(register_function): Pass function_ref_notify as the last arg to
      	function_add_args/function_add_nodes.
      	(plugin_init_general): Removed temporary hack.
      	(plugin_can_deactivate_general): Removed (commented out) function.
      03ccb3a3
    • Morten Welinder's avatar
      Fix J-P's German jokes. · 2bcb4f51
      Morten Welinder authored
      2bcb4f51
    • Morten Welinder's avatar
      Remove a few unused variables. · cc358db6
      Morten Welinder authored
      2002-08-07  Morten Welinder  <terra@diku.dk>
      
      	* sc-fin.c (ScInterVDB): Remove a few unused variables.
      cc358db6
    • Morten Welinder's avatar
      sssshhhh · 5993cb13
      Morten Welinder authored
      5993cb13
    • Zbigniew Chyla's avatar
      added plugins/uihello/Makefile · bbbc57bc
      Zbigniew Chyla authored
      
      2002-08-05  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* configure.in (AC_OUTPUT): added plugins/uihello/Makefile
      
      	* plugins/Makefile.am (SUBDIRS_EXAMPLES):
      	moved $(GNOME_GLOSSARY_DIR) and $(PYFUNC_DIR) here, added uihello
      bbbc57bc
    • Zbigniew Chyla's avatar
      Initial version of the plugin. · 9fe39f9c
      Zbigniew Chyla authored
      
      2002-08-05  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* plugin.xml.in, uihello.c, Makefile.am, ChangeLog, hello.xml:
      	Initial version of the plugin.
      9fe39f9c
    • Zbigniew Chyla's avatar
      New · 1d7891b3
      Zbigniew Chyla authored
      
      2002-08-05  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* src/plugin-service.h
      	(PluginServiceUICallbacks, GNM_PLUGIN_SERVICE_UI_TYPE,
      	GNM_PLUGIN_SERVICE_UI, GNM_IS_PLUGIN_SERVICE_UI): New
      
      	* src/plugin-service.c
      	(PluginServiceUIClass, struct _PluginServiceUI, plugin_service_ui_init,
      	plugin_service_ui_finalize, plugin_service_ui_read_xml, ui_verb_fn,
      	plugin_service_ui_activate, plugin_service_ui_deactivate,
      	plugin_service_ui_class_init): Implementation of the "ui" service.
      	(service_types): Added "ui".
      
      	* src/plugin-loader.h
      	(struct _GnumericPluginLoaderClass):
      	Added load_service_ui and load_service_ui methods.
      
      	* src/plugin-loader.c
      	(gnumeric_plugin_loader_unload_service_ui_real,
      	gnumeric_plugin_loader_class_init,
      	gnumeric_plugin_loader_load_service,
      	gnumeric_plugin_loader_unload_service): Added support for ui service
      
      	* plugin-loader-module.h
      	(ModulePluginUIVerbInfo): New
      
      	* src/plugin-loader-module.c
      	gnumeric_plugin_loader_module_class_init
      	ServiceLoaderDataUI
      	gnumeric_plugin_loader_module_func_exec_verb
      	gnumeric_plugin_loader_module_load_service_ui
      	gnumeric_plugin_loader_module_unload_service_ui
      
      	* src/workbook-control-gui-priv.h
      	(struct _WorkbookControlGUI): Added custom_ui_components field
      
      	* src/workbook-control-gui.h
      	(register_xml_ui, unregister_xml_ui): New
      
      	* src/workbook-control-gui.c
      	(struct _CustomXmlUI, registered_xml_uis,
      	wbcg_add_custom_ui, wbcg_remove_custom_ui,
      	add_ui_to_workbook_controls, remove_ui_from_workbook_controls,
      	register_xml_ui, unregister_xml_ui): New
      	(workbook_control_gui_init): Initialize wbcg->custom_ui_components
      	hash table, add all registered uis to the workbook control.
      	(wbcg_finalize): Destroy wbcg->custom_ui_components
      1d7891b3
    • Jody Goldberg's avatar
      delete. (style_get_char_width) : renamed from get_base_char_width as it is · e0f07af6
      Jody Goldberg authored
      
      2002-08-07  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (init_base_char_width_for_write) : delete.
      	(style_get_char_width) : renamed from get_base_char_width as it is now
      	  just a wrapper around the
      	(ms_excel_write_DEFCOLWIDTH) : renamed from write_default_col_width
      	  and use the right font in the width calculations.
      	(ms_excel_write_COLINFO) : renamed from write_colinfo and use the
      	  right font in the width calculations.
      e0f07af6
  3. 06 Aug, 2002 9 commits
    • jpekka's avatar
    • Morten Welinder's avatar
      Make utf8 safe. · c10a0821
      Morten Welinder authored
      2002-08-06  Morten Welinder  <terra@diku.dk>
      
      	* src/gutils.c (gnumeric_strcase_equal): Make utf8 safe.
      c10a0821
    • Morten Welinder's avatar
      Make utf8 safe. · 294421c2
      Morten Welinder authored
      2002-08-06  Morten Welinder  <terra@diku.dk>
      
      	* src/gutils.c (gnumeric_strescape): Make utf8 safe.
      294421c2
    • Morten Welinder's avatar
      Forgot this file. · fff50c7a
      Morten Welinder authored
      fff50c7a
    • Morten Welinder's avatar
      Use new libgsf stuff. · 4821faa8
      Morten Welinder authored
      4821faa8
    • Jody Goldberg's avatar
      make control-p the print accelerator. · 4d45fa59
      Jody Goldberg authored
      
      2002-08-06  Jody Goldberg <jody@gnome.org>
      
      	* src/GNOME_Gnumeric.xml (</) : make control-p the print accelerator.
      
      	* src/item-edit.c (item_edit_destroy) : reset the cursor here.
      	(item_edit_event) : set the cursor to something clearer on entry.
      
      	* src/item-grid.c (item_grid_button_press) : Its crufty but given that
      	  we do a grab on button down we need to recognize the double click
      	  ourselves.
      	(cb_cursor_come_to_rest) : remove some debugging cruft.
      4d45fa59
    • Zbigniew Chyla's avatar
      Put information about PLUGIN_ALWAYS_LOAD in the comment. · a265fecb
      Zbigniew Chyla authored
      
      2002-08-06  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* src/plugin.h: Put information about PLUGIN_ALWAYS_LOAD in the comment.
      
      	* src/plugin-service.c (plugin_service_activate):
      	Load before activating if PLUGIN_ALWAYS_LOAD is defined.
      
      	* src/plugin-loader.c
      	(gnumeric_plugin_loader_load_base, gnumeric_plugin_loader_unload_base):
      	Pass sensible level value to plugin_message().
      
      	* src/plugin.c
      	(plugin_info_read, plugins_init, plugins_shutdown): ditto
      a265fecb
    • Morten Welinder's avatar
      Portability fix. · 22253879
      Morten Welinder authored
      2002-08-06  Morten Welinder  <terra@diku.dk>
      
      	* md5.h (UINT4): Portability fix.
      
      	* rc4.h: Guard.
      	* md5.h: Guard.
      	* biff-types.h: Guard.
      	* escher-types.h: Guard.
      	* formula-types.h: Guard.
      22253879
    • Zbigniew Chyla's avatar
      Always set *link and *unlink to NULL. · 394140c3
      Zbigniew Chyla authored
      
      2002-08-06  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* python-loader.c
      	(gnumeric_plugin_loader_python_func_get_full_function_info):
      	Always set *link and *unlink to NULL.
      394140c3
  4. 05 Aug, 2002 3 commits
  5. 04 Aug, 2002 14 commits
    • Jody Goldberg's avatar
      fix handling of embedded newlines and remove use of deprecated call. · 39d4f695
      Jody Goldberg authored
      
      2002-08-04  Jody Goldberg <jody@gnome.org>
      
      	* gnumeric-expr-entry.c (cb_gee_key_press_event) : fix handling of
      	  embedded newlines and remove use of deprecated call.
      39d4f695
    • Morten Welinder's avatar
      Brag. · 3540cb9e
      Morten Welinder authored
      3540cb9e
    • Jody Goldberg's avatar
      remove bogisity about 'Magic Addin Name' · 8afefce4
      Jody Goldberg authored
      2002-08-04  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-read.c (ms_excel_parse_formula) : remove bogisity about
      	  'Magic Addin Name'
      
      2002-08-04  Jody Goldberg <jody@gnome.org>
      
      	* src/expr-name.c (expr_name_new) : init as inactive.
      	(expr_name_add) : activate when the name is added.
      	(expr_name_create) : clarify the life cycle of the expression.
      	(expr_name_unref) : it should not be possible to destroy a name that
      	  is still in the lists.
      	(expr_name_unlink) : delete and merge into expr_name_remove.
      	(expr_name_list_destroy) : use remove.
      
      	* src/dependent.c (sheet_deps_destroy) : remove the names in the sheet.
      	(workbook_deps_destroy) : ditto.
      8afefce4
    • Jukka Pekka's avatar
      Implemented `Summary' text view. · cf4c1401
      Jukka Pekka authored
      2002-08-04  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>
      
      	* simulation.glade, dialog-simulation.c: Implemented `Summary'
      	text view.
      cf4c1401
    • Jukka Pekka's avatar
      New function. · c0b2cf15
      Jukka Pekka authored
      2002-08-04  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>
      
      	* dao.c (dao_append_date): New function.
      c0b2cf15
    • Jon Kåre Hellan's avatar
      Silence various warnings: · 612e391b
      Jon Kåre Hellan authored
      * plugins/fn-random/functions.c: Include rangefunc.h.
      
      * plugins/guile/plugin.c (gnm_guile_catcher): Remove unused var 'len'.
      (plugin_init_general): Remove unused var 'cat'.
      
      * plugins/guile/guile-support.c: Include position.h.
      
      * plugins/qpro/qpro-read.c: include gutils.h.
      
      * src/search.c: Include gutils.h.
      
      * src/tools/simulation.c: Include rangefunc.h.
      612e391b
    • Jukka Pekka's avatar
      Cleaned up the options page. · e7e5a1cb
      Jukka Pekka authored
      2002-08-04  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>
      
      	* simulation.glade, dialog-simulation.c: Cleaned up the options page.
      e7e5a1cb
    • Zbigniew Chyla's avatar
      Made public (for use by plugin manager). · ee103e24
      Zbigniew Chyla authored
      
      2002-08-04  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* src/plugin.[ch]
      	(plugin_db_activate_plugin_list, plugin_db_deactivate_plugin_list):
      	Made public (for use by plugin manager).
      ee103e24
    • Zbigniew Chyla's avatar
      Welcome back "activate all" / "deactivate all" buttons · adcdeadf
      Zbigniew Chyla authored
      
      2002-08-04  Zbigniew Chyla  <cyba@gnome.pl>
      
      	Welcome back "activate all" / "deactivate all" buttons
      
      	* dialog-plugin-manager.c
      	(PluginManagerGUI): Added button_activate_all, button_deactivate_all
      	(dialog_plugin_manager): Initalize them here
      	(pm_dialog_init): Set up signal handlers
      	(cb_pm_button_activate_all_clicked,
      	cb_pm_button_activate_all_clicked): New
      
      	* plugin-manager.glade
      	Added "activate all" / "deactivate all" buttons at the bottom of the
      	first page.
      adcdeadf
    • Zbigniew Chyla's avatar
      Removed (plugins_shutdown): Proper way of handling plugins marked for · e8ba5367
      Zbigniew Chyla authored
      
      2002-08-03  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* src/plugin.c
      	(gnm_plugin_force_mark_inactive, ghf_plugin_mark_inactive): Removed
      	(plugins_shutdown): Proper way of handling plugins marked for
      	deactivation.
      e8ba5367
    • Zbigniew Chyla's avatar
      Added frame_mark_for_deactivation, checkbutton_mark_for_deactivation. · 0b28ff3e
      Zbigniew Chyla authored
      
      2002-08-03  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* dialog-plugin-manager.c
      	(PluginManagerGUI): Added frame_mark_for_deactivation,
      	checkbutton_mark_for_deactivation.
      	(dialog_plugin_manager): Initialize them here
      	(cb_pm_selection_changed): Handle "marking plugin for deactivation"
      	feature: optionally display new frame with descriptive text and check
      	button, connect/disconnect "toggled" signal handler.
      	(cb_checkbutton_mark_for_deactivation_toggled): New signal handler.
      
      	* plugin-manager.glade:
      	Set the default height to 560, added extra frame to "Plugin details"
      	page (to support marking plugins for deactivation).
      0b28ff3e
    • Zbigniew Chyla's avatar
      removed PLUGIN_GCONF_KNOWN · 16fe67a3
      Zbigniew Chyla authored
      
      2002-07-31  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* src/gnumeric-gconf-priv.h: removed PLUGIN_GCONF_KNOWN
      
      	* src/gnumeric-gconf.[ch]
      	(gnm_gconf_get_known_plugins, gnm_gconf_set_known_plugins): removed
      
      	* src/gutils.h
      	(g_string_s]list_copy): added cast to GnmMapFunc
      	(GNM_[S]LIST_APPEND): new
      	(GNM_SIZEOF_ARRAY): cast to int, unsigned ints are evil
      
      	* src/plugin-loader.c
      	(gnumeric_plugin_loader_unload_service_general_real,
      	gnumeric_plugin_loader_unload_service_file_opener_real,
      	gnumeric_plugin_loader_unload_service_file_saver_real,
      	gnumeric_plugin_loader_unload_service_function_group_real,
      	gnumeric_plugin_loader_unload_service_plugin_loader_real):
      	made static
      
      	* src/plugin.[ch]
      	(struct _GnmPlugin): added saved_textdomain
      	(gnm_plugin_init): set saved_textdomain to NULL
      	(gnm_plugin_finalize): g_free it here
      	(gnm_plugin_get_config_prefix): removed
      	(gnm_plugin_get_textdomain): new
      16fe67a3
    • Zbigniew Chyla's avatar
      Converted g_string_[s]list_copy to more general functions, g_[s]list_map. · d763e157
      Zbigniew Chyla authored
      
      2002-07-27  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* src/gutils.c:
      	Converted g_string_[s]list_copy to more general functions,
      	g_[s]list_map.
      
      	* src/gutils.h:
      	(g_[s]list_map): New
      	(g_[s]tring_list_copy): Converted to macro (using g_[s]list_map)
      	(g_list_to_vector, g_list_to_vector_custom, g_vector_free_custom,
      	g_slist_to_vector):
      	Removed
      	(GNM_[S]LIST_SORT): New members of GNM_[S]LIST_* family.
      	(GNM_SIZEOF_ARRAY): New macro
      
      	* src/error-info.h:
      	(GNM_INIT_RET_ERROR_INFO):
      	New macro, I plan to add some extra code here.
      
      	* src/plugin-service.[ch]
      	PluginService and PluginService* are GObjects now
      	(with three virtual methods: read_xml, activate, deactivate).
      	All implementation details are hidden. Every PluginService* exposes
      	only service-specific PluginService*Callbacks struct (returned by
      	plugin_service_get_cbs function) for use by plugin loaders.
      	Placed "id" attribute in PluginService struct instead of
      	duplicating it in other structs.
      	(plugin_service_{get,set,clear}_loader_data): Removed
      	s/plugin_service_read/plugin_service_new/
      
      	* src/plugin.c
      	Adjusted to plugin-service.h changes
      	(struct _GnmPlugin): Replace vectors with SLists.
      	(plugins_shutdown): Destroy all plugins (g_object_unref).
      	Use GNM_INIT_RET_ERROR_INFO everywhere.
      
      	* src/plugin-loader.c
      	(gnumeric_plugin_loader_unload_service_general_real,
      	gnumeric_plugin_loader_unload_service_file_opener_real,
      	gnumeric_plugin_loader_unload_service_file_saver_real,
      	gnumeric_plugin_loader_unload_service_function_group_real,
      	gnumeric_plugin_loader_unload_service_plugin_loader_real):
      	Set callbacks using plugin_service_get_cbs and PluginService*Callbacks
      	structs, instead of settings PluginService* fields directly (they are
      	private now).
      	(gnumeric_plugin_loader_load_service,
      	gnumeric_plugin_loader_unload_service)
      	Use RTTI to select (un)loading method.
      	(gnumeric_plugin_loader_set_attributes,
      	gnumeric_plugin_loader_load_base,
      	gnumeric_plugin_loader_unload_base):
      	Use GNM_INIT_RET_ERROR_INFO macro everywhere.
      
      	* src/plugin-loader-module.c
      	(gnumeric_plugin_loader_module_set_attributes,
      	gnumeric_plugin_loader_module_load_base,
      	gnumeric_plugin_loader_module_unload_base,
      	gnumeric_plugin_loader_module_info_get_extra_info_list,
      	gnumeric_plugin_loader_module_destroy,
      	gnumeric_plugin_loader_module_func_init,
      	gnumeric_plugin_loader_module_func_clean,
      	gnumeric_plugin_loader_module_load_service_general,
      	gnumeric_plugin_loader_module_func_file_probe,
      	gnumeric_plugin_loader_module_func_file_open,
      	gnumeric_plugin_loader_module_load_service_file_opener,
      	gnumeric_plugin_loader_module_func_file_save,
      	gnumeric_plugin_loader_module_load_service_file_saver,
      	gnumeric_plugin_loader_module_func_get_full_function_info,
      	gnumeric_plugin_loader_module_load_service_function_group,
      	gnumeric_plugin_loader_module_unload_service_function_group,
      	gnumeric_plugin_loader_module_func_get_loader_type,
      	gnumeric_plugin_loader_module_load_service_plugin_loader):
      	Use g_object data instead of plugin_service_[gs]et_loader_data.
      	Set callbacks using plugin_service_get_cbs and PluginService*Callbacks
      	structs, instead of settings PluginService* fields directly (they are
      	private now).
      	"has_probe" field has been removed, always get a pointer to
          *_file_probe pointer function if it's available.
      	Less assertions, use GNM_INIT_RET_ERROR_INFO macro everywhere.
      d763e157
    • Zbigniew Chyla's avatar
      Use "for" loop to iterate over rows. (set_plugin_model_row): New helper · 7d394423
      Zbigniew Chyla authored
      
      2002-07-27  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* src/dialogs/dialog-plugin-manager.c
      	(model_get_plugin_iter, pm_dialog_cleanup):
      	Use "for" loop to iterate over rows.
      	(set_plugin_model_row):
      	New helper function for setting plugins' model row.
      	(cb_pm_button_rescan_directories_clicked):
      	Insert rows in the right places to keep the list sorted.
      	(pm_dialog_init): Use set_plugin_model_row.
      	(cb_active_toggled): avoid crashing if the user chooses "No".
      7d394423