1. 14 May, 2001 1 commit
    • Miguel de Icaza's avatar
      Removed unused scrollbar code. · cc28f5fb
      Miguel de Icaza authored
      2001-05-14  Miguel de Icaza  <miguel@ximian.com>
      	* Makefile.am (libwidgets_a_SOURCES): Removed unused scrollbar code.
      2001-05-14  Miguel de Icaza  <miguel@ximian.com>
      	* src/sheet-control-gui.c: Removed support routines that used the
      	Excel-like toolbar.  I got fed up with it.
      	(scg_construct): Use regular Gtk scrollbars.  Connect to value
      	changed to reflect the state of the scrollbar on the spreadsheet
      	inmediately instead of doing the broken Excel behaviour.
      	That is one feature I cloned that was totally idiotic.
  2. 18 Apr, 2001 1 commit
  3. 05 Mar, 2001 1 commit
    • Almer S. Tigelaar's avatar
      Remove. (horizontal_scroll_change) : Remove. (vertical_scroll_event) : · 0393f83f
      Almer S. Tigelaar authored
      2001-03-05  Almer S. Tigelaar  <almer@gnome.org>
      	* src/sheet-control-gui.c
      	(vertical_scroll_change) : Remove.
      	(horizontal_scroll_change) : Remove.
      	(vertical_scroll_event) : Remove.
      	(horizontal_scroll_event) : Remove.
      	(vertical_scroll_changed) : New function, handles the
      	GnumericVScrollbar's "changed" signal.
      	(horizontal_scroll_changed) : Idem for the GnumericHScrollbar.
      	(scg_construct) : Create a gnumeric-vscrollbar instead of a
      	gtk-vscrollbar and connect the "changed" signal do the same
      	for gnumeric-hscrollbar.
      2001-03-05  Almer S. Tigelaar  <almer@gnome.org>
      	* gnumeric-vscrollbar.c, gnumeric-vscrollbar.h : New, vscrollbar widget.
      	* gnumeric-hscrollbar.c, gnumeric-hscrollbar.h : New, hscrollbar widget.
      	* Makefile.am : Add gnumeric-[vh]scrollbar.*
  4. 17 Sep, 2000 1 commit
    • Jody Goldberg's avatar
      Use the newly minted Gnome Application Library (GAL) · 031ceea8
      Jody Goldberg authored
      2000-09-17  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook-format-toolbar.c : Use the new Gnome App Libs (GAL)
      	* src/workbook-view.c : Ditto.
      	* src/workbook.c : Ditto.
      	* src/main.c (gnumeric_main) : call e_color_init and e_color_shutdown.
      	* src/gnumeric-util.c (gnumeric_create_tooltip) :
      	  Rename from color -> e_color.
      	* src/style.c (style_color_new) : Ditto.
      	* src/gnumeric-sheet.c (gnumeric_sheet_realize) :
      	  Rename from cursor -> e_cursor.
      	* src/item-cursor.c (item_cursor_set_cursor) : Ditto.
      	* src/cell-comment.c (cell_comment_clicked) : Ditto.
      	* src/item-grid.c (item_grid_event) : Ditto.
      	* src/sheet-object.c : Ditto.
      	* src/color.c : Split the utilities into the gal library.
      	* src/Makefile.am : Remove cursors.[ch]
      	* configure.in : Handle the new Gnome App Lib (GAL)
  5. 07 Sep, 2000 1 commit
    • Jody Goldberg's avatar
      Merge in the colour combo emhancements. · 52c5af73
      Jody Goldberg authored
      2000-09-06  Jody Goldberg <jgoldberg@home.com>
      	* color-group.c (color_group_new_named) : strdup the name if it is
      	  supplied by the user.
      	(color_group_class_init) : Use the destroy method.
      2000-09-03 Michael Levy  <mlevy@genoscope.cns.fr>
      	* color-group.c : Re-write of color-combo-group.c to allow
      	for arbitrary widgets to share a common color history.
      	* widget-color-combo.c :
      	Extracted all the code required to make the color table and moved it to a
      	new object (ColorPalette). Changed the ColorCombo so that it uses
      	the ColorPalette (and the shared color hsitory provided by the groupped
      	All the code that refered to the creation of the color table was
      	removed, and when appropriate, moved to color-palette.c
      	Removed all mention of ColorComboGroups (as these no longer exist).
      	* color-palette.c : Extracted from widget-color-combo.c
      	(color_palette_new) : Creates a color palette.
      	(color_palette_get_current_color) : returns the current color.
      2000-07-30  Michael Levy  <mlevy@genoscope.cns.fr>
      	* color-combo-group.c : New GtkObject meant to group color combo boxes so
      	that their custom color histories are shared.
      	Includes functions to create and destroy the object, as
      	well as those required size, and navigate through the custom color history.
      	* widget-color-combo.c
      	(group_new_custom_color) : New function to handle the
      	new_custom_color signal emitted by the ColorComboGroup
      	(custom_color_history_setup) : New function which initialises a
      	combo box's custom color history with the one stored in the group
      	(color_table_setup) : Added call to custom_color_history_setup.
      	(cust_color_set) : Removed call to cust_color_row_shift and moved
      	it to group_new_custom_color. Also added call to
      	color_combo_group_add_color in order to notify group of change
      	(color_combo_new_with_vals) : Added mandatory group name to
      	function prototype. Also added call to color_combo_group_new_named
      	and connected the "new_custom_color" signal emitted by the newly
      	created group to group_new_custom_color
      	(color_combo_new) : Added mandatory group name to function
      	* widget-color-combo.c (color_combo_new) : Added mandatory group
      	name to function prototype.
  6. 20 Jun, 2000 1 commit
  7. 28 May, 2000 1 commit
    • ERDI Gergo's avatar
      Create the stack widget with a stock pixmap · 4bd9bf41
      ERDI Gergo authored
      2000-05-28  ERDI Gergo  <cactus@cactus.rulez.org>
      	* gtk-combo-stack.[ch]: Create the stack widget with a stock
      	* gtk-combo-box.c (gtk_combo_box_set_arrow_sensitive): new method
      	to make the dropdown button sensitive/unsensitive
  8. 01 May, 2000 1 commit
    • Almer. S. Tigelaar's avatar
      Export GNUMERIC_VERSION · 761d1ee7
      Almer. S. Tigelaar authored
      2000-05-01  Almer. S. Tigelaar.  <almer1@dds.nl>
      	* configure.in:
      	* acconfig.h:
      	Undefine GNUMERIC_VERSION
      	* */Makefile.am:
      	Removed -DGNUMERIC_VERSION, now located in config.h
      	* src/functions/Makefile.am, src/dialogs/Makefile.am :
      	VERSION changed to gnumeric_version.
      	* plugins/excel/libole2/Makefile.am, plugins/guile/Makefile.am :
      	* plugins/perl/Makefile.am :
  9. 28 Apr, 2000 1 commit
  10. 27 Apr, 2000 1 commit
    • Jody Goldberg's avatar
      Improve versioning. Fix a few bugs. · 2c8b64d0
      Jody Goldberg authored
      Improve versioning.
      Fix a few bugs.
      2000-04-26  Jody Goldberg <jgoldberg@home.com>
      	* src/command-context.c (gnumeric_error_sys_err) : New function.
      	* src/command-context-gui.c (ccg_error_sys_err) : Support it.
      	* src/gnumeric-util.c (gnumeric_glade_xml_new) : Use gnumeric_error_sys_err.
      	* src/gutils.c (gnumeric_sys_{data,lib,glade,plugin)_dir) : New functions.
      	(gnumeric_usr_dir, gnumeric_usr_plugin_dir) : New functions.
      	* src/plugin.c (load_all_plugins) : Use
      	  gnumeric_usr_plugin_dir, and  gnumeric_sys_plugin_dir.
      	* src/item-edit.c (point_is_inside_range) : Handle non-singleton
      	  expr start characters.
      2000-04-25  Jody Goldberg <jgoldberg@home.com>
      	* *.c : glade_new_xml -> gnumeric_glade_new_xml
      	  Localize GNUMERIC_GLADEDIR so that plugins can use it too.
      	* src/gnumeric-util.c (gnumeric_glade_xml_new) : New function.
      	* */Makefile.am : Set 'DATADIR' rather than GLADEDIR.  And version
      	  the glade file the same way the plugins are set.  This should
      	  probably expand to include architecture akin to gcc.
      	* src/widgets/widget-editable-label.c (el_button_press_event) :
      	  Clicking in another window accepts the changes.  Once we have
      	  reliquished our grab push the button event back on the queue
      	  so that it can be forwarded on to the appropriate recipient (9007).
      	* src/parse-util.c (parse_text_value_or_expr) : Watch for 1 character
      	  strings which could start an expression.
  11. 14 Feb, 2000 1 commit
  12. 10 Feb, 2000 1 commit
    • Jody Goldberg's avatar
      Some improvements to the default sizes of things to resizing. · 676c70fb
      Jody Goldberg authored
      We will need to tweak this to get things to match properly.
      2000-02-09  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook.c (change_displayed_zoom_cb) : Add a '%' at the end of
      	  the zoom specification.
      	(workbook_create_standard_toobar) : Adjust the list of zoom labels.
      	* src/style.c (font_init) : Add comment explaining that the default
      	  fonts are not scaled by resolution, and that we depend on that.
      	* src/sheet.c (sheet_init_default_styles) : Set the default sizes
      	  based on the size of the default font not on pixels.
      	* src/sheet-view.c (new_canvas_bar) : Don't set the size or scroll
      	  region here.
      	(sheet_view_construct) : Call sheet_view_set_zoom_factor with a factor
      	  of 1 to set sizes and scroll regions.
      	(sheet_view_set_zoom_factor) : Do not hard code the sizes of the free
      	  dimensions.  Set them based on the font used for the headers.
  13. 06 Feb, 2000 1 commit
    • ERDI Gergo's avatar
      Added myself to the contributors list · b3e9a312
      ERDI Gergo authored
      2000-02-01  ERDI Gergo  <cactus@cactus.rulez.org>
      	* src/about.c (dialog_about): Added myself to the contributors list
      	* src/widgets/gtk-combo-box.c (gtk_combo_box_popup_hide):
      	explicitly cast function pointers to avoid a warning
      	* src/solver-lp.c (simplex_step_three): Default value for `min' to
      	eliminate a warning
      	* src/dialogs/dialog-advanced-filter.c: Included ranges.h
      	(removing an `implicit declaration' warning)
      	* src/commands.c: Included `dialogs.h'
      	* src/workbook.c (workbook_standard_toolbar_orient): Hide the zoom
      	combo box on vertical toolbars
      	* src/widgets/gtk-combo-text.[ch]: New widget: easy-to-use combo box
      2000-01-28  ERDI Gergo  <cactus@cactus.rulez.org>
      	* src/workbook.c (workbook_create_standard_toobar): Added a zoom
      	button to the toolbar as requested
  14. 31 Oct, 1999 1 commit
  15. 22 Sep, 1999 1 commit
    • Miguel de Icaza's avatar
      Set size here to get correct feedback results. · b99fe1a1
      Miguel de Icaza authored
      1999-09-21  Miguel de Icaza  <miguel@gnu.org>
      	* src/sheet.c (cell_is_homogeneous): Set size here to get correct
      	feedback results.
      	* src/workbook-format-toolbar.c (change_font_in_selection_cmd):
      	Simplified to use apply_style_to_selection
      	(apply_style_to_selection): Big nice wrapper.
      	(change_font_size_in_selection_cmd): Implement.
      	* src/pixmaps.h: Removed GNUMERIC_TEST_ACTIVE_OBJECT for release.
      	* src/workbook-format-toolbar.c: More toolbar work, now we have
      	color selectors for foreground and background.
      	* src/workbook.c: Split the format toolbar
      	* src/workbook-format-toolbar.[ch]: Now they contain the
      	format-toolbar code.
      	* src/sheet-object-graphic.c (sheet_object_filled_realize): Width
      	is now in points, not pixels.
      	* src/widgets/gtk-combo-box.[ch]: New files, they implement an
      	extensible ComboBox for Gtk.
      	* src/widgets/color-combo.[ch]: New files, they implement the
      	ColorCombo box.
  16. 17 Sep, 1999 1 commit
    • Miguel de Icaza's avatar
      New file. Moved a bunch of commands here, and move to be moved. · dd6fabaa
      Miguel de Icaza authored
      1999-09-17  Miguel de Icaza  <miguel@gnu.org>
      	* src/workbook-cmd.c: New file.  Moved a bunch of commands here,
      	and move to be moved.
      	Implemented the set money format;   Implemented the percent formt.
      1999-09-16  Miguel de Icaza  <miguel@gnu.org>
      	* src/sheet.c (sheet_update_controls, cell_is_homogeneous):
      	Include checks for font name and font size.
      	* src/dialogs/dialog-printer-setup.c (dialog_printer_setup): Add
      	call to gnome_dialog_set_parent here.
      	* src/tools.h: New file, moved here all the tools declarations.
      	Please, try to keep indentation for public functions as the rest
      	of the Gnumeric ones.
      	* src/workbook.c: Enable comands Format/Column, Format/Row and
      	(create_format_toolbar): Add font selector toolbar widget.
      	(change_font_in_selection_cmd): New routine.  Applies a font to a
      	selection in the workbook.
      	(workbook_feedback_set): Upgraded feedback interface
      	* src/sheet-view.c (sheet_view_row_size_changed): There is no need
      	to call gnumeric_compute_visible_ranges, the sheet_row_set_height
      	code does this.
      	* src/item-bar.c (item_bar_event): Support also row-autosizing.
      	* src/sheet.c (sheet_col_size_fit): Add this routine.
      	(sheet_col_set_internal_width): New function.  Similar to its
      	* src/dialogs/dialog-cell-format.c (dialog_cell_format): Change
      	call to g_list_free for sheet_cell_list_free.
      	* src/selection.c (sheet_cell_list_free): New routine.
      	* src/workbook.c: Reworked toolbars again.  We now only have 2
      	toolbars instead of 8 or so.
      	* src/sheet.h (SHEET_MAX_ROWS): New excel supports 64k rows, mimic this.
      	* src/widgets/gnumeric-toolbar.c: Added new file.  Handles the
      	Gnumeric toolbars.
  17. 05 Sep, 1999 1 commit
  18. 22 Aug, 1999 2 commits