1. 22 May, 2003 3 commits
    • Morten Welinder's avatar
      It's hard to see, but this is introduction of multi-head support. · 8a43becb
      Morten Welinder authored
      2003-05-22  Morten Welinder  <terra@gnome.org>
      
      	* src/workbook-control-gui.c (workbook_menu_view): Combine the two
      	New-View entries into one.
      	(workbook_control_gui_init): Fix reference to freeze-panes menu
      	entry.
      	(cb_view_new): New function just calling the dialog.
      
      
      2003-05-22  Morten Welinder  <terra@gnome.org>
      
      	* dialog-view.c, view.glade: New files.
      8a43becb
    • Jan Morén's avatar
      Updated Swedish translation. · 7dfd53d1
      Jan Morén authored
      2003-05-22  Jan Morén  <jan.moren@lucs.lu.se>
      
               * sv.po: Updated Swedish translation.
      7dfd53d1
    • Duarte Loreto's avatar
      Updated Portuguese translation. · 433b1ea0
      Duarte Loreto authored
      2003-05-22  Duarte Loreto <happyguy_pt@hotmail.com>
      
              * pt.po: Updated Portuguese translation.
      433b1ea0
  2. 21 May, 2003 7 commits
    • Jody Goldberg's avatar
      Misc inclusions of string.h · c70c05b8
      Jody Goldberg authored
      
      Misc inclusions of string.h
      
      2003-05-21  Jody Goldberg <jody@gnome.org>
      
      	* ms-chart.c (BC_R(gelframe)) : enable debugging when dumping
      	  gelframes.
      
      	* ms-escher.c (ms_escher_parse) : accept gelframes.
      	(ms_escher_read_OPT) : the length _includes_ the header, don't try to
      	  read that too.
      	(ms_escher_read_Blip) : ditto.
      	  weaken size restriction for uncompression.
      	  test-xls/billeterie2000-6.xls has a blip that is larger than its
      	  compressed content, dunno why.
      
      2003-05-21  Jody Goldberg <jody@gnome.org>
      
      	* src/item-edit.c : General de-cruftification.
      	  - Move from GtkObject -> GObject
      	  - Use set_property rather than set_args
      	  - Remove pointless inclusion of sheet-control-gui-priv.h
      	  (ie_layout) : rename from recalc_spans, move the
      	  PangoLayout generation from _draw in here because it was more
      	  advanced and cache the layout.
      
      	* Makefile.am : don't clean the .server file it is generated by
      	autoconf and a real pain to regenerate
      c70c05b8
    • Jody Goldberg's avatar
      Misc inclusions of string.h · 31d6aaa2
      Jody Goldberg authored
      2003-05-21  Jody Goldberg <jody@gnome.org>
      
      	* ms-chart.c (BC_R(gelframe)) : enable debugging when dumping
      	  gelframes.
      
      	* ms-escher.c (ms_escher_parse) : accept gelframes.
      	(ms_escher_read_OPT) : the length _includes_ the header, don't try to
      	  read that too.
      	(ms_escher_read_Blip) : ditto.
      	  weaken size restriction for uncompression.
      	  test-xls/billeterie2000-6.xls has a blip that is larger than its
      	  compressed content, dunno why.
      
      2003-05-21  Jody Goldberg <jody@gnome.org>
      
      	* src/item-edit.c : General de-cruftification.
      	  - Move from GtkObject -> GObject
      	  - Use set_property rather than set_args
      	  - Remove pointless inclusion of sheet-control-gui-priv.h
      	  (ie_layout) : rename from recalc_spans, move the
      	  PangoLayout generation from _draw in here because it was more
      	  advanced and cache the layout.
      
      	* Makefile.am : don't clean the .server file it is generated by
      	autoconf and a real pain to regenerate
      31d6aaa2
    • Morten Welinder's avatar
      Set the KeyedDialog property on the right object. · d24eb591
      Morten Welinder authored
      2003-05-21  Morten Welinder  <terra@gnome.org>
      
      	* src/gui-util.c (cb_free_keyed_dialog_context): Set the
      	KeyedDialog property on the right object.
      d24eb591
    • Morten Welinder's avatar
      Add gc_screen field to track the screen that gc belongs to. · 67793b6e
      Morten Welinder authored
      2003-05-21  Morten Welinder  <terra@gnome.org>
      
      	* src/style-border.h (struct _StyleBorder): Add gc_screen field to
      	track the screen that gc belongs to.
      
      	* src/style-border.c (style_border_get_gc): Manage gc_screen.
      	(style_border_unref): Ditto.
      
      	* src/workbook-control-gui.c (workbook_create_standard_toolbar):
      	Get pango context from toplevel widget.
      
      	* src/preview-grid.c (preview_grid_draw): Get pango context from
      	widget and pass it to pg_construct_cell.
      	(pg_construct_cell): Remove bogus context construction from here.
      67793b6e
    • Morten Welinder's avatar
      Get pango context from widget and pass it to pg_construct_cell. · 29cc5a1e
      Morten Welinder authored
      2003-05-21  Morten Welinder  <terra@gnome.org>
      
      	* src/preview-grid.c (preview_grid_draw): Get pango context from
      	widget and pass it to pg_construct_cell.
      	(pg_construct_cell): Remove bogus context construction from here.
      29cc5a1e
    • Jody Goldberg's avatar
      warnings · e40eefa9
      Jody Goldberg authored
      e40eefa9
    • Morten Welinder's avatar
      Forgot this file. Sigh. · f0d17e8a
      Morten Welinder authored
      f0d17e8a
  3. 20 May, 2003 17 commits
    • Morten Welinder's avatar
      Set the background colour as previosly, not the foreground. Ugh. · 248bc583
      Morten Welinder authored
      2003-05-20  Morten Welinder  <terra@gnome.org>
      
      	* src/style-border.c (style_border_set_gc_dash): Set the
      	background colour as previosly, not the foreground.  Ugh.
      248bc583
    • Morten Welinder's avatar
      Add FIXME. · 56adb8e8
      Morten Welinder authored
      56adb8e8
    • Morten Welinder's avatar
      Use gdk_gc_set_rgb_fg_color, not gdk_gc_set_foreground. USe · 63ac38ac
      Morten Welinder authored
      2003-05-20  Morten Welinder  <terra@gnome.org>
      
      	* src/style-border.c (style_border_set_gc_dash): Use
      	gdk_gc_set_rgb_fg_color, not gdk_gc_set_foreground.  USe
      	gdk_gc_set_rgb_bg_color, not gdk_gc_set_background.
      	(style_border_none_set_color): Ditto.
      	(style_border_get_gc): Ditto.
      
      	* src/item-grid.c (item_grid_realize): Ditto.
      	* src/item-cursor.c (item_cursor_draw): Ditto.
      	* src/pattern.c (gnumeric_background_set_pc): Ditto.  (#if 0'ed.)
      	(gnumeric_background_set_gc): Ditto, more or less.
      
      	* src/preview-grid.c (preview_grid_realize): Plug "white" out of
      	the style.  Use gdk_gc_set_rgb_fg_color, not
      	gdk_gc_set_foreground.
      
      	* src/gnumeric-canvas.c (gnm_canvas_realize): Plug "white" out of
      	the style.
      
      	* src/style-color.c (gnumeric_color_init): Make gs_yellow,
      	gs_white, gs_black, gs_dark_gray, gs_light_gray, and gs_lavender
      	unallocated colours.  Eliminate unused gs_red.
      
      2003-05-20  Morten Welinder  <terra@gnome.org>
      
      	* dialog-cell-format.c (cb_rotate_canvas_realize): Plug "white"
      	out of the style.
      	(setup_color_pickers): Plug "black" out of the style.
      	(fmt_dialog_impl): Ditto.
      63ac38ac
    • Morten Welinder's avatar
      Plug "white" out of the style. · 98846d59
      Morten Welinder authored
      2003-05-20  Morten Welinder  <terra@gnome.org>
      
      	* src/gnumeric-canvas.c (gnm_canvas_realize): Plug "white" out of
      	the style.
      98846d59
    • Morten Welinder's avatar
      Plug "white" out of the style. · a4ecc57c
      Morten Welinder authored
      2003-05-20  Morten Welinder  <terra@gnome.org>
      
      	* dialog-cell-format.c (cb_rotate_canvas_realize): Plug "white"
      	out of the style.
      a4ecc57c
    • Morten Welinder's avatar
      Forgot a file. · ba6a2e8f
      Morten Welinder authored
      ba6a2e8f
    • Morten Welinder's avatar
      Make gs_yellow an unallocated colour. Eliminate unused gs_red. · aefb435c
      Morten Welinder authored
      2003-05-20  Morten Welinder  <terra@gnome.org>
      
      	* src/style-color.c (gnumeric_color_init): Make gs_yellow an
      	unallocated colour.  Eliminate unused gs_red.
      
      	* src/item-bar.c (item_bar_realize): Use gdk_gc_set_rgb_fg_color,
      	not gdk_gc_set_foreground for multi-head support.
      aefb435c
    • Morten Welinder's avatar
      Remove redundant red, green, and blue members. All users changed to use · 7df20524
      Morten Welinder authored
      2003-05-20  Morten Welinder  <terra@gnome.org>
      
      	* src/style-color.h (struct _StyleColor): Remove redundant red,
      	green, and blue members.  All users changed to use color member.
      
      	* src/style-color.c (color_hash): Improve hash function (as if it
      	mattered).
      
      2003-05-20  Morten Welinder  <terra@gnome.org>
      
      	* ms-excel-read.c: Adapt to StyleColor changes.
      	* ms-excel-write.c: Adapt to StyleColor changes.
      
      2003-05-20  Morten Welinder  <terra@gnome.org>
      
      	* html.c: Adapt to StyleColor changes.
      7df20524
    • Jody Goldberg's avatar
      doh! · cf423954
      Jody Goldberg authored
      cf423954
    • Jody Goldberg's avatar
      add some includes · 5e6160f4
      Jody Goldberg authored
      5e6160f4
    • Morten Welinder's avatar
      Missed a file. · 145c2f29
      Morten Welinder authored
      145c2f29
    • Morten Welinder's avatar
      Use GObject methods. (history_menu_item_create): Ditto. Ditto. · 87f1f08e
      Morten Welinder authored
      2003-05-19  Morten Welinder  <terra@gnome.org>
      
      	* src/history.c (file_history_cmd): Use GObject methods.
      	(history_menu_item_create): Ditto.
      	* src/gui-util.c (popup_item_activate): Ditto.
      
      	* src/workbook-control-gui.c (workbook_create_standard_toolbar):
      	Use gtk_widget_set_size_request, not gtk_widget_set_usize.
      	(workbook_setup_auto_calc): Ditto.
      	(show_gui): Ditto.
      	(workbook_setup_edit_area): Ditto.  Also don't use an arbitrary
      	pixel count.
      
      	* src/workbook-format-toolbar.c (workbook_create_format_toolbar):
      	Use gtk_widget_set_size_request, not gtk_widget_set_usize.
      
      	* src/gui-util.c (gnumeric_error_info_dialog_new): Use
      	gtk_widget_set_size_request, not gtk_widget_set_usize.  Also base
      	size of window on screen size, not arbitrary pixel counts.
      
      	* src/sheet-control-gui.c (scg_setup_group_buttons, scg_resize,
      	scg_resize): Use gtk_widget_set_size_request, not
      	gtk_widget_set_usize.
      
      	* src/workbook-format-toolbar.c: Avoid GNOME deprecated pixmaps.
      
      	* src/libgnumeric.c (gnm_common_init): Use glade_init, not
      	glade_gnome_init.
      
      	* src/gui-util.c (gnumeric_position_tooltip): Use gtk_window_move,
      	not deprecated gtk_widget_set_uposition.
      	(gnumeric_clist_moveto): Use "void *" as arg instead of deprecated
      	"GtkCList *" so the many includers of gui-util.h do not get
      	punished.
      
      
      2003-05-20  Morten Welinder  <terra@gnome.org>
      
      	* dialog-stf-preview.c (stf_preview_draw_text,
      	stf_preview_get_displayed_rowcount):
      	s/gtk_object_get/g_object_get/.
      
      	* dialog-stf-main-page.c (main_page_set_scroll_region_and_prevent_center): Ditto.
      
      	* dialog-stf.c (stf_dialog_set_scroll_region_and_prevent_center): Ditto.
      
      	* dialog-analysis-tools.c (dialog_ttest_tool, dialog_ttest_tool):
      	Use g_object_[sg]et_data, not gtk_-ditto.
      	* dialog-printer-setup.c (do_hf_customize, hf_customize_apply):
      	Ditto.
      
      	* dialog-random-generator.c (dialog_random_realized): Use
      	gtk_widget_set_size_request, not gtk_widget_set_usize.
      
      	* dialog-analysis-tools.c (dialog_sampling_realized,
      	dialog_ttest_realized): Ditto.
      87f1f08e
    • Morten Welinder's avatar
      Don't use deprecated stuff. · d3f0f93f
      Morten Welinder authored
      d3f0f93f
    • Jody Goldberg's avatar
      typo · fddcca4d
      Jody Goldberg authored
      fddcca4d
    • Morten Welinder's avatar
      Fix compilation warnings per Jody. · 884c2666
      Morten Welinder authored
      2003-05-20  Morten Welinder <terra@gnome.org>
      
      	* libfoocanvas/*.c: Fix compilation warnings per Jody.
      884c2666
    • Jody Goldberg's avatar
      remove some deprecation · 03e051ac
      Jody Goldberg authored
      03e051ac
    • Jody Goldberg's avatar
      new. (sheet_object_graph_class_init) : hook it up. · ee1457cd
      Jody Goldberg authored
      
      2003-05-20  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-object-graph.c (sheet_object_graph_remove_from_sheet) : new.
      	(sheet_object_graph_class_init) : hook it up.
      
      	* src/graph.c (gnm_go_data_vector_finalize) : free the values too.
      	(gnm_go_data_scalar_set_sheet) : handle unlinking too.
      	(gnm_go_data_vector_load_len) : only free the buffer if the length
      	  changed.
      	(gnm_go_data_vector_set_sheet) : ditto.
      	(cb_assign_val) : be smarter and collect min/max and do decent end
      	  checking.
      	(nm_go_data_vector_load_values) : use the additional information.
      ee1457cd
  4. 19 May, 2003 13 commits
    • Jody Goldberg's avatar
      warning · 7fdc5f09
      Jody Goldberg authored
      7fdc5f09
    • Jody Goldberg's avatar
      tone down the amoutn of debug spew. · 1780a73e
      Jody Goldberg authored
      
      2003-05-19  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (excel_read_CF) : tone down the amoutn of debug spew.
      
      	* ms-excel-read.c (excel_read_XCT) : work around more undocumented xls crack.
      	  What the #$!@#&%!@ do negative counts mean.
      1780a73e
    • Jody Goldberg's avatar
      no need to register the guru again, dialog_tool_init already did it. · c89fb7ec
      Jody Goldberg authored
      2003-05-19  Jody Goldberg <jody@gnome.org>
      
      	* dialog-random-generator.c (dialog_random_tool_init) : no need to
      	  register the guru again,  dialog_tool_init already did it.
      
      	* cell-sort.glade : fix radio group for direction
      
      
      2003-05-19  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (wbcg_sheet_focus) : set the scg earlier
      	  as soon as the sheet gets focus.
      
      	* configure.in : remove -Wsign-promo according to gcc-3.3 it is only
      	  valid for C++ now.
      c89fb7ec
    • Morten Welinder's avatar
      Use gtk_widget_set_size_request, not gtk_widget_set_usize. · 36135dcf
      Morten Welinder authored
      2003-05-19  Morten Welinder  <terra@gnome.org>
      
      	* dialog-random-generator.c (dialog_random_realized): Use
      	gtk_widget_set_size_request, not gtk_widget_set_usize.
      
      	* dialog-analysis-tools.c (dialog_sampling_realized,
      	dialog_ttest_realized): Ditto.
      36135dcf
    • Morten Welinder's avatar
      Use gtk_widget_set_size_request, not gtk_widget_set_usize. Avoid arbitrary · 9a126602
      Morten Welinder authored
      2003-05-19  Morten Welinder  <terra@gnome.org>
      
      	* dialog-printer-setup.c (unit_editor_configure): Use
      	gtk_widget_set_size_request, not gtk_widget_set_usize.  Avoid
      	arbitrary pixel counts.
      	(do_setup_margin): Use gtk_widget_set_size_request, not
      	gtk_widget_set_usize.  Still uses hard coded pixel counts.
      9a126602
    • Morten Welinder's avatar
      Use gtk_widget_set_size_request, not gtk_widget_set_usize. · ec59bf4d
      Morten Welinder authored
      2003-05-19  Morten Welinder  <terra@gnome.org>
      
      	* src/workbook-control-gui.c (workbook_create_standard_toolbar):
      	Use gtk_widget_set_size_request, not gtk_widget_set_usize.
      	(workbook_setup_auto_calc): Ditto.
      	(show_gui): Ditto.
      	(workbook_setup_edit_area): Ditto.  Also don't use an arbitrary
      	pixel count.
      
      	* src/workbook-format-toolbar.c (workbook_create_format_toolbar):
      	Use gtk_widget_set_size_request, not gtk_widget_set_usize.
      
      	* src/gui-util.c (gnumeric_error_info_dialog_new): Use
      	gtk_widget_set_size_request, not gtk_widget_set_usize.  Also base
      	size of window on screen size, not arbitrary pixel counts.
      
      	* src/sheet-control-gui.c (scg_setup_group_buttons, scg_resize,
      	scg_resize): Use gtk_widget_set_size_request, not
      	gtk_widget_set_usize.
      ec59bf4d
    • Morten Welinder's avatar
      port from clist to treeview. · 56551ccb
      Morten Welinder authored
      2003-05-19  Morten Welinder  <terra@gnome.org>
      
      	* dialog-zoom.c: port from clist to treeview.
      56551ccb
    • Morten Welinder's avatar
      Warning killer. · 167e568d
      Morten Welinder authored
      2003-05-19  Morten Welinder  <terra@gnome.org>
      
      	* import-pcre: Warning killer.
      167e568d
    • Morten Welinder's avatar
      Avoid deprecated gdk_pixbuf_render_to_drawable_alpha. · ca46316d
      Morten Welinder authored
      2003-05-19  Morten Welinder  <terra@gnome.org>
      
      	* gnumeric-cell-renderer-toggle.c
      	(gnumeric_cell_renderer_toggle_render): Avoid deprecated
      	gdk_pixbuf_render_to_drawable_alpha.
      ca46316d
    • Morten Welinder's avatar
      Avoid GNOME deprecated pixmaps. · c60f602c
      Morten Welinder authored
      2003-05-19  Morten Welinder  <terra@gnome.org>
      
      	* src/workbook-format-toolbar.c: Avoid GNOME deprecated pixmaps.
      c60f602c
    • Morten Welinder's avatar
      Use glade_init, not glade_gnome_init. · 7ff3259b
      Morten Welinder authored
      2003-05-19  Morten Welinder  <terra@gnome.org>
      
      	* src/libgnumeric.c (gnm_common_init): Use glade_init, not
      	glade_gnome_init.
      
      	* src/gui-util.c (gnumeric_position_tooltip): Use gtk_window_move,
      	not deprecated gtk_widget_set_uposition.
      	(gnumeric_clist_moveto): Use "void *" as arg instead of deprecated
      	"GtkCList *" so the many includers of gui-util.h do not get
      	punished.
      
      2003-05-19  Morten Welinder  <terra@gnome.org>
      
      	* fixup-deprecated: Handle even more objectified stuff.
      7ff3259b
    • Morten Welinder's avatar
      Use gtk_window_move, not deprecated gtk_widget_set_uposition. · c97dc8f6
      Morten Welinder authored
      2003-05-19  Morten Welinder  <terra@gnome.org>
      
      	* src/gui-util.c (gnumeric_position_tooltip): Use gtk_window_move,
      	not deprecated gtk_widget_set_uposition.
      	(gnumeric_clist_moveto): Use "void *" as arg instead of deprecated
      	"GtkCList *" so the many includers of gui-util.h do not get
      	punished.
      c97dc8f6
    • Morten Welinder's avatar
      Fix includs. · 759e6063
      Morten Welinder authored
      759e6063