aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
Commit message (Collapse)AuthorAgeFilesLines
* ** BUGFIX: 573830 - g_timeout_add_seconds should be preferred to g_timeout_addMarcel Stimberg2009-05-041-1/+1
| | | | | | According to https://wiki.ubuntu.com/SavingTheWorld (and of course according to the gtk docs) using g_timeout_add_seconds is preferred over g_timeout_add if a timeout in seconds is desired.
* ** BUGFIX: 569696 – Memory leak in message-listSrinivasa Ragavan2009-05-043-0/+59
| | | | | Not exactly a leak, but a build-up over a period of time. Clear the internal gnode on regen.
* Bug 325131 – Do not translate ETable property nicknamesMatthew Barnes2009-05-034-18/+18
|
* Use Behdad's brilliant git.mk to generate .gitignore files.Matthew Barnes2009-05-021-0/+2
|
* Only #include specific libgnome[ui] headers; easier to track.Matthew Barnes2009-05-016-1346/+1
| | | | | | | | Stop including top-level libgnome[ui] headers -- <gnome.h>, <libgnome/libgnome.h> and <libgnomeui/libgnomeui.h>. Instead, include specific header files so we can track them easier. Also, remove several unshipped test programs. Mostly ETable stuff.
* GN-bug #572348 - Removed deprecated Gtk+ symbolsMilan Crha2009-04-244-99/+89
| | | | Some still left, because those gone in kill-bonobo branch.
* Reset ETable vertical padding to 3 to more closely match GtkTreeView.Matthew Barnes2009-04-241-1/+1
|
* Bug 565780 – Message view is tightly packed and hard to readMatthew Barnes2009-04-241-3/+4
| | | | | | Make ETables look more like GtkTreeViews by increasing the vertical padding to 4. If the users revolt, we can add a GtkStyle property to make the padding value adjustable via gtkrc files.
* Bug 577929 – Consolidate marshallersMatthew Barnes2009-04-2312-59/+55
| | | | | | Consolidate all marshalling specifications to e-util/e-marshal.list. This reduces code duplication and makes it slightly easier to locate unused marshallers.
* ** Fixes bug #576694Matthew Barnes2009-03-252-1/+13
| | | | | | | | | | | | | 2009-03-25 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #576694 * widgets/table/e-cell-text.c (build_layout): * widgets/text/e-text.c (reset_layout): Handle absolute font sizes correctly. svn path=/trunk/; revision=37474
* Chenthill Palanisamy <pchenthill@novell.com> ** Part of fix for bug #573198 ↵Suman Manjunath2009-02-262-1/+9
| | | | | | (Initialize the timezone settings before making any timezone conversion calls). svn path=/trunk/; revision=37339
* ** Fixes part of bug #572348Matthew Barnes2009-02-192-1/+7
| | | | | | | | | | | | | | | | | | | | 2009-02-19 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #572348 * calendar/gui/alarm-notify/alarm-queue.c (display_notification): * plugins/mail-notification/mail-notification.c (new_notify_status): Call gtk_status_icon_set_tooltip_text() instead of gtk_status_icon_set_tooltip() (deprecated). * calendar/gui/weekday-picker.c (configure_items): Remove dead code. * widgets/table/e-table-example-1.c (main): gtk_widget_push_visual() is a no-op. Remove it. svn path=/trunk/; revision=37291
* Migrate from deprecated gtk_window_set_policy to gtk_window_set_resizableAndre Klapper2009-02-192-1/+6
| | | | | | | | | | 2009-02-19 Andre Klapper <a9016009@gmx.de> * e-table-field-chooser-dialog.c: Migrate from deprecated gtk_window_set_policy to gtk_window_set_resizable svn path=/trunk/; revision=37288
* ** Fix for bug #550114Milan Crha2009-02-167-27/+46
| | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-16 Milan Crha <mcrha@redhat.com> ** Fix for bug #550114 * widgets/table/e-table-group.h: * widgets/table/e-table-group.c: * widgets/table/e-table-group-container.c: * widgets/table/e-table-group-leaf.c: Replaced 'compute_mouse_over' with 'get_mouse_over', now works with cached values 'motion_row', 'motion_col'. * widgets/table/e-table.c: (e_table_get_mouse_over_cell): Mouse position not required anymore, remove it too then. * calendar/gui/e-calendar-table.h: (ec_query_tooltip): * calendar/gui/e-calendar-table.c: (ec_query_tooltip): Offer it to others too. * calendar/gui/e-calendar-table.c: (query_tooltip_cb): Use above funtion. Show proper tooltip in table with grouping columns. * calendar/gui/e-memo-table.c: (query_tooltip_cb), (e_memo_table_init): Show tooltips in memo view too. svn path=/trunk/; revision=37275
* ** Fix for bug #557176Milan Crha2008-12-152-0/+10
| | | | | | | | | | | | 2008-12-15 Milan Crha <mcrha@redhat.com> ** Fix for bug #557176 * e-table-state.c: (e_table_state_load_from_node): Ensure the 'sort_info' member is never NULL. svn path=/trunk/; revision=36896
* ** Fixes bug #554464Felix Riemann2008-11-282-15/+9
| | | | | | | | | | | | | 2008-11-28 Felix Riemann <friemann@svn.gnome.org> ** Fixes bug #554464 * configure.in: Bump gtk+ minimum version to 2.14.0 which pulls in a recent enough Pango version. * widgets/table/e-cell-text.c: (build_layout): Let Pango handle the ellipsizing, which should be faster. svn path=/trunk/; revision=36819
* ** Fixes bug #560882Matthew Barnes2008-11-183-2/+11
| | | | | | | | | | | | | | 2008-10-17 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #560882 * widgets/table/e-table-defines.h: * widgets/table/e-table-header-utils.c (e_table_header_draw_button): Left-align header labels instead of centering them, and adjust the header padding so they look purdy. svn path=/trunk/; revision=36792
* Only include the toplevel GTK+ header.Matthew Barnes2008-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2008-10-30 Matthew Barnes <mbarnes@redhat.com> * addressbook/gui/contact-editor/test-editor.c: * addressbook/gui/widgets/e-minicard-label.c: * addressbook/gui/widgets/e-minicard-view-widget.c: * addressbook/gui/widgets/test-reflow.c: * calendar/gui/control-factory.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-week-view-event-item.c: * calendar/gui/weekday-picker.c: * e-util/e-icon-factory.c: * shell/importer/evolution-importer-client.h: * shell/importer/intelligent.c: * shell/test/evolution-test-component.c: * widgets/menus/gal-view-menus.c: * widgets/misc/e-activity-handler.c: * widgets/table/e-table-config-field.h: Only include the toplevel GTK+ header. svn path=/trunk/; revision=36699
* License changes.Sankarasivasubramanian Pasupathilingam2008-10-183-4/+13
| | | | svn path=/trunk/; revision=36641
* Change License from GPL to LGPL.Sankarasivasubramanian Pasupathilingam2008-10-082-17/+22
| | | | svn path=/trunk/; revision=36576
* Remove obsolete files.Sankarasivasubramanian Pasupathilingam2008-10-061-2/+0
| | | | svn path=/trunk/; revision=36566
* Removed obsolete files.Sankarasivasubramanian Pasupathilingam2008-10-063-146/+6
| | | | svn path=/trunk/; revision=36565
* Change license from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-10-032-20/+25
| | | | svn path=/trunk/; revision=36547
* Removed obsolete files.Sankarasivasubramanian Pasupathilingam2008-10-034-527/+6
| | | | svn path=/trunk/; revision=36543
* Change licese from GPL to LGPL.Sankarasivasubramanian Pasupathilingam2008-10-033-32/+37
| | | | svn path=/trunk/; revision=36539
* Change License from GPL to LGPL.Sankarasivasubramanian Pasupathilingam2008-09-302-16/+23
| | | | svn path=/trunk/; revision=36502
* ** Remove unused filesSrinivasa Ragavan2008-09-291-2/+3
| | | | | | | | | | | | 2008-09-29 Srinivasa Ragavan <sragavan@novell.com> ** Remove unused files * widgets/table/Makefile.am: * widgets/table/e-cell-spin-button.c: * widgets/table/e-cell-spin-button.h: svn path=/trunk/; revision=36468
* Remove obsolete files.Sankarasivasubramanian Pasupathilingam2008-09-294-751/+6
| | | | svn path=/trunk/; revision=36466
* License changes from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-296-86/+95
| | | | svn path=/trunk/; revision=36465
* Change License from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-242-17/+22
| | | | svn path=/trunk/; revision=36443
* License changes from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-164-49/+54
| | | | svn path=/trunk/; revision=36344
* License Changes from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-135-65/+70
| | | | svn path=/trunk/; revision=36313
* License changes. Changed license from GPL to LGPL.Sankarasivasubramanian Pasupathilingam2008-09-046-81/+87
| | | | | | More to come. svn path=/trunk/; revision=36255
* Change License from GPL to LGPL. 2nd batch.Sankarasivasubramanian Pasupathilingam2008-09-0357-905/+923
| | | | | | More changes to come. svn path=/trunk/; revision=36247
* License ChangesSankarasivasubramanian Pasupathilingam2008-08-2757-909/+970
| | | | svn path=/trunk/; revision=36116
* ** Fix for bug #352695Milan Crha2008-08-112-2/+11
| | | | | | | | | | | | | | 2008-08-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #352695 * e-tree-table-adapter.c: (e_tree_table_adapter_load_expanded_state), (e_tree_table_adapter_load_expanded_state_xml): Call the e_table_model_changed in the proper function, to prevent lock of the model caused by previous commit to this bug. svn path=/trunk/; revision=35955
* ** Fix for bug #519292Milan Crha2008-08-115-39/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #519292 * mail/message-list.c: (load_tree_expand_all): Drop function. * mail/message-list.c: (regen_list_done): Rather use desired expanded state value when creating the tree instead of the default model's value for this to have 'expand/collapse all' commands work better and quicker. * widgets/tablee-tree.h: (e_tree_load_all_expanded_state): * widgets/tablee-tree.c: (e_tree_load_all_expanded_state): * widgets/tablee-tree-table-adapter.h: (e_tree_table_adapter_load_all_expanded_state): * widgets/tablee-tree-table-adapter.c: (e_tree_table_adapter_load_all_expanded_state), (set_expanded_state_func), (set_collapsed_state_func): Drop functions in favor of new functions. * widgets/tablee-tree.h: (e_tree_force_expanded_state): * widgets/tablee-tree.c: (e_tree_force_expanded_state): * widgets/tablee-tree-table-adapter.h: (e_tree_table_adapter_force_expanded_state): * widgets/tablee-tree-table-adapter.c: (e_tree_table_adapter_force_expanded_state), (struct ETreeTableAdapterPriv), (create_gnode), (etta_init): Use either default value of the model to expanded state of new node or use the one which has been set (forced) by new functions. svn path=/trunk/; revision=35954
* ** Fix for bug #352695Milan Crha2008-08-115-12/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #352695 * widgets/table/e-tree-table-adapter.h: (e_tree_table_adapter_save_expanded_state_xml), (e_tree_table_adapter_load_expanded_state_xml): * widgets/table/e-tree-table-adapter.c: (e_tree_table_adapter_save_expanded_state_xml), (e_tree_table_adapter_save_expanded_state), (e_tree_table_adapter_load_expanded_state_xml), (e_tree_table_adapter_load_expanded_state): * widgets/table/e-tree.h: (e_tree_save_expanded_state_xml), (e_tree_load_expanded_state_xml): * widgets/table/e-tree.c: (e_tree_save_expanded_state_xml), (e_tree_load_expanded_state_xml): Be able to store expanded state also in memory, not only on the disk. * mail/message-list.c: (struct _MessageListPrivate), (save_tree_state), (load_tree_state), (on_model_row_changed), (message_list_init), (message_list_construct), (struct _regen_list_msg), (regen_list_done), (regen_list_free), (mail_regen_list): Be able to recognize whether there has been any change on any row in a list and save expanded state only in case there was any change. Also use in-memory storing of the expanded state in case we do not want to rewrite full view It's for searches only, and it's not stored between sessions. svn path=/trunk/; revision=35953
* Committing on behalf of Milan Crha <mcrha@redhat.com> Milan Crha2008-07-219-1/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-07-15 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #329821 * e-table-item.c: (find_cell): Do not consider last row's height till the bottom. * e-table-item.h: (e_table_item_compute_mouse_over): * e-table-item.c: (e_table_item_compute_mouse_over): * e-table-group-container.c: (etgc_compute_mouse_over), (etgc_class_init): * e-table-group-leaf.c: (etgl_compute_mouse_over), (etgl_class_init): * e-table.h: (e_table_get_mouse_over_cell): * e-table.c: (e_table_get_mouse_over_cell): * e-table-group.h: (struct ETableGroupClass), (e_table_group_compute_mouse_over): * e-table-group.c: (e_table_group_compute_mouse_over), (etg_class_init): Be able to calculate mouse-over position correctly, relatively to the ETableItem. svn path=/trunk/; revision=35778
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-21135-141/+141
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-0614-18/+14
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* gdk_rgb_get_cmap -> gdk_rgb_get_colormapKjartan Maraas2008-06-046-5/+14
| | | | | | | | | | | | | 2008-06-03 Kjartan Maraas <kmaraas@gnome.org> * e-table-example-1.c: (main): * e-table-example-2.c: (main): * e-table-size-test.c: (main): * test-check.c: (check_test): * test-cols.c: (multi_cols_test): gdk_rgb_get_cmap -> gdk_rgb_get_colormap svn path=/trunk/; revision=35588
* gdk_pixbuf_unref() -> g_object_unref()Kjartan Maraas2008-06-043-2/+8
| | | | | | | | | | 2008-06-03 Kjartan Maraas <kmaraas@gnome.org> * test-check.c: (check_test): * test-cols.c: (multi_cols_test): gdk_pixbuf_unref() -> g_object_unref() svn path=/trunk/; revision=35587
* gtk_window_set_policy -> gtk_window_set_resizableKjartan Maraas2008-06-042-2/+6
| | | | | | | | | 2008-06-03 Kjartan Maraas <kmaraas@gnome.org> * e-cell-combo.c: (e_cell_combo_init): gtk_window_set_policy -> gtk_window_set_resizable svn path=/trunk/; revision=35585
* ** Fixes bug #534360Matthew Barnes2008-05-238-21/+34
| | | | | | | | | | | | 2008-05-22 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #534360 Migrate from deprecated GtkObject symbols to GObject equivalents. Touches over 150 files in all components; too many to list. svn path=/trunk/; revision=35526
* ** Fix for bug #528288Milan Crha2008-04-303-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-30 Milan Crha <mcrha@redhat.com> ** Fix for bug #528288 * widgets/misc/e-filter-bar.c: (get_property): Do not return any query with empty text from search bar. * widgets/table/e-tree.h: (e_tree_set_info_message): * widgets/table/e-tree.c: (struct ETreePriv), (et_dispose), (e_tree_init), (tree_size_allocate), (e_tree_set_info_message): Allow setting info message into the tree. It doesn't check whether the tree is empty or not, so take care of that. * mail/em-folder-browser.c: (emfb_init), (em_folder_browser_show_wide): Ensure minimum size for preview and message list. * mail/em-folder-browser.c: (get_view_query): Distinguish between no filter and custom filter. * mail/message-list.c: (regen_list_done): Set info message to tree when no message shown in a list. svn path=/trunk/; revision=35459
* ** Fix for bug #529893Danny Baumann2008-04-254-0/+12
| | | | | | | | | | | | | | | | | | | 2008-04-25 Danny Baumann <dannybaumann@web.de> ** Fix for bug #529893 * widgets/misc/e-dateedit.c (create_children): * widgets/misc/e-combo-cell-editable.c (build_popup): * widgets/misc/e-cell-date-edit.c (e_cell_date_edit_init): * widgets/table/e-table-header-item.c: (make_shaped_window_from_xpm): * widgets/table/e-cell-combo.c: (e_cell_combo_init): * widgets/table/e-cell-text.c: (ect_show_tooltip): * widgets/text/e-text.c: (_do_tooltip): * calendar/gui/e-calendar-view.c: (e_calendar_view_get_tooltips): Properly set type hints for popup windows. svn path=/trunk/; revision=35416
* ** Fix for bug #519292Milan Crha2008-03-272-2/+9
| | | | | | | | | | | | | | | | | | 2008-03-27 Milan Crha <mcrha@redhat.com> ** Fix for bug #519292 * mail/message-list.h: (message_list_set_expand_all): * mail/message-list.c: (message_list_set_expand_all): Remove unused confusing function. * mail/message-list.c: (regen_list_done): Use numbers instead of gboolean value. * widgets/table/e-tree-table-adapter.c: (set_expanded_state_func), (set_collapsed_state_func): Use rather recurse function. svn path=/trunk/; revision=35271
* ** Fix for bug #209353Milan Crha2008-02-202-1/+17
| | | | | | | | | | | | | | | | 2008-02-19 Milan Crha <mcrha@redhat.com> ** Fix for bug #209353 * e-util/e-text-event-processor-emacs-like.c: (e_text_event_processor_emacs_like_event): Allow paste text on mouse middle button click. * widgets/table/e-table-item.c: (eti_event): Pass Home/End keys to cell when editing. svn path=/trunk/; revision=35055
* ** Fix for bug #512623Milan Crha2008-02-013-6/+16
| | | | | | | | | | | | | 2008-02-01 Milan Crha <mcrha@redhat.com> ** Fix for bug #512623 * e-tree.c: (item_key_press): Check only if Ctrl/Alt/Shift is pressed when required Shift only. * e-table.c: (group_key_press): Ignore/consider GDK_MODEx_MASK states. svn path=/trunk/; revision=34944
* Fix some gradient issues.Srinivasa Ragavan2008-01-282-4/+8
| | | | | | | | 2008-01-28 Srinivasa Ragavan <sragavan@novell.com> * e-table-item.c: (eti_draw): Fix some gradient issues. svn path=/trunk/; revision=34914
* Cairofication of the preference window's etable.Srinivasa Ragavan2008-01-242-39/+22
| | | | svn path=/trunk/; revision=34877
* ** Fix for bug #511105Milan Crha2008-01-234-5/+19
| | | | | | | | | | | | | | 2008-01-22 Milan Crha <mcrha@redhat.com> ** Fix for bug #511105 * e-tree-table-adapter.c: (e_tree_table_adapter_load_expanded_state): * e-table-item.c: (eti_draw): * e-table-column-specification.c: (free_strings): Free allocated memory properly. svn path=/trunk/; revision=34868
* ** Fix for bug #511094Milan Crha2008-01-232-0/+10
| | | | | | | | | | | | 2008-01-22 Milan Crha <mcrha@redhat.com> ** Fix for bug #511094 * e-cell-text.c: (ect_draw): Set proper foreground color based on focused/non-focused canvas. svn path=/trunk/; revision=34867
* Draw the cursor only for multiselection.Srinivasa Ragavan2008-01-202-3/+7
| | | | | | | | | 2008-01-20 Srinivasa Ragavan <sragavan@novell.com> * e-table-item.c: (eti_draw): Draw the cursor only for multiselection. svn path=/trunk/; revision=34859
* Removed the pixmap cache. It wasn't giving alpha for the cairo renderedSrinivasa Ragavan2008-01-203-110/+87
| | | | | | | | | | | | | 2008-01-20 Srinivasa Ragavan <sragavan@novell.com> * e-cell-toggle.c: (etog_new_view), (etog_kill_view), (etog_draw), (etog_print), (e_cell_toggle_class_init), (e_cell_toggle_construct): Removed the pixmap cache. It wasn't giving alpha for the cairo rendered message list row. * e-table-item.c: (eti_draw): Render the rows with Cairo. It looks same as GtkTreeView and seems nice. svn path=/trunk/; revision=34855
* Patch from David Turner <cillian64@googlemail.com>: Fix for bug #408170 ↵Suman Manjunath2007-12-062-2/+9
| | | | | | (missing mnemonic in calendar list view, when right clicked on the column headers) svn path=/trunk/; revision=34658
* ** Fix for bug #458824David Turner2007-12-042-5/+11
| | | | | | | | | | | 2007-12-04 David Turner <cillian64@googlemail.com> ** Fix for bug #458824 * e-table-config.glade: Added mnemonics to the "Group" dialog svn path=/trunk/; revision=34642
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-15125-1445/+1445
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Fix for bug #255051Milan Crha2007-11-054-1/+25
| | | | | | | | | | | | | | | 2007-11-05 Milan Crha <mcrha@redhat.com> ** Fix for bug #255051 * e-cell-combo.c: (e_cell_combo_key_press): * e-cell-text.c: (ect_event): Pass Escape event to parent, if there is no action to do with it. * e-table-click-to-add.c: (etcta_event): Drop changes when pressed Escape and go back to default line with text "Click to add...". svn path=/trunk/; revision=34507
* ** Fixes bug #492058Damien Carbery2007-11-033-10/+18
| | | | | | | | | | | | | | | | 2007-11-02 Damien Carbery <damien.carbery@sun.com> ** Fixes bug #492058 * shell/e-shell-window.c: * shell/e-shell.c: * widgets/table/e-table-header-item.h: * widgets/table/e-table-header-item.c: * calendar/gui/e-itip-control.c: Name the anonymous unions to build with the Sun Studio compiler. svn path=/trunk/; revision=34485
* ** Fix for bug #463946Milan Crha2007-11-022-0/+8
| | | | | | | | | | | | 2007-11-02 Milan Crha <mcrha@redhat.com> ** Fix for bug #463946 * e-table-header-item.c: (ethi_popup_field_chooser): Fix of critical warning and misused variable. svn path=/trunk/; revision=34484
* ** Miscellaneous compiler warning fixes.Matthew Barnes2007-11-012-2/+7
| | | | | | | | | | | | | | | | 2007-11-01 Matthew Barnes <mbarnes@redhat.com> ** Miscellaneous compiler warning fixes. * composer/e-msg-composer.c (e_msg_composer_set_body_text): * shell/e-user-creatable-items-handler.c (ensure_menu_items): Don't compare a character pointer to a string literal. * widgets/table/e-table-click-to-add.c (etcta_add_message): Fix a const warning. svn path=/trunk/; revision=34476
* Warning fixes: - NULL vs. 0 vs. FALSE - Mark som code staticKjartan Maraas2007-10-319-17/+38
| | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-26 Kjartan Maraas <kmaraas@gnome.org> * e-cell-text.c: (ect_event), (_blink_scroll_timeout): * e-table-config.c: (do_sort_and_group_config_dialog), (do_fields_config_dialog): * e-table-group-container.c: (etgc_add_array), (etgc_get_focus_column), (etgc_get_cell_geometry), (etgc_set_property), (etgc_get_property), (etgc_class_init), (etgc_reflow), (etgc_init), (e_table_group_container_print_page), (e_table_group_container_height): * e-table-group.c: (e_table_group_get_focus_column): * e-table-header.c: (e_table_header_get_columns), (eth_set_size): * e-table-item.c: (eti_tree_unfreeze), (eti_draw), (find_cell), (_do_tooltip), (eti_event), (e_table_item_height): * e-table-memory-store.c: (etms_initialize_value), (etms_value_is_empty): * e-tree-model.c: (e_tree_model_new), (e_tree_model_node_find): Warning fixes: - NULL vs. 0 vs. FALSE - Mark som code static svn path=/trunk/; revision=34467
* ** Fixes bug 360134Tobias Mueller2007-10-123-3/+4
| | | | | | | | | | | | | | | | 2007-10-11 Tobias Mueller <muelli@auftrags-killer.org> ** Fixes bug 360134 * widgets/table/e-table-header-item.c: * widgets/table/e-table-field-chooser-dialog.c: * widgets/table/e-table-field-chooser-item.c: * widgets/table/e-table-field-chooser.c: * widgets/misc/e-reflow.c: Don't g_strdup strings passed to g_value_set_string since it dups the strings itself. svn path=/trunk/; revision=34377
* ** Fixes bug #437579Matthew Barnes2007-10-106-23/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-09 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #437579 * addressbook/conduit/address-conduit.c: * addressbook/gui/component/addressbook-config.c: * addressbook/gui/contact-editor/e-contact-editor.c: * addressbook/gui/widgets/eab-gui-util.c: * calendar/conduits/calendar/calendar-conduit.c: * calendar/conduits/memo/memo-conduit.c: * calendar/conduits/todo/todo-conduit.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/dialogs/memo-page.c: * calendar/gui/dialogs/task-page.c: * calendar/gui/e-day-view-layout.c: * calendar/gui/e-day-view-layout.h: * calendar/gui/print.c: * e-util/e-pilot-map.c: * e-util/e-plugin.c: * e-util/e-profile-event.c: * e-util/e-signature.c: * filter/filter-file.c: * mail/e-searching-tokenizer.c: * mail/em-folder-browser.c: * mail/em-format-html.c: * mail/em-format-view.c: * mail/em-format.c: * mail/em-mailer-prefs.c: * mail/em-mailer-prefs.h: * mail/mail-session.c: * mail/mail-session.h: * mail/mail-vfolder.c: * mail/message-list.c: * plugins/bbdb/bbdb.c: * plugins/bbdb/gaimbuddies.c: * plugins/calendar-http/calendar-http.c: * plugins/exchange-operations/exchange-user-dialog.c: * plugins/face/face.c: * shell/e-shell-window.c: * shell/e-shell.c: * smime/lib/e-cert-db.c: * tools/killev.c: * widgets/misc/e-cursors.c: * widgets/misc/e-spinner.c: * widgets/misc/e-unicode.c: * widgets/table/e-table-field-chooser-item.c: * widgets/table/e-table-header-item.c: * widgets/table/e-table-header-item.h: * widgets/table/e-table-header-utils.c: * widgets/table/e-table.c: * widgets/text/e-text.c: Fix various compiler warnings. Patch from Milan Crha. svn path=/trunk/; revision=34368
* Remove an unused function left behind by my previous commit.Matthew Barnes2007-10-021-10/+0
| | | | | | | | | | 2007-10-02 Matthew Barnes <mbarnes@redhat.com> * widgets/table/e-table-extras.c (pixbuf_hash_free): Remove an unused function left behind by my previous commit. svn path=/trunk/; revision=34345
* ** Fixes bug #469657Matthew Barnes2007-10-023-67/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-02 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #469657 * addressbook/importers/evolution-ldif-importer.c: * calendar/gui/comp-editor-factory.c: * composer/e-msg-composer.c: * e-util/e-config-listener.c: * mail/em-composer-prefs.c: * mail/em-folder-tree-model.c: * mail/em-format.c: * mail/em-format-html.c: * mail/em-migrate.c: * mail/em-subscribe-editor.c: * mail/mail-component.c: * mail/mail-send-recv.c: * mail/message-list.c: * mail/importers/elm-importer.c: * plugins/exchange-operations/exchange-folder-size-display.c: * plugins/mono/mono-plugin.c: * shell/e-shell-settings-dialog.c: * tools/killev.c: * widgets/table/e-table-extras.c: * widgets/table/e-table-selection-model.c: Use destroy functions in GHashTables to simplify memory management. svn path=/trunk/; revision=34344
* 2007-10-01 mcrha Fix for bug #470837Milan Crha2007-10-012-24/+46
| | | | svn path=/trunk/; revision=34342
* 2007-10-01 mcrha Fix for bug #474557Milan Crha2007-10-012-3/+10
| | | | svn path=/trunk/; revision=34336
* Fix for bug #461195 from Hiroyuki Ikezoe.Matthew Barnes2007-09-287-13/+24
| | | | | | | Use GObject's marshalers whenever possible. svn path=/trunk/; revision=34324
* 2007-09-27 mcrha Fix for bug #478871Milan Crha2007-09-272-4/+13
| | | | svn path=/trunk/; revision=34317
* 2007-09-27 mcrha Fix for bug #479716 (needs run autogen.sh)Milan Crha2007-09-274-2129/+31
| | | | svn path=/trunk/; revision=34316
* 2007-09-26 mcrha Fix for bug #340748Milan Crha2007-09-262-0/+9
| | | | svn path=/trunk/; revision=34307
* 2007-09-07 mcrha Fix for bug #473903Milan Crha2007-09-072-1/+8
| | | | svn path=/trunk/; revision=34192
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-02139-293/+289
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Move away from g_asserts from g_return*.Srinivasa Ragavan2007-08-317-33/+56
| | | | svn path=/trunk/; revision=34142
* 2007-08-24 mcrha Fix for bug #239441Milan Crha2007-08-242-1/+23
| | | | svn path=/trunk/; revision=34090
* ** Fixes bug #303877.Matthew Barnes2007-08-242-2/+82
| | | | | | | | | | | | | | | | | | 2007-08-23 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #303877. * e-cell-text.c: (update_im_cursor_locations): New function. Set the cursor location to IMContext for candidate window. (e_cell_text_get_cursor_locations): New function. Get the current cursor locations in root canvas. (e_cell_text_preedit_changed_cb): set the preedit cursor position to preedit_pos. (layout_with_preedit): call update_im_cursor_locations in the tail. Patch by Hiroyuki Ikezone. svn path=/trunk/; revision=34082
* ** Fix for bug #419690Srinivasa Ragavan2007-08-072-0/+10
| | | | svn path=/trunk/; revision=33964
* 2007-08-07 mcrha Fix for bug #463946Milan Crha2007-08-072-2/+9
| | | | svn path=/trunk/; revision=33962
* ** Fix for bug #455799Hiroyuki Ikezoe2007-08-041-13/+0
| | | | | | | | | | | | 2007-08-04 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fix for bug #455799 Remove all .cvsignore and update svn:ignore porperty in whole directories. svn path=/trunk/; revision=33945
* Remove E_MAKE_TYPE macro.Hiroyuki Ikezoe2007-07-2862-719/+555
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-27 Hiroyuki Ikezoe <poincare@ikezoe.net> * e-util/e-util.h: Remove E_MAKE_TYPE macro. * e-util/e-bit-array.c: * e-util/e-sorter-array.c: * e-util/e-sorter.c: * e-util/e-text-event-processor-emacs-like.c: * e-util/e-text-event-processor.c: * widgets/menus/gal-define-views-dialog.c: * widgets/menus/gal-define-views-model.c: * widgets/menus/gal-view-collection.c: * widgets/menus/gal-view-etable.c: * widgets/menus/gal-view-factory-etable.c: * widgets/menus/gal-view-factory.c: * widgets/menus/gal-view-instance-save-as-dialog.c: * widgets/menus/gal-view-instance.c: * widgets/menus/gal-view-new-dialog.c: * widgets/menus/gal-view.c: * widgets/misc/e-canvas-background.c: * widgets/misc/e-canvas-vbox.c: * widgets/misc/e-canvas.c: * widgets/misc/e-printable.c: * widgets/misc/e-reflow-model.c: * widgets/misc/e-reflow.c: * widgets/misc/e-selection-model-array.c: * widgets/misc/e-selection-model-simple.c: * widgets/misc/e-selection-model.c: * widgets/table/e-cell-checkbox.c: * widgets/table/e-cell-combo.c: * widgets/table/e-cell-date.c: * widgets/table/e-cell-float.c: * widgets/table/e-cell-hbox.c: * widgets/table/e-cell-number.c: * widgets/table/e-cell-pixbuf.c: * widgets/table/e-cell-popup.c: * widgets/table/e-cell-progress.c: * widgets/table/e-cell-size.c: * widgets/table/e-cell-spin-button.c: * widgets/table/e-cell-text.c: * widgets/table/e-cell-toggle.c: * widgets/table/e-cell-tree.c: * widgets/table/e-cell-vbox.c: * widgets/table/e-cell.c: * widgets/table/e-table-click-to-add.c: * widgets/table/e-table-col.c: * widgets/table/e-table-column-specification.c: * widgets/table/e-table-column.c: * widgets/table/e-table-config-field.c: * widgets/table/e-table-config.c: * widgets/table/e-table-extras.c: * widgets/table/e-table-field-chooser-dialog.c: * widgets/table/e-table-field-chooser-item.c: * widgets/table/e-table-field-chooser.c: * widgets/table/e-table-group-container.c: * widgets/table/e-table-group-leaf.c: * widgets/table/e-table-group.c: * widgets/table/e-table-header-item.c: * widgets/table/e-table-header.c: * widgets/table/e-table-item.c: * widgets/table/e-table-memory-callbacks.c: * widgets/table/e-table-memory-store.c: * widgets/table/e-table-memory.c: * widgets/table/e-table-model.c: * widgets/table/e-table-one.c: * widgets/table/e-table-scrolled.c: * widgets/table/e-table-search.c: * widgets/table/e-table-selection-model.c: * widgets/table/e-table-simple.c: * widgets/table/e-table-sort-info.c: * widgets/table/e-table-sorted-variable.c: * widgets/table/e-table-sorted.c: * widgets/table/e-table-sorter.c: * widgets/table/e-table-specification.c: * widgets/table/e-table-state.c: * widgets/table/e-table-subset-variable.c: * widgets/table/e-table-subset.c: * widgets/table/e-table-without.c: * widgets/table/e-table.c: * widgets/table/e-tree-memory-callbacks.c: * widgets/table/e-tree-memory.c: * widgets/table/e-tree-model.c: * widgets/table/e-tree-scrolled.c: * widgets/table/e-tree-selection-model.c: * widgets/table/e-tree-simple.c: * widgets/table/e-tree-sorted-variable.c: * widgets/table/e-tree-sorted.c: * widgets/table/e-tree-table-adapter.c: * widgets/table/e-tree.c: * widgets/text/e-completion-callbacks.c: * widgets/text/e-completion-view.c: * widgets/text/e-completion.c: * widgets/text/e-entry.c: * widgets/text/e-table-text-model.c: * widgets/text/e-text-model-uri.c: * widgets/text/e-text-model.c: * widgets/text/e-text.c: Use G_DEFINE_TYPE instead of E_MAKE_TYPE. svn path=/trunk/; revision=33864
* Collect all the required package versions in one place and explicitlyMatthew Barnes2007-07-282-2/+8
| | | | | | | | | | | | | 2007-07-27 Matthew Barnes <mbarnes@redhat.com> * configure.in: Collect all the required package versions in one place and explicitly require GTK+ 2.10 or higher. (#380354) * Adapt various Makefile.am files. svn path=/trunk/; revision=33863
* ** Fix for bug #323522Srinivasa Ragavan2007-07-272-1/+9
| | | | svn path=/trunk/; revision=33860
* Fix for bug #353752Srinivasa Ragavan2007-07-095-70/+92
| | | | svn path=/trunk/; revision=33777
* ** Fix for bug #325882Srinivasa Ragavan2007-06-181-1/+1
| | | | svn path=/trunk/; revision=33694
* Free the model_cols array when the instance is destroyed (#447742).Matthew Barnes2007-06-152-0/+16
| | | | | | | | | | 2007-06-15 Matthew Barnes <mbarnes@redhat.com> * e-cell-vbox.c (ecv_finalize): Free the model_cols array when the instance is destroyed (#447742). svn path=/trunk/; revision=33676
* Fix compilation warnings in widgets folder (#441014).Matthew Barnes2007-06-0313-131/+168
| | | | svn path=/trunk/; revision=33626
* ** Fix for bug #333707 from David MooreSrinivasa Ragavan2007-05-312-0/+43
| | | | svn path=/trunk/; revision=33608
* ** Fixes bug #441010Matthew Barnes2007-05-253-28/+147
| | | | | | | | | | | | | | | | | | | | | | 2007-05-25 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #441010 * gal-combo-box.c: * gal-combo-box.h: * gal-combo-text.c: * gal-combo-text.h: Bye bye old widgets, go back to Motif! * Makefile.am: Remove the aforementioned files. * e-table-config.c: * e-table-config.h: Replace GalComboText with a GtkComboBox/GtkListStore. svn path=/trunk/; revision=33575
* Add support for GMail like sortingSrinivasa Ragavan2007-05-176-1/+66
| | | | svn path=/trunk/; revision=33553
* Add code to support default thread expand stateSrinivasa Ragavan2007-05-162-1/+26
| | | | svn path=/trunk/; revision=33550
* ** Fix for bug #378441 from Ebby WiselynSrinivasa Ragavan2007-05-142-11/+17
| | | | svn path=/trunk/; revision=33528
* Fix for bug #355919simon.zheng2007-05-122-1/+12
| | | | | | | | | | | | | | | | 2007-05-12 simon.zheng <simon.zheng@sun.com> * Fix for bug #355919 * e-table-header-utils.c: (make_composite_pixmap): gdk_rgb_get_visual()->depth always returns preferred visual depth, which isn't always equal to the that of current window. Whereas, using -1 will match the depth of the pixmap window to what we have in drawable window, which is the first argument of gdk_pixmap_new(). So use -1 instead. svn path=/trunk/; revision=33517
* Clean up printing in Evolution (bug #426816)Matthew Barnes2007-04-206-84/+88
| | | | svn path=/trunk/; revision=33440
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-2023-69/+122
| | | | svn path=/trunk/; revision=33432
* Fix "incompatible pointer type" warnings (#360619).Matthew Barnes2007-03-305-11/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-29 Matthew Barnes <mbarnes@redhat.com> * calendar/gui/e-day-view.c: * calendar/gui/e-week-view.c: * calendar/gui/tasks-control.c: * composer/e-msg-composer-select-file.c: * mail/em-account-editor.c: * mail/em-folder-view.c: * mail/em-format-html-display.c: * mail/em-format-html.c: * mail/em-format.h: * mail/em-mailer-prefs.c: * mail/em-vfolder-rule.c: * mail/mail-ops.c: * mail/mail-send-recv.c: * mail/message-list.c: * plugins/bbdb/gaimbuddies.c: * plugins/itip-formatter/itip-formatter.c: * plugins/save-calendar/save-calendar.c: * shell/e-shell-window.c: * widgets/misc/e-icon-entry.c: * widgets/table/e-table-header-utils.c: * widgets/table/e-table-item.c: * widgets/table/e-tree-header-item.c: * widgets/table/e-tree-table-adapter.c: Fix "incompatible pointer type" warnings (#360619). svn path=/trunk/; revision=33339
* Don't mix declarations and code (#405495).Matthew Barnes2007-03-273-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-27 Matthew Barnes <mbarnes@redhat.com> * a11y/e-table/gal-a11y-e-cell-text.c: * a11y/e-table/gal-a11y-e-cell-vbox.c: * addressbook/gui/component/addressbook-component.c: * addressbook/gui/component/addressbook-view.c: * addressbook/gui/contact-editor/e-contact-editor.c: * addressbook/gui/contact-editor/e-contact-quick-add.c: * addressbook/gui/widgets/e-addressbook-view.c: * addressbook/gui/widgets/eab-contact-display.c: * addressbook/gui/widgets/gal-view-minicard.c: * calendar/gui/alarm-notify/alarm-queue.c: * calendar/gui/dialogs/comp-editor.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/dialogs/memo-page.c: * calendar/gui/dialogs/task-page.c: * calendar/gui/e-cal-popup.c: * calendar/gui/e-meeting-list-view.c: * calendar/gui/e-tasks.c: * calendar/gui/gnome-cal.c: * composer/e-msg-composer.c: * mail/em-folder-browser.c: * mail/em-format.c: * mail/em-popup.c: * plugins/exchange-operations/exchange-account-setup.c: * plugins/exchange-operations/exchange-calendar.c: * plugins/exchange-operations/exchange-config-listener.c: * plugins/exchange-operations/exchange-contacts.c: * plugins/import-ics-attachments/icsimporter.c: * widgets/misc/e-filter-bar.c: * widgets/misc/e-multi-config-dialog.c: * widgets/table/e-cell-checkbox.c: * widgets/table/e-table-header-item.c: Don't mix declarations and code (#405495). svn path=/trunk/; revision=33324
* ** Fixes bug #419524Matthew Barnes2007-03-2125-30/+36
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* ** Fixes bug #360240Matthew Barnes2007-03-172-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-16 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #360240 * addressbook/gui/widgets/e-addressbook-view.c (e_contact_print_button): * addressbook/printing/e-contact-print.c (complete_sequence), (e_contact_build_style), (e_contact_print_response), (e_contact_print_contact_list_dialog_new): * shell/e-shell-importer.c (importer_file_page_new): * plugins/startup-wizard/startup-wizard.c (startup_wizard_timezone_page): * mail/em-vfolder-rule.c (select_source_with_changed), (get_widget): * mail/em-format-quote.c (emfq_format_source): * mail/mail-ops.c (save_messages_save): * mail/em-format.c (emf_init): * mail/em-format-html-display (em_format_html_get_search_dialog), (em_format_html_display_seearch_with), (ehhd_resize), (efhd_attachment_optional), (efhd_format_optional): * mail/em-folder-view.c (emfv_init): * mail/message-list.c (ml_tree_value_at): * composer/e-msg-composer-hdrs (header_new_recipient): * composer/e-msg-composer.c (e_msg_composer_show_help), (drop_action): * widgets/table/e-cell-text.c (ect_free_color): * widgets/misc/e-calendar-item.c (e_calendar_item_unrealize): * widgets/misc/e-icon-entry.c (e_icon_entry_pack_widget): Remove unused variables. svn path=/trunk/; revision=33315
* ** Fixes bug #357216Matthew Barnes2007-03-0111-2/+90
| | | | | | | | | | | | | | | | | | 2006-02-08 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #357216 * text/e-entry.c: Remove "font", "fontset", and "gdk_font" properties, since they forward gets and sets to non-existant properties in entry->item. 2006-09-27 Matthew Barnes <mbarnes@redhat.com> Fixes bug #357970 * text/e-text.c (e_text_unrealize): Don't call deprecated GLib / GDK svn path=/trunk/; revision=33269
* Print migration updates from Ebby Wiselyn.Srinivasa Ragavan2007-02-123-8/+15
| | | | svn path=/trunk/; revision=33201
* ** Fixes bug #357216Matthew Barnes2007-02-097-58/+68
| | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-08 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #357216 * widgets/text/e-entry.c: Remove "font", "fontset", and "gdk_font" properties, since they forward gets and sets to non-existant properties in entry->item. * widgets/table/e-table-field-chooser-item.c: * widgets/table/e-table-field-chooser-item.h: * widgets/table/e-table-group-container.c: * widgets/table/e-table-group-container.h: Replace deprecated GdkFont with PangoFontDescription. * widgets/table/e-table-header-item.c: * widgets/table/e-table-header-item.h: Replace deprecated GdkFont with PangoFontDescription. Rename "fontset" property to "font-desc", and change the property type to a boxed PangoFontDescription. svn path=/trunk/; revision=33185
* ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22Srinivasa Ragavan2007-01-2310-286/+255
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. svn path=/trunk/; revision=33134
* Fixes bug #357970Matthew Barnes2006-12-0412-70/+85
| | | | | | | | | | | | | | | | | | | | | 2006-12-04 Matthew Barnes <mbarnes@redhat.com> Fixes bug #357970 * e-cell-pixbuf.c: * e-cell-progress.c: * e-cell-text.c: * e-cell-toggle.c: * e-cell-tree.c: * e-table-col.c: * e-table-extras.c: * e-table-header-item.c: * e-table-header-utils.c: * e-table-item.c: * e-table-memory-store.c: Don't call deprecated GLib / GDK functions. svn path=/trunk/; revision=33049
* Fixes bug #381642.Harish Krishnaswamy2006-12-042-0/+13
| | | | | | | | | 2006-12-04 Harish Krishnaswamy <kharish@novell.com> * e-table.c: (canvas_vbox_event), (click_to_add_event): Fixes bug #381642. svn path=/trunk/; revision=33043
* ** Fixes bug #352450Matthew Barnes2006-09-1811-33/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-08-23 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #352450 * misc/e-canvas-background.c: * misc/e-cursors.c: * misc/e-map.c: * misc/e-reflow.c: * misc/e-task-widget.c: * misc/gal-combo-box.c: * table/e-cell-text.c: * table/e-cell-toggle.c: * table/e-table-field-chooser-item.c: * table/e-table-field-chooser.c: * table/e-table-header-item.c: * table/e-table-header-utils.c: * table/e-table-item.c: * table/e-table.c: * table/e-tree-memory.c: * table/e-tree-sorted.c: * table/e-tree.c: * table/e-text.c: Replace deprecated GLib and GDK function calls. svn path=/trunk/; revision=32783
* ** Fixes bug #337582Hiroyuki Ikezoe2006-08-242-134/+31
| | | | | | * e-cell-text.c: Use GtkClipboard instead of GtkInvisible. svn path=/trunk/; revision=32650
* changed window focus. Fixes bug #266802.Andre Klapper2006-08-212-3/+8
| | | | | | | | | 2006-08-21 Andre Klapper <a9016009@gmx.de> * e-table-config.glade: changed window focus. Fixes bug #266802. svn path=/trunk/; revision=32614
* Fix for bug 347430Srinivasa Ragavan2006-08-212-5/+6
| | | | svn path=/trunk/; revision=32603
* Commiting patch from Pavel Roskin for adding missing headers.Srinivasa Ragavan2006-08-203-0/+9
| | | | svn path=/trunk/; revision=32600
* Fix for bug #350884 (GMail like thread sorting)Srinivasa Ragavan2006-08-192-1/+21
| | | | svn path=/trunk/; revision=32587
* Added cairo font rendering to ECell and EText.Srinivasa Ragavan2006-07-202-5/+17
| | | | svn path=/trunk/; revision=32359
* ** Fixes bug #333041 add gettext support to some strings.Benoît Dejean2006-07-182-6/+11
| | | | | | | | | 2006-07-18 Benoît Dejean <benoit@placenet.org> ** Fixes bug #333041 * e-table-group-container.c: add gettext support to some strings. svn path=/trunk/; revision=32338
* Revert the previous patch. Requires rework.Harish Krishnaswamy2006-07-101-58/+2
| | | | | | | | | | 2006-07-10 Harish Krishnaswamy <kharish@novell.com> * table/e-cell-text.c: (ect_unrealize), (build_layout): * text/e-text.c: (reset_layout): Revert the previous patch. Requires rework. svn path=/trunk/; revision=32272
* Added code for Resize Transparency with Cairo drawing. Added code toRajeev ramanathan2006-07-101-2/+58
| | | | | | | | | | 2006-07-10 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in> Added code for Resize Transparency with Cairo drawing. Added code to render ECell and EText text items with antialiasing, hinting and sub-pixel ordering with cairo. svn path=/trunk/; revision=32270
* Enhanced search functionality. patch submitted by Johnny Jacob ReviewedHarish Krishnaswamy2006-06-301-1/+1
| | | | | | | | | 2006-06-30 Harish Krishnaswamy <kharish@novell.com> Enhanced search functionality. patch submitted by Johnny Jacob Reviewed and committed by Harish. svn path=/trunk/; revision=32207
* **Fixes bug #338295 Use pango to handle text when printing tasks.simon.zheng2006-06-122-29/+73
| | | | | | | | | | | 2006-06-12 simon.zheng <simon.zheng@sun.com> **Fixes bug #338295 * e-cell-text.c: (get_font_description_for_size), (get_font_size), (ect_print), (ect_print_height): Use pango to handle text when printing tasks. svn path=/trunk/; revision=32118
* ** Fixes bug #343764 now entirely Adding a weak reference to avoidEd Catmur2006-06-122-0/+7
| | | | | | | | | | 2006-06-12 Ed Catmur <ed@catmur.co.uk> ** Fixes bug #343764 now entirely * e-table-header-utils.c: (e_table_header_draw_button): Adding a weak reference to avoid crashing. svn path=/trunk/; revision=32109
* Committing a fix for sorting in the vertical view message list.Srinivasa Ragavan2006-06-125-22/+56
| | | | svn path=/trunk/; revision=32105
* ** Fixes bug #343764 Ensure g_label points to the right widget beforeCarlos Garcia Campos2006-06-082-3/+9
| | | | | | | | | | | 2006-06-08 Carlos Garcia Campos <carlosgc@gnome.org> ** Fixes bug #343764 * e-table-header-utils.c: (e_table_header_draw_button): Ensure g_label points to the right widget before accessing to its style. svn path=/trunk/; revision=32094
* Remove extra tabs. Fixes #343734.Hiroyuki Ikezoe2006-06-052-2/+6
| | | | | | | | 2006-06-05 Hiroyuki Ikezoe <poincare@ikezoe.net> * Makefile.am: Remove extra tabs. Fixes #343734. svn path=/trunk/; revision=32079
* Added support for Vertical View in Evolution Mailer with custom message list.Srinivasa Ragavan2006-06-036-3/+500
| | | | svn path=/trunk/; revision=32071
* Reviewed and committed by Harish Krishnaswamy <kharish@novell.com>Hiroyuki Ikezoe2006-05-122-2/+6
| | | | | | | | | | | 2006-05-12 Hiroyuki Ikezoe <poincare@ikezoe.net> Reviewed and committed by Harish Krishnaswamy <kharish@novell.com> ** Fixes bug #341530. * e-table.h: Removed duplicate delcaration of e_table_commi_click_to_add. svn path=/trunk/; revision=31979
* ** Fixes bug #327035 Grab focus only from widgets which can have focus on.Jeff Cai2006-04-102-1/+8
| | | | | | | | | | 2006-04-10 Jeff Cai <jeff.cai@sun.com> ** Fixes bug #327035 * e-table-header-item.c: (ethi_event): Grab focus only from widgets which can have focus on. svn path=/trunk/; revision=31796
* Committing fix for bug #328283Srinivasa Ragavan2006-03-022-2/+10
| | | | svn path=/trunk/; revision=31623
* ** Fixes bug #331400Simon Zheng2006-03-012-1/+15
| | | | | | | | | | | | | 2006-03-01 Simon Zheng <simon.zheng@sun.com> ** Fixes bug #331400 * e-cell-text.c: (ect_print_height): Table item height is decided by the max cell height in item. And cell-text is just one of cells. As done by ect_print(), to leave some margin for text, 2 for footer, 2 for header, actual print height should be 16 + 4. svn path=/trunk/; revision=31617
* Fixed bug #332408Srinivasa Ragavan2006-02-242-0/+56
| | | | svn path=/trunk/; revision=31575
* Fixes bug #328283Srinivasa Ragavan2006-02-142-2/+12
| | | | svn path=/trunk/; revision=31512
* Tons of cleanups of the following sort: - remove unused vars - removeKjartan Maraas2006-01-3025-182/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-30 Kjartan Maraas <kmaraas@gnome.org> * e-timezone-dialog/e-timezone-dialog.c: (get_zone_from_point): * menus/gal-view-menus.c: * misc/e-attachment-bar.c: (calculate_height_width), (update_remote_file), (e_attachment_bar_get_attachment), (class_init): * misc/e-attachment.c: (async_progress_update_cb), (download_to_local_path): * misc/e-calendar-item.c: (e_calendar_item_get_arg), (e_calendar_item_realize), (e_calendar_item_ensure_days_visible): * misc/e-calendar.c: (e_calendar_drag_motion), (e_calendar_drag_leave), (e_calendar_focus): * misc/e-canvas-background.c: (ecb_get_property): * misc/e-canvas.c: (e_canvas_class_init), (pick_current_item): * misc/e-cell-date-edit.c: (e_cell_date_edit_do_popup), (e_cell_date_edit_show_popup): * misc/e-cell-percent.c: * misc/e-charset-picker.c: (e_charset_picker_bonobo_ui_populate): * misc/e-config-page.c: (e_config_page_class_init): * misc/e-dateedit.c: (e_date_edit_set_date), (e_date_edit_set_date_and_time_of_day), (on_date_popup_date_selected): * misc/e-dropdown-button.c: (e_dropdown_button_class_init): * misc/e-expander.c: (get_expander_bounds), (e_expander_expose), (is_in_expander_panel): * misc/e-filter-bar.c: (option_changed), (build_items): * misc/e-image-chooser.c: (e_image_chooser_init), (image_drag_data_received_cb): * misc/e-map.c: (e_map_size_allocate), (e_map_button_press), (e_map_button_release), (e_map_motion), (e_map_zoom_to_location), (e_map_zoom_out), (update_render_point), (repaint_point), (zoom_in_smooth): * misc/e-multi-config-dialog.c: (impl_response): * misc/e-reflow.c: (e_reflow_realize), (e_reflow_event): * misc/e-search-bar.c: (clear_search), (search_now_verb_cb), (entry_activated_cb), (activate_button_clicked_cb), (clear_button_clicked_cb): * misc/e-selection-model.c: (e_selection_model_key_press): * misc/e-send-options.c: (delay_until_date_changed_cb), (e_sendoptions_get_need_general_options): * misc/e-unicode.c: (e_stripped_char): * table/e-cell-progress.c: (eprog_draw_border), (eprog_draw), (eprog_event): * table/e-cell-spin-button.c: (ecsb_event), (ecsb_focus), (ecsb_unfocus), (ecsb_dispose): * table/e-cell-text.c: (ect_draw), (ect_show_tooltip): * table/e-cell-toggle.c: (etog_draw), (etog_event): * table/e-cell-tree.c: (ect_max_width): * table/e-cell-vbox.c: * table/e-table-click-to-add.c: (etcta_event): * table/e-table-config.c: (create_global_store): * table/e-table-field-chooser-dialog.c: * table/e-table-field-chooser-item.c: (etfci_find_button), (etfci_reflow), (etfci_get_property), (etfci_realize): * table/e-table-field-chooser.c: (e_table_field_chooser_class_init): * table/e-table-group-container.c: (etgc_unrealize): * table/e-table-group.c: (e_table_group_new): * table/e-table-header-item.c: (e_table_header_item_get_height), (ethi_realize), (ethi_event): * table/e-table-header-utils.c: (e_table_draw_elided_string), (e_table_header_draw_button): * table/e-table-item.c: (eti_set_property), (eti_get_property), (eti_draw), (eti_event), (eti_cursor_change): * table/e-table-scrolled.c: (e_table_scrolled_class_init): * table/e-table-search.c: * table/e-table-sort-info.c: (e_table_sort_info_save_to_node): * table/e-table.c: (table_canvas_reflow_idle), (table_canvas_size_allocate), (canvas_vbox_event), (click_to_add_event), (do_drag_motion), (e_table_class_init): * table/e-tree-scrolled.c: (e_tree_scrolled_class_init): * table/e-tree.c: (tree_canvas_reflow_idle), (tree_canvas_size_allocate), (e_tree_drag_get_data), (do_drag_motion), (e_tree_class_init): * text/e-text.c: (e_text_set_property), (e_text_draw), (_do_tooltip), (primary_clear_cb), (_get_position), (e_text_command): Tons of cleanups of the following sort: - remove unused vars - remove extraneous semi-colons - add some comments where assignments were done without using the results later - remove break; statements after return foo; - add casts in some places to be more type correct - rename variables with name clashes - s/if/ifdef in some cases - mark some code static - remove some unused functions - use guint for 1-bit bitfields svn path=/trunk/; revision=31371
* removed string "dialog1" from translation. Fixes bug 306118.Andre Klapper2006-01-273-2/+7
| | | | | | | | | | | | 2006-01-27 Andre Klapper <a9016009@gmx.de> * plugins/groupwise-features/proxy-listing.glade: * plugins/publish-calendar/publish-calendar.glade: * smime/gui/smime-ui.glade: * widgets/table/e-table-config.glade: * widgets/table/e-table-config-no-group.glade: removed string "dialog1" from translation. Fixes bug 306118. svn path=/trunk/; revision=31326
* Added functions to collapse/Expand allSrinivasa Ragavan2006-01-162-0/+44
| | | | | | | | | | | | 2006-01-16 Srinivasa Ragavan <sragavan@novell.com> * table/e-tree-table-adapter.c (set_expanded_state_func), (set_collapsed_state_func): (e_tree_table_adapter_load_all_expanded_state): * table/e-tree.c: (e_tree_load_all_expanded_state): Added functions to collapse/Expand all svn path=/trunk/; revision=31203
* Fixes the scroll issue with e-tree.Srinivasa Ragavan2006-01-132-0/+17
| | | | | | | | | 2006-01-13 Srinivasa Ragavan <sragavan@novell.com> * e-table-item.c: (adjustment_changed), (eti_tree_unfreeze), (eti_realize): Fixes the scroll issue with e-tree. svn path=/trunk/; revision=31157
* fixed one typo. Fixes bug 306118 partially.Andre Klapper2005-12-231-1/+1
| | | | | | | | 2005-12-23 Andre Klapper <a9016009@gmx.de> * e-table.c: fixed one typo. Fixes bug 306118 partially. svn path=/trunk/; revision=30939
* fixes #303876Chenthill Palanisamy2005-12-212-1/+11
| | | | svn path=/trunk/; revision=30921
* Use g_ascii_strcasecmp() instead of g_strcasecmp(). This function handlesTor Lillqvist2005-12-184-17/+18
| | | | | | | | | | | | | | 2005-12-18 Tor Lillqvist <tml@novell.com> * e-table-config.c (find_model_column_by_name): Use g_ascii_strcasecmp() instead of g_strcasecmp(). This function handles the English column names. * e-table-specification.c (e_table_specification_load_from_file) * e-table-state.c (e_table_state_load_from_file): Use e_xml_parse_file(). svn path=/trunk/; revision=30867
* Link with bootstrap libs on Win32. Use E_WIDGETS_CFLAGS instead ofTor Lillqvist2005-12-182-5/+24
| | | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * Makefile.am: Link with bootstrap libs on Win32. Use E_WIDGETS_CFLAGS instead of GNOME_BONOBO_CFLAGS, GNOME_INCLUDEDIR, ICONV_CFLAGS and GNOME_FULL_CFLAGS. Link with all required libraries. Use -no-undefined on Win32. svn path=/trunk/; revision=30828
* Fixed substitutions that I missed in the last commit.Harish Krishnaswamy2005-12-104-4/+4
| | | | | | | 2005-12-10 Harish Krishnaswamy <kharish@novell.com> Fixed substitutions that I missed in the last commit. svn path=/trunk/; revision=30744
* prefix the wrapper functions with e - do not use g lest it is assumed toHarish Krishnaswamy2005-12-097-9/+19
| | | | | | | | | | | | | | | | 2005-12-09 Harish Krishnaswamy <kharish@novell.com> * e-util.[ch] (e_str_compare), (e_str_case_compare), (e_collate_compare), (e_int_compare): prefix the wrapper functions with e - do not use g lest it is assumed to be a glib function. * e-table-example-2.c (create_table), e-table-extras.c (ete_init): * e-table-size-test.c (create_table), test-check.c (check_test): * test-cols.c (multi_cols_test), test-table.c (table_browser_test): s/g_*_compare/e_*_compare. svn path=/trunk/; revision=30739
* Fixes #322740. change the condition expression for GDK_RIGHT and GDK_LEFT.Boby Wang2005-12-072-2/+8
| | | | | | | | | | 2005-12-07 Boby Wang <boby.wang@sun.com> Fixes #322740. * e-tree.c: (item_key_press): change the condition expression for GDK_RIGHT and GDK_LEFT. svn path=/trunk/; revision=30736
* Fixes bug #322776. When focus come into e-tree, it is possible that theLi Yuan2005-12-062-1/+9
| | | | | | | | | | | | 2005-12-06 Li Yuan <li.yuan@sun.com> * e-tree.c: (table_canvas_focus_event_cb): Fixes bug #322776. When focus come into e-tree, it is possible that the focused_item is not NULL and there is no focused item in e-tree. So test e_selection_model_cursor_row also. svn path=/trunk/; revision=30724
* Use gnome_font_find_closest instead of gnome_font_find since Helvetica isKaushal Kumar2005-10-142-1/+10
| | | | | | | | | | | | | 2005-10-14 Kaushal Kumar <kakumar@novell.com> * table/e-table-group-container.c (e_table_group_container_print_page): Use gnome_font_find_closest instead of gnome_font_find since Helvetica is not always present. Fixes bug #246803. Patch by: Mubeen Jukaku. svn path=/trunk/; revision=30506
* dded case insensitive compare support etable, and using it for OrganizationSushma Rai2005-10-042-0/+8
| | | | | | | filed. Fixes #207110. Patch submitted by "Devashish Sharma <sdevashish@novell.com>" svn path=/trunk/; revision=30489
* e-table.c (e_table_load_specification) e-table-specification.cTor Lillqvist2005-09-304-3/+12
| | | | | | | | | | | | | 2005-09-29 Tor Lillqvist <tml@novell.com> * e-table.c (e_table_load_specification) * e-table-specification.c (e_table_specification_load_from_file) * e-tree-table-adapter.c (open_file): Use g_win32_locale_filename_from_utf8() from GLib 2.8 instead of gnome_win32_locale_filename_from_utf8() which was temporarily in libgnome. svn path=/trunk/; revision=30421
* Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing toTor Lillqvist2005-09-282-5/+12
| | | | | | | | | | | 2005-09-28 Tor Lillqvist <tml@novell.com> * e-table-specification.c (e_table_specification_load_from_node): Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to literal ASCII strings, just casefolding ASCII is enough. Also better for portability. svn path=/trunk/; revision=30407
* Fixes #314352. if accessibility is enabled, we enable horizontal cusorLi Yuan2005-08-252-2/+13
| | | | | | | | | | | 2005-08-24 Li Yuan <li.yuan@sun.com> Fixes #314352. * e-table-item.c: (eti_event): if accessibility is enabled, we enable horizontal cusor movement for line selection. svn path=/trunk/; revision=30244
* fix some missing casts.Not Zed2005-08-242-4/+8
| | | | | | | | 2005-08-23 Not Zed <NotZed@Ximian.com> * e-table-config.c (setup_fields): fix some missing casts. svn path=/trunk/; revision=30220
* ** See bug #313063.Not Zed2005-08-152-1/+9
| | | | | | | | | | | | 2005-08-10 Not Zed <NotZed@Ximian.com> ** See bug #313063. * e-tree.c (e_tree_class_init): fix the set_scroll_adjustments signal to take object, not pointer arguments. Since glib's anality doesn't accept an object pointer as a pointer. go figure. svn path=/trunk/; revision=30117
* Add a11y name to the left table of config dialog. Add name to the leftLi Yuan2005-08-041-2/+14
| | | | | | | | | | | | | | 2005-08-03 Li Yuan <li.yuan@sun.com> * menus/gal-view-new-dialog.glade: Add a11y name to the left table of config dialog. * misc/e-multi-config-dialog.c: Add name to the left table of preference dialog. * table/e-table-config.c: (e_table_proxy_etable_shown_new), (e_table_proxy_etable_available_new): Add a11y name to "Show Fields" table and "Available Fields" table. svn path=/trunk/; revision=29980
* Added code to use stock icons instead of -> and <-Srinivasa Ragavan2005-07-252-8/+262
| | | | | | | | | 2005-07-25 Srinivasa Ragavan <sragavan@novell.com> * e-table-config.glade: Added code to use stock icons instead of -> and <- svn path=/trunk/; revision=29867
* Added widgets in INCLUDES.Kaushal Kumar2005-06-2329-47/+53
| | | | | | | | | | | | 2005-06-23 Kaushal Kumar <kakumar@novell.com> * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am, addressbook/gui/search/Makefile.am, plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES. Updated the include paths to use misc instead of widgets/misc. svn path=/trunk/; revision=29574
* Added from gal/gal/e-table as Gal is retired from Head and e-table filesKaushal Kumar2005-06-211-0/+8918
| | | | | | | | | 2005-06-21 Kaushal Kumar <kakumar@novell.com> * table/ChangeLog: Added from gal/gal/e-table as Gal is retired from Head and e-table files are moved here. svn path=/trunk/; revision=29558
* If only a few rows have changed, emit each as a separate row_changed eventNot Zed2005-06-201-2/+31
| | | | | | | | | | | 2005-06-08 Not Zed <NotZed@Ximian.com> * e-tree-selection-model.c (etsm_toggle_single_row) (etsm_select_single_row): If only a few rows have changed, emit each as a separate row_changed event rather than triggering a complete redraw of the whole window. svn path=/trunk/; revision=29551
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-17126-376/+535
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* Don't hide the tooltip if we don't have a canvas anymore. Patch by: NotKaushal Kumar2005-06-011-1/+3
| | | | | | | | | | 2005-06-01 Kaushal Kumar <kakumar@novell.com> * e-table-item.c (eti_dispose): Don't hide the tooltip if we don't have a canvas anymore. Patch by: Not Zed svn path=/trunk/; revision=29436
* export ethi_change_sort_state, so we can call it in a11y part.Li Yuan2005-05-204-1/+14
| | | | | | | | | | | | | | | 2005-05-20 Li Yuan <li.yuan@sun.com> * e-table-header-item.c: * e-table-header-item.h: export ethi_change_sort_state, so we can call it in a11y part. * e-tree.c: (e_tree_get_header_item): * e-tree.h: return the header item of e-tree. Fix for #302154. svn path=/trunk/; revision=29393
* Check for NULL string before passing to dgettext. Fixes a crash onSarfraaz Ahmed2005-05-061-1/+1
| | | | | | | | | | 2005-05-06 Sarfraaz Ahmed <asarfraaz@novell.com> * gal/e-table/e-table.c (et_real_construct) : Check for NULL string before passing to dgettext. Fixes a crash on Solaris. #260312. Patch submitted by Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> svn path=/trunk/; revision=29280
* Port to Windows, initial commit:Tor Lillqvist2005-04-2968-272/+419
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-29 Tor Lillqvist <tml@novell.com> Port to Windows, initial commit: * configure.in: Check for Win32, define Automake conditional OS_WIN32. Check for regexec() perhaps in separate -lregex, define REGEX_LIBS if so. Require glib-2.0 >= 2.6 (and thus also gtk+-2.0 >= 2.6) so that we can use the gstdio wrappers for full support of non-ASCII filenames on Win32. Don't use -D_REENTRANT on Win32, has ne special meaning. * gal.pc.in: Require gtk+-2.0 >= 2.6 also here for consistency. * gal-zip.in: New file, used to build zipfile format distribution of gal for Win32. * configure.in * Makefile.am: Add gal-zip(.in). * */Makefile.am * */*.c: Harmonize -I and #include conventions. (Of course, this hasn't anything to do with Windows porting as such, I just got carried away...) Use only -I$(top_srcdir). Use paths to gal headers staring with "gal", except for headers from the same directory as the .c file, which are included as such. Include all gal headers using doublequotes. Sort #includes and remove duplicates and obvious redundancies. Include config.h first without any HAVE_CONFIG_H, then system headers, then other GNOME lib headers, than gal's own headers. Just include gtk.h instead of separate gtk*.h headers. Don't include gi18n.h, include e-i18n.h to use e_gettext() consistently. * gal/Makefile.am: Use -no-undefined on Win32 so that libtool agrees to build a shared library. Because of the bidirectional dependency between libgal and libgal-a11y we can build libgal-a11y sanely as a shared library on Win32, so we don't install any separate libgal-a11y at all. So, on Win32, link the stuff that goes into libgal-a11y also into libgal. Link with REGEX_LIBS. * gal/a11y/Makefile.am: See above. Just build a dummy static libgal-a11y on Win32 (can't convince Automake not to build the library at all on one platform using Automake ifdef, apparently). Then (this is a gross hack) explicitly remove the library after installation in the install-data-local rule. * gal/e-table/Makefile.am * gal/e-table/e-table-config.c: Rename ETABLE_GLADEDIR to GAL_GLADEDIR for consistency. * gal/e-table/e-cell-date.c: No localtime_r() in Microsoft's C library, but its localtime() *is* thread-safe. * gal/e-table/e-cell-text.c * gal/e-table/e-cell-tree.c * gal/e-table/e-cell-vbox.c * gal/e-text/e-text.c * gal/widgets/e-unicode.c: Remove unnecessary inclusion of gdkx.h. * gal/e-table/e-cell-tree.c (ect_realize): Instead of the Xlib macro None (whose value is zero), use the corresponding zero-valued enums from the appropriate GDK type. * gal/e-table/e-table-config.c * gal/e-table/e-table-field-chooser.c * gal/menus/gal-define-views-dialog.c * gal/menus/gal-view-instance-save-as-dialog.c * gal/menus/gal-view-new-dialog.c * gal/widgets/e-categories-master-list-array.c * gal/widgets/e-categories-master-list-dialog.c * gal/widgets/e-categories.c: Use g_build_filename() to construct pathnames at run-time instead of compile-time. On Windows the macros GAL_GLADEDIR and GAL_IMAGESDIR expand to function calls, in order to support installing in a freely chosen location. * gal/e-table/e-table-item.c * gal/e-table/e-cell-vbox.c: Instrad of the Xlib GrabSuccess, use GDK_GRAB_SUCCESS (which has the same value). * gal/e-table/e-table-specification.c (e_table_specification_load_from_file) * gal/e-table/e-table.c (e_table_load_specification) * gal/e-table/e-tree-table-adapter.c (open_file) * gal/menus/gal-view-instance.c (load_current_view) * gal/menus/gal-view-instance.c (load_current_view): On Win32, convert filename to the locale character set before passing to xmlParseFile() which doesn't use UTF-8 filenames. Use gstdio wrappers. * gal/util/Makefile.am: Define GAL_PREFIX as $prefix. Define GAL_LOCALEDIR, GAL_GLADEDIR and GAL_IMAGESDIR also here for e-win32-reloc.c. Include e-win32-reloc.c on Win32. * gal/util/e-iconv.c (e_iconv_init): Use g_win32_getlocale() on Windows. * gal/util/e-util.c * gal/util/e-xml-utils.c: Use g_mkstemp() instead of non-portable mkstemp(). Use GLib pathname manipulation functions. Use gstdio wrappers. * gal/util/e-util-private.h: New file. Contains just Win32 bits for now that redefine the directory names from the Makefile as functions calls. * gal/util/e-win32-reloc.c: New file. Contains a minimal DllMain() and functions to support freely chosen installation location on Windows. * gal/util/e-xml-utils.c: No fsync() in the Microsoft C library. * gal/windgets/Makefile.am: Add -I$(top_srcdir)/gal for consistency with the sibling Makefile.am files. * gal/widgets/e-canvas.c: Instead of the Xlib AlreadyGrabbed, use GDK_GRAB_ALREADY_GRABBED. svn path=/trunk/; revision=29249
* selecion fixes for im's.Theppitak Karoonboonyanan2005-03-141-7/+18
| | | | | | | | | 2005-03-14 Theppitak Karoonboonyanan <theppitak@gmail.com> * e-cell-text.c (e_cell_text_retrieve_surrounding_cb) (e_cell_text_delete_surrounding_cb): selecion fixes for im's. svn path=/trunk/; revision=29007
* Fix for #73009.Li Yuan2005-02-282-0/+4
| | | | | | | | | | 2005-02-25 Li Yuan <li.yuan@sun.com> Fix for #73009. * e-table-config-no-group.glade: * e-table-config.glade: svn path=/trunk/; revision=28906
* Some code clean work.Harry Lu2005-02-043-16/+6
| | | | | | | | | | | | | 2005-01-27 Harry Lu <harry.lu@sun.com> Some code clean work. * e-table-click-to-add.c: (etcta_class_init): move a11y registry call to a11y code. * e-table.c: (e_table_class_init): ditto. * e-tree.c: (e_tree_class_init): ditto. svn path=/trunk/; revision=28701
* add an a11y name for the popup list. make shortcut key ALT+Arrow work.Li Yuan2005-01-2713-63/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-27 Li Yuan <li.yuan@sun.com> * e-cell-combo.c: (e_cell_combo_init), (e_cell_combo_do_popup), (e_cell_combo_list_button_press), (e_cell_combo_button_press), (e_cell_combo_button_release), (e_cell_combo_key_press): add an a11y name for the popup list. make shortcut key ALT+Arrow work. Fixes #70261 * e-cell-text.c: (e_cell_text_class_init), (_delete_selection), (_insert): add "text_inserted" and "text_deleted" signals to notify the text has been changed. (e_cell_text_get_text_by_view): new helper function to get the text being editted. * e-cell-text.h: add signal declaration. * e-cell-toggle.c: (etog_draw): add range check for negative values. * e-cell-vbox.c: (e_cell_vbox_class_init): * e-cell-vbox.h: make ECellVboxView public since it will be used in a11y part. * e-table-click-to-add.c: (etcta_style_set), (create_rect_and_text), (etcta_realize), (etcta_class_init), (e_table_click_to_add_commit): add "style_set" signal to click_to_add and implement the style_set function. (etcta_init): add a11y name to click to add. * e-table-click-to-add.h: add "style_set" signal to click_to_add and implement the style_set function. * e-table-config.c: (config_button_up), (config_button_down): check whether the columns are empty. * e-table-group-container.c: * e-table-group-container.h: make ETableGroupContainerChildNode public since it will be used in a11y part. * e-table-item.c: (eti_init): init eti->cols. (eti_event): at GDK_KEY_PRESS event and GDK_Down key pressed, we check view_col value before we pass it to eti_e_cell_event. (eti_class_init): call the new initialize function * e-table.c: (table_canvas_focus_event_cb): if canvas has a focused item but the etable does not have a cursor row, just focus the first item after check whether the click_to_add should get the focus. svn path=/trunk/; revision=28571
* Fixes #38195JP Rosevear2005-01-261-7/+1
| | | | | | | | | | | 2005-01-26 JP Rosevear <jpr@novell.com> Fixes #38195 * e-cell-combo.c (e_cell_combo_set_popdown_strings): don't convert to the locale for gtk widgets now svn path=/trunk/; revision=28563
* Fixes #29309JP Rosevear2004-12-222-3/+18
| | | | | | | | | | | | | | | 2004-12-21 JP Rosevear <jpr@novell.com> Fixes #29309 * e-table-header-item.h: add field chooser dialog data member * e-table-header-item.c: remove weak pointer ref (ethi_popup_field_chooser): if we already have a dialog, just present it, otherwise create a new one and listen for its destruction svn path=/trunk/; revision=28169
* check whether header_canvas and table_canvas is NULL.Li Yuan2004-11-241-3/+5
| | | | | | | | | 2004-11-24 Li Yuan <li.yuan@sun.com> * e-table.c: (e_table_get_cell_geometry): check whether header_canvas and table_canvas is NULL. svn path=/trunk/; revision=27980
* if canvas has a focused item but the etable does not have a cursor row,Li Yuan2004-11-041-0/+4
| | | | | | | | | | 2004-11-04 Li Yuan <li.yuan@sun.com> * gal/e-table/e-table.c: (table_canvas_focus_event_cb): if canvas has a focused item but the etable does not have a cursor row, just focus the first item. svn path=/trunk/; revision=27828
* return FALSE so we don't kill the focus event chainJP Rosevear2004-10-201-3/+3
| | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * e-table.c (table_canvas_focus_event_cb): return FALSE so we don't kill the focus event chain svn path=/trunk/; revision=27625
* include scrollbar offset in vertical calculation. don't ask me i just workNot Zed2004-08-121-4/+6
| | | | | | | | | | 2004-08-09 Not Zed <NotZed@Ximian.com> * e-cell-combo.c (e_cell_combo_get_popup_pos): include scrollbar offset in vertical calculation. don't ask me i just work here. see #61932. svn path=/trunk/; revision=26873
* do not set position, it's already done in .glade, call set_transient_forRadek Doulik2004-08-043-16/+8
| | | | | | | | | | | | | | | | | | | | | | | 2004-08-02 Radek Doulik <rodo@ximian.com> * e-table-config.c (e_table_config_construct): do not set position, it's already done in .glade, call set_transient_for always (passing NULL is valid as well) * e-table-config.glade: * e-table-config-no-group.glade: center window on parent, don't let it resize and most importan make it dialog window so that set_transient_for works against define views dialog Fixes #61936 2004-08-02 Radek Doulik <rodo@ximian.com> * gal-define-views-dialog.c: save collection on exit Fixes #61936 svn path=/trunk/; revision=26819
* added e_table_model_pre_change because we call e_table_model_row_insertedRadek Doulik2004-07-131-0/+2
| | | | | | | | | | | 2004-07-07 Radek Doulik <rodo@ximian.com> * e-table-sorted-variable.c (etsv_add): added e_table_model_pre_change because we call e_table_model_row_inserted later. It fixes freeze/unfreeze for ETableItem assert warning which I run into when fixing #56271 svn path=/trunk/; revision=26632
* Fix some spacing and border width properties on the dialog's widgets toRodney Dawes2004-06-233-0/+52
| | | | | | | | | | | | | | | | | | | 2004-06-22 Rodney Dawes <dobey@novell.com> * e-table-config.c (do_fields_config_dialog, e_table_config_new): Fix some spacing and border width properties on the dialog's widgets to make the dialog compliant with the HIG 2004-06-22 Christopher James Lahey <clahey@ximian.com> * e-table-model.[ch]: Added e_table_model_freeze and e_table_model_thaw * e-table-config.c (setup_fields): Use e_table_model_freeze and e_table_model_thaw Fixes #54785 svn path=/trunk/; revision=26460
* set dialog window position, glade doesn't do that for us anymore as theRadek Doulik2004-06-114-4/+158
| | | | | | | | | | | | | | | | | | 2004-06-11 Radek Doulik <rodo@ximian.com> * e-table-config.c (e_table_config_construct): set dialog window position, glade doesn't do that for us anymore as the window is first hidden, extended and later shown * e-table-config-no-group.glade: as below * e-table-config.glade: set visibility to false, it will keep the dialog hidden until we call gtk_widget_show and thus no resizing is visible while we are extending the dialog content Fixes #57825 svn path=/trunk/; revision=26311
* fixes for compiler warningsRadek Doulik2004-06-109-14/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-10 Radek Doulik <rodo@ximian.com> * e-cell-text.c (layout_with_preedit): removed unused variable * e-tree.c (e_tree_get_item): added cast added #include <atk/atkregistry.h> * e-table-one.c (one_finalize): removed unused variable * e-table-item.c: added #include "gal/a11y/e-table/gal-a11y-e-table-item.h" for gal_a11y_e_table_item_factory_get_type prototype * e-table-header-utils.c (e_table_header_draw_button): removed unused variable * e-table-config.c (get_source_model_col_index): removed unused variable * e-table-click-to-add.c (finish_editing): added cast (etcta_event): ditto * e-cell-toggle.c: added #include "gal/a11y/e-table/gal-a11y-e-cell-registry.h" to have gal_a11y_e_cell_registry_add_cell_type prototype * e-cell-text.c (layout_with_preedit): removed unused variable (build_layout): ditto (ect_event): ditto (e_cell_text_commit_cb): ditto * e-cell-popup.c: added #include "gal/a11y/e-table/gal-a11y-e-cell-registry.h" to have gal_a11y_e_cell_registry_add_cell_type prototype svn path=/trunk/; revision=26284
* add new api for setting the whole selection in one go. See #59546.Not Zed2004-06-102-0/+16
| | | | | | | | | | 2004-06-10 Not Zed <NotZed@Ximian.com> * e-tree-selection-model.c (e_tree_selection_model_select_paths): add new api for setting the whole selection in one go. See #59546. svn path=/trunk/; revision=26277
* (ensure_nonzero_step_increments): set step increments always to 16Radek Doulik2004-06-091-2/+2
| | | | svn path=/trunk/; revision=26269
* new helper function to set step_increments (allocate_callback): callRadek Doulik2004-06-091-0/+20
| | | | | | | | | | | | | 2004-06-09 Radek Doulik <rodo@ximian.com> * e-table-field-chooser.c (ensure_nonzero_step_increments): new helper function to set step_increments (allocate_callback): call ensure_nonzero_step_increments (resize): ditto Fixes #48275 svn path=/trunk/; revision=26268
* Fixes #51626Bruce Tao2004-05-103-4/+73
| | | | | | | | | | | | | | | | | | | | 2004-04-22 Bruce Tao <bruce.tao@sun.com> Fixes #51626 * e-table-click-to-add.c: (etcta_event): Add an entry for focus_in event, do the same thing as button_press event. * e-table-item.c: (eti_event): Mask the Ctrl+Tab processing routine. * e-table.c: (table_canvas_focus_event_cb), (canvas_vbox_event), (click_to_add_event), (e_table_setup_table): Enable you to navigate between click_to_add and the existing tasks by pressing Ctrl+Tab. However, if there is no existing task, you can still jump out of click_to_add by this way. svn path=/trunk/; revision=25831
* Don't necessarily set row to 0 if the root node has the cursor (otherwiseJeffrey Stedfast2004-05-051-5/+3
| | | | | | | | | | | | 2004-05-04 Jeffrey Stedfast <fejj@ximian.com> * e-tree.c (e_tree_find_next): Don't necessarily set row to 0 if the root node has the cursor (otherwise message_list_select() first unread will actually select the second unread if the first unread is the first in the list). Fixes a bug that's been pissing me off for years. svn path=/trunk/; revision=25789
* revert last patch. (eti_attach_cell_views): add some code to reset dragsNot Zed2004-05-041-2/+12
| | | | | | | | | | | | 2004-05-04 Not Zed <NotZed@Ximian.com> * e-table-item.c (eti_event): revert last patch. (eti_attach_cell_views): add some code to reset drags and other things as if the model changed, so we don't keep trying to run things we shouldn't be on the view which might be changing. This may break other things but should fix 57222 and related. svn path=/trunk/; revision=25779
* if motion column is beyond our known columns, just ignore it and don'tNot Zed2004-05-041-2/+3
| | | | | | | | | | 2004-05-04 Not Zed <NotZed@Ximian.com> * e-table-item.c (eti_event): if motion column is beyond our known columns, just ignore it and don't generate a LEAVE_NOTIFY. uh, seems to work, and fixes #57222. svn path=/trunk/; revision=25778
* Changed the int param specs to take a min value of -1 and also defautl toJeffrey Stedfast2004-04-301-5/+5
| | | | | | | | | | | 2004-04-30 Jeffrey Stedfast <fejj@ximian.com> * e-cell-text.c (e_cell_text_class_init): Changed the int param specs to take a min value of -1 and also defautl to -1 (-1 means off and they should all default to the same value that they default to in the init() function). Needed to fix bug #57304. svn path=/trunk/; revision=25713
* Make the acces key Alt+O work.Harry Lu2004-03-101-1/+1
| | | | | | Patch by hao.sheng@sun.com svn path=/trunk/; revision=25004
* reset motion_row/motion_col if the model changes. See bug #54757.Not Zed2004-02-261-0/+2
| | | | | | | | | 2004-02-26 Not Zed <NotZed@Ximian.com> * e-table-item.c (eti_table_model_pre_change): reset motion_row/motion_col if the model changes. See bug #54757. svn path=/trunk/; revision=24878
* Change the shadow type for the arrows here, so that themes that do handleRodney Dawes2004-02-133-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-12 Rodney Dawes <dobey@ximian.com> * gal/widgets/gal-combo-box.c (gal_combo_box_init): Change the shadow type for the arrows here, so that themes that do handle the use of shadow types with arrows, draw things correctly, instead of following what the old default gtk+ did in 1.x 2004-02-12 Rodney Dawes <dobey@ximian.com> * e-cell-popup.c (ecp_draw): * e-cell-spin-button.c (ecsb_draw): * e-table-header-utils.c (e_table_header_draw_button): Change the shadow type for the arrows here, so that themes that do handle the use of shadow types with arrows, draw things correctly, instead of following what the old default gtk+ did in 1.x 2004-02-12 Rodney Dawes <dobey@ximian.com> * e-vscrolled-bar.c (e_vscrolled_bar_init): Change the shadow type for the arrows here, so that themes that do handle the use of shadow types with arrows, draw things correctly, instead of following what the old default gtk+ did in 1.x svn path=/trunk/; revision=24720
* print strikeout/underlineRadek Doulik2004-01-271-1/+30
| | | | | | | | | | 2004-01-27 Radek Doulik <rodo@ximian.com> * e-cell-text.c (ect_print): print strikeout/underline Fixes #32240 svn path=/trunk/; revision=24466
* Fixed bug 51917, add atk support for ClickToAddYuedong Du2003-12-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-16 Yuedong Du <yuedong.du@sun.com> Fixed bug 51917, add atk support for ClickToAdd * gal/a11y/e-table/Makefile.am: add files. * gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.c: (gal_a11y_e_table_click_to_add_factory_get_accessible_type), (gal_a11y_e_table_click_to_add_factory_create_accessible), (gal_a11y_e_table_click_to_add_factory_class_init), (gal_a11y_e_table_click_to_add_factory_init), (gal_a11y_e_table_click_to_add_factory_get_type): factory for ClickToAdd * gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.h: ditto * gal/a11y/e-table/gal-a11y-e-table-click-to-add.c: (etcta_get_n_actions), (etcta_get_description), (etcta_action_get_name), (idle_do_action), (etcta_do_action), (atk_action_interface_init): a "click" action interface. (etcta_get_name), (etcta_get_n_children), (etcta_ref_child): create accessible according to which child is available. Either rect or row. (etcta_class_init), (etcta_init), (gal_a11y_e_table_click_to_add_get_type), (etcta_event): listen to canvas event, emit children-changed signal when it found rect/row was changed. (gal_a11y_e_table_click_to_add_new): * gal/a11y/e-table/gal-a11y-e-table-click-to-add.h: * gal/a11y/e-table/gal-a11y-e-table-item-factory.c: (gal_a11y_e_table_item_factory_create_accessible): * gal/a11y/e-table/gal-a11y-e-table.c: (init_child_item), (et_get_n_children), (et_ref_child): change the trick way to create a11y object for a table item. Because ClickToAdd is also a table item, previous way do not work for clicktoadd. * gal/e-table/e-table-click-to-add.c: (etcta_class_init): atk_register the new a11y factory. svn path=/trunk/; revision=23956
* Fixed #50844Andrew Wu2003-12-082-2/+5
| | | | | | | | | | | 2003-12-08 Andrew Wu <yang.wu@sun.com> Fixed #50844 * gal/a11y/e-table/gal-a11y-e-cell-popup.c: * gal/a11y/e-table/gal-a11y-e-cell-popup.h: a11y impl. for e-cell-popup. svn path=/trunk/; revision=23670
* Fixed Bug 51252, 51254, 51255. add some code deal with key press event.Andrew Wu2003-12-023-7/+66
| | | | | | | | | | | | | | 2003-11-23 Andrew Wu <yang.wu@sun.com> Fixed Bug 51252, 51254, 51255. * gal/e-table/e-table-header-item.c: (ethi_event):add some code deal with key press event. * gal/e-table/e-table-header-item.h add a member "selected_col" for keyboard navigation. * gal/e-table/e-table.c (e_table_setup_header):make header can focus. svn path=/trunk/; revision=23572
* Fixes #51139Bolian Yin2003-12-021-2/+2
| | | | | | | | | | | | | 2003-12-02 Bolian Yin <bolian.yin@sun.com> Fixes #51139 * gal/a11y/gal-a11y-e-table-item: (gal_a11y_e_table_item_ref_selection) (gal_a11y_e_table_item_unref_selection): new functions. * gal/e-table/e-table-item.c : change the place of emitting ""selection_model_removed" signal. svn path=/trunk/; revision=23571
* a11y implementations for ECellText. new functions to support correspondingTim Wo2003-12-022-0/+195
| | | | | | | | | | | | | | | | | | | | 2003-12-02 Tim Wo <tim.wo@sun.com> * gal/a11y/e-table/gal-a11y-e-cell-text.c: (ect_get_text), (ect_get_character_at_offset), (ect_get_caret_offset), (ect_get_character_count), (ect_get_n_selections), (ect_get_selection), (ect_add_selection), (ect_remove_selection), (ect_set_selection), (ect_set_caret_offset), (ect_set_text_contents), (ect_insert_text), (ect_copy_text), (ect_delete_text), (ect_cut_text), (ect_paste_text), (ect_class_init): a11y implementations for ECellText. * gal/e-table/e-cell-text.c: (e_cell_text_set_selection), (e_cell_text_get_selection), (e_cell_text_copy_clipboard), (e_cell_text_paste_clipboard), (e_cell_text_delete_selection): new functions to support corresponding atk operations. * gal/e-table/e-cell-text.h: some APIs added to support atk operations. svn path=/trunk/; revision=23568
* renamespace and move to here build new filesMike Kestner2003-11-182-10/+10
| | | | | | | | | | | | | | 2003-11-17 Mike Kestner <mkestner@ximian.com> * gal/widgets/gtk-combo* : renamespace and move to * gal/widgets/gal-combo* : here * gal/widgets/Makefile.am : build new files 2003-11-17 Mike Kestner <mkestner@ximian.com> * e-table-config.c : use new gal_combo_* namespace. svn path=/trunk/; revision=23402
* Fix for 50800 connect "e_cell_combo_list_button_press" to gtklist.Andrew Wu2003-11-141-3/+21
| | | | | | | | | | | | | 2003-11-14 Andrew Wu <yang.wu@sun.com> Fix for 50800 * gal/e-table/e-cell-combo.c (e_cell_combo_init): connect "e_cell_combo_list_button_press" to gtklist. (e_cell_combo_list_button_press): deal with the "click" event. (e_cell_combo_selection_changed): delete the action to selection changed. svn path=/trunk/; revision=23350
* Fix for 50681 send a event to the right cell to pop up something.Andrew Wu2003-11-141-0/+6
| | | | | | | | | 2003-11-12 Andrew Wu <yang.wu@sun.com> Fix for 50681 * gal/e-table/e-table-item.c (eti_event): send a event to the right cell to pop up something. svn path=/trunk/; revision=23349
* new files (gal-a11y-e-cell-tree.c/h) added adding 2 new functions to addTim Wo2003-11-122-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-03 Tim Wo <tim.wo@sun.com> * gal/a11y/e-table/Makefile.am: new files (gal-a11y-e-cell-tree.c/h) added * gal/a11y/e-table/gal-a11y-e-cell.h: adding 2 new functions to add or remove atk states * gal/a11y/e-table/gal-a11y-e-cell.c (eti_dispose): unref the state_set (eti_ref_state_set): new function (eti_class_init): create and initialize the state_set (eti_init): override the "ref_state_set" function in AtkObjectClass with "eti_ref_state_set" (gal_a11y_e_cell_add_state): adding a return value (gal_a11y_e_cell_remove_state): new function * gal/e-table/e-cell-tree.c: (e_cell_tree_class_init): register GalA11yECellText as the a11y implementation for ECellText. (e_cell_tree_view_get_subcell_view): new function to retrieve the cell_view of subcell in ECellTree * gal/e-table/e-cell-tree.h: adding 1 new function to retrieve the cell_view of subcell in ECellTree * gal/a11y/e-table/gal-a11y-e-cell-tree.c: new file. A11y implementation for ECellTree * gal/a11y/e-table/gal-a11y-e-cell-tree.h: new file. A11y implementation for ECellTree svn path=/trunk/; revision=23296
* Fixes # 50480Bolian Yin2003-11-112-0/+30
| | | | | | | | | | 2003-11-11 Bolian Yin <bolian.yin@sun.com> Fixes # 50480 * e-table-item: add two signals: "selection_model_removed" and "selection_model_added" svn path=/trunk/; revision=23281
* disable apply button when initial dialog. disable apply button afterCharles Zhang2003-11-032-0/+6
| | | | | | | | | | | 2003-10-13 Charles Zhang <charles.zhang@sun.com> * e-table-config.c (e_table_config_new): disable apply button when initial dialog. * e-table-header-item.c (apply_changes): disable apply button after applying changes. svn path=/trunk/; revision=23168
* new function to deal with grabing table cell focusTim Wo2003-11-031-0/+4
| | | | | | | | | | | | 2003-10-30 Tim Wo <tim.wo@sun.com> * gal/a11y/e-table/gal-a11y-e-cell.c (eti_grab_focus): new function to deal with grabing table cell focus (eti_atk_component_iface_init): Override "grab_focus" virtual function with eti_grab_focus of AtkComponent interface. (#50131) * gal/e-table/e-cell-text.c: (e_cell_text_class_init): register GalA11yECellText as the a11y implementation for ECellText. svn path=/trunk/; revision=23166
* shared object looks for wrong mo file"Suresh Chandrasekharan2003-11-031-1/+1
| | | | | | | | | 2003-10-28 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * Fix for "50258 libgal: shared object looks for wrong mo file" svn path=/trunk/; revision=23163
* add new file for toggle cell a11y object. new a11y object toggle cellYuedong Du2003-10-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-26 Yuedong Du <yuedong.du@sun.com> * gal/a11y/e-table/Makefile.am: add new file for toggle cell a11y object. * gal/a11y/e-table/gal-a11y-e-cell-toggle.c: new a11y object toggle cell (gal_a11y_e_cell_toggle_get_type), (gal_a11y_e_cell_toggle_class_init), (toggle_cell_action), the implementation of toggle cell action. (gal_a11y_e_cell_toggle_new): * gal/a11y/e-table/gal-a11y-e-cell-toggle.h: ditto * gal/a11y/e-table/gal-a11y-e-cell.c: (_gal_a11y_e_cell_get_action_info), (_gal_a11y_e_cell_destroy_action_info), (gal_a11y_e_cell_add_action), (gal_a11y_e_cell_remove_action), (gal_a11y_e_cell_remove_action_by_name), (gal_a11y_e_cell_action_get_n_actions), (gal_a11y_e_cell_action_get_name), (gal_a11y_e_cell_action_get_description), (gal_a11y_e_cell_action_set_description), (gal_a11y_e_cell_action_get_keybinding), (idle_do_action), (gal_a11y_e_cell_action_do_action), (gal_a11y_e_cell_atk_action_interface_init), (gal_a11y_e_cell_type_add_action_interface), (gal_a11y_e_cell_add_state): helper functions for add a action, stealed from gailcell.c * gal/a11y/e-table/gal-a11y-e-cell.h: * gal/e-table/e-cell-toggle.c: (e_cell_toggle_class_init): register toggle's a11y object. svn path=/trunk/; revision=23095
* Fix for "50065 chinese locales Input method hangs after a task entry andSuresh Chandrasekharan2003-10-281-0/+3
| | | | | | | | | | * Fix for "50065 chinese locales Input method hangs after a task entry and new folder creation" * gal/e-table/e-cell-text.c: (ect_event) Added check to return if preedit_length == 0 and E_CELL_PREEDIT flag is set. svn path=/trunk/; revision=23093
* Allocate colors using gdk_colormap_alloc_color().Hans Petter Jansson2003-10-241-1/+4
| | | | | | | | | 2003-10-23 Hans Petter Jansson <hpj@ximian.com> * e-table-item.c (eti_get_cell_background_color): Allocate colors using gdk_colormap_alloc_color(). svn path=/trunk/; revision=23053
* Support for preedit in e-text widgets.Suresh Chandrasekharan2003-10-155-49/+294
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-14 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * Support for preedit in e-text widgets. * gal/gal/e-text/e-text.c: Added e_text_preedit_changed_cb and insert_preedit_text. * Modified the following functions. (e_text_draw) Calls insert_preedit_text also cursor pos @ the end of text->selection_start + text->preedit_len (e_text_event) Added hooks for preedit_cb (e_text_init) Inits text->preedit_len (e_text_retrieve_surrounding_cb) Removed printf (e_text_delete_surrounding_cb) Correct params for gtk_editable_delete_text to make it work. * gal/gal/e-text/e-text.h: Added preedit_len in struct _EText 2003-09-25 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * Fix for "44222 task summary entry widget not i18ned". The following files are changed. * gal/gal/e-table/e-cell-text.c: Lots of changes for i18n selection/input support. Added these functions for input method support. (e_cell_text_preedit_changed_cb) (e_cell_text_commit_cb) (e_cell_text_retrieve_surrounding_cb) (e_cell_text_delete_surrounding_cb) (layout_with_preedit) This function inserts the preedit string with the right attribs to the layout text. (build_attr_list) Creates the PangoAttrList with bold/stikeout/underline as applicable for the current ECellText. The following functions are modified. (ect_stop_editing): disconnect signal handlers when editing stops (ect_draw): Changes for including the preedit only to the currently selected row/col. Also display the cursor at the end of preedit text. (ect_event): Connects the IM callbacks to the key press event. Disconnect when not in editing mode. Also a special flag to see when Enter key pressed in preedit mode, the text is committed only not a new row is created. This woks in conjunction with the changes made in the eti_event in e-table-item.c file and e-cell.h. (ect_height): Changes due to parameters changing for generate_layout (ect_enter_edit): Initialization of im_context for a cell text and assoociated flags. (ect_max_width): Changes due to parameters changing for generate_layout. (ect_max_width_by_row): Changes due to parameters changing for generate_layout. (ect_show_tooltip): Changes due to parameters changing for generate_layout. (e_cell_text_construct): check whether paramters are NULL. (get_position_from_xy): Changes due to parameters changing for generate_layout. (_insert): Set the selection_start as the minimum of strlen(edit->text) and selection_start. Used to correct the preedit_string length which may have added to the selection_start. (e_cell_text_view_command): When inserting, if in the preedit mode do not delete the selection. (_selection_get): Set utf8 data instead of string data. (_selection_received): Take in UTF8_ATOM inaddition to GDK_SELECTION_TYPE_STRING. (e_cell_text_view_get_selection): Make utf8 data when acting as a selection source. * gal/e-table/e-cell-text.h : Included <gtk/gtkmenu.h> * gal/e-table/e-cell.h: Added enum E_CELL_PREEDIT to ECellFlags * gal/e-table/e-table-item.c: (eti_event) Changes for not committing the edited text as a seperate row in preedit mode. * gal/e-table/e-table.c: (table_canvas_focus_event_cb) To have proper im_context focus for the ecanvas holding the e-table. svn path=/trunk/; revision=22882
* add new files. set the right role. new file.Yuedong Du2003-10-113-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-11 Yuedong Du <yuedong.du@sun.com> * gal/a11y/e-table/Makefile.am: add new files. * gal/a11y/e-table/gal-a11y-e-cell.c: (gal_a11y_e_cell_construct): set the right role. * gal/a11y/e-table/gal-a11y-e-table-item-factory.c: new file. (gal_a11y_e_table_item_factory_get_accessible_type), (gal_a11y_e_table_item_factory_create_accessible), (gal_a11y_e_table_item_factory_class_init), (gal_a11y_e_table_item_factory_init), (gal_a11y_e_table_item_factory_get_type): factory for the table item a11y object. in create_accessible, we judge the type of widget then set correct role. * gal/a11y/e-table/gal-a11y-e-table-item-factory.h: ditto. * gal/a11y/e-table/gal-a11y-e-tree-factory.c: new file. (gal_a11y_e_tree_factory_get_accessible_type), (gal_a11y_e_tree_factory_create_accessible), (gal_a11y_e_tree_factory_class_init), (gal_a11y_e_tree_factory_init), (gal_a11y_e_tree_factory_get_type): factory for a11y object of etree. Mostly copyed from gal-a11y-e-table-factory.c. * gal/a11y/e-table/gal-a11y-e-tree-factory.h: ditto * gal/a11y/e-table/gal-a11y-e-tree.c: (init_child_item), (et_ref_accessible_at_point), (et_get_n_children), (et_ref_child), (et_class_init), (et_atk_component_iface_init), (et_init), (gal_a11y_e_tree_get_type), (gal_a11y_e_tree_new):a11y object for etree object, mostly copied from gal-a11y-e-table.c. init_child_item set correct role for the table item. * gal/a11y/e-table/gal-a11y-e-tree.h: ditto. * gal/e-table/e-table-item.c: (eti_class_init): register factory for table item a11y object. * gal/e-table/e-tree.c: (e_tree_get_item), (e_tree_class_init): add new access fuction to get the table item of etree. * gal/e-table/e-tree.h: ditto svn path=/trunk/; revision=22867
* process GTK_RESPONSE_DELETE_EVENT signal correctly. the same as aboveCharles Zhang2003-10-101-2/+3
| | | | | | | | | | | 2003-09-28 Charles Zhang <charles.zhang@sun.com> * e-table-config.c (do_sort_and_group_config_dialog): process GTK_RESPONSE_DELETE_EVENT signal correctly. * e-table-config.c (do_fields_config_dialog): the same as above [#48815] svn path=/trunk/; revision=22852
* new method to get the source model column for a specified available_modelMike Kestner2003-09-121-4/+14
| | | | | | | | | | | 2003-09-11 Mike Kestner <mkestner@ximian.com> * e-table-config.c (get_source_model_col_index): new method to get the source model column for a specified available_model idx. (create_global_store): save the source model index in a new col. (config_button_add): use the new index lookup function [48153]. svn path=/trunk/; revision=22536
* move scnt and gcnt initialization outside the for loop [43156].Mike Kestner2003-09-121-2/+2
| | | | | | | | | 2003-09-11 Mike Kestner <mkestner@ximian.com> * e-table-sort-info.c (e_table_sort_info_load_from_node): move scnt and gcnt initialization outside the for loop [43156]. svn path=/trunk/; revision=22532
* add e-table atk support to libgal a11y add atk registration forGilbert Fang2003-09-051-0/+8
| | | | | | | | | | 2003-09-05 Gilbert Fang <gilbert.fang@sun.com> * gal/a11y/Makefile.am: add e-table atk support to libgal a11y * gal/e-table/e-table.c: (e_table_class_init): add atk registration for GalA11yETable (#47780) svn path=/trunk/; revision=22466
* ** For bug #47874.Harry Lu2003-08-263-0/+11
| | | | | | | | | | | | | 2003-08-25 Harry Lu <harry.lu@sun.com> ** For bug #47874. * e-table-specification.c (e_table_specification_load_from_file): check whether file exists before call xmlParseFile(). * e-table-state.c (e_table_state_load_from_file): ditto. * e-tree-table-adapter.c (open_file): ditto. svn path=/trunk/; revision=22358
* add an expander_style param (ect_draw): pass expander_style toMike Kestner2003-08-201-9/+56
| | | | | | | | | | | | 2003-08-19 Mike Kestner <mkestner@ximian.com> * e-cell-tree.c (draw_expander): add an expander_style param (ect_draw): pass expander_style to draw_expander (animate_expander): new timeout handler for expander animation (ect_event): on !retro clicks, draw a "semi" expander and start an animation handler to finish the animation. svn path=/trunk/; revision=22288
* extracted from ect_draw (draw_expander): new gtktreeview-like expanderMike Kestner2003-08-164-86/+207
| | | | | | | | | | | | | | | | | | 2003-08-15 Mike Kestner <mkestner@ximian.com> * e-cell-tree.c (draw_retro_expander): extracted from ect_draw (draw_expander): new gtktreeview-like expander drawing (ect_draw): draw lines and expanders based on retro_look style prop (adjust_event_position): extracted method from ect_event (event_in_expander): new checks for motion/clicks in expander (ect_event): handle prelight for new expanders * e-table-item.c (eti_init): init new motion col/row (eti_event): synthesize leave_notify events for cells and propogate existing motion events to the cells. * e-tree.c (e_tree_class_init): add retro_look and expander_size style props. svn path=/trunk/; revision=22251
* actually chose the right color to+ composite over when caching the pixmap.Larry Ewing2003-08-131-23/+6
| | | | | | | 2003-08-12 Larry Ewing <lewing@ximian.com> * e-cell-toggle.c (check_cache): actually chose the right color to+ composite over when caching the pixmap. svn path=/trunk/; revision=22200
* map model_column to available model row by ignoring disabled columns.Mike Kestner2003-07-291-2/+7
| | | | | | | | | 2003-07-28 Mike Kestner <mkestner@ximian.com> * e-table-config (setup_fields): map model_column to available model row by ignoring disabled columns. svn path=/trunk/; revision=21993
* Initialize some missing fields. Fixes "no handler with id" warnings at evoDan Winship2003-07-012-10/+7
| | | | | | | | | | | | * e-tree.c (e_tree_init): Initialize some missing fields. Fixes "no handler with id" warnings at evo shutdown (ETreePriv): remove unused table_rows_{inserted,deleted}_id (et_disconnect_from_etta): remove refs to them * e-table.c (e_table_drag_source_unset): free site->target_list if it's set. svn path=/trunk/; revision=21705
* Implement. (ect_print): Use same font heuristics as evo calendar, pick aHans Petter Jansson2003-06-241-2/+25
| | | | | | | | | | 2003-06-22 Hans Petter Jansson <hpj@ximian.com> * e-cell-text.c (get_font_for_size): Implement. (ect_print): Use same font heuristics as evo calendar, pick a font that fits. Correct baseline calculation. svn path=/trunk/; revision=21519
* remove extra ref, the count starts at one.Larry Ewing2003-06-193-3/+3
| | | | | | | | | | | | | | | 2003-06-19 Larry Ewing <lewing@ximian.com> * e-table-specification.c (e_table_specification_load_from_node): remove extra ref, the count starts at one. * e-table-utils.c (e_table_spec_to_full_header): add_column adds a reference, so drop the intial reference. * e-table.c (et_real_construct):remove extra ref, count starts at one. svn path=/trunk/; revision=21479
* don't do the CURSOR_FIRST checks if cursor is NULL [43523]Mike Kestner2003-06-142-3/+3
| | | | | | | | | | | | | | 2003-06-13 Mike Kestner <mkestner@ximian.com> * e-tree.c (et_search_search): don't do the CURSOR_FIRST checks if cursor is NULL [43523] 2003-06-13 Mike Kestner <mkestner@ximian.com> * e-table-item.c (eti_get_cell_background_color): update to an alt row color more consistent with gtktreeview. [44610] svn path=/trunk/; revision=21440
* guard against NULL strings don't add disabled column titles to the store.Mike Kestner2003-06-124-23/+9
| | | | | | | | | | | | | | 2003-06-12 Mike Kestner <mkestner@ximian.com> * e-cell-text.c (generate_layout): guard against NULL strings * e-table-config.c (create_global_store): don't add disabled column titles to the store. [44258] * e-tree-table-adapter.c (e_t_t_a_node_set_expanded): don't warn if we're trying to collapse a node that's not visible. * e-tree.c (et_connect_to_etta): don't connect to row_inserted and row_deleted. [43893] svn path=/trunk/; revision=21424
* bump libtool version for api addition new, utf8 in/outMike Kestner2003-05-291-26/+9
| | | | | | | | | | | | | | | 2003-05-28 Mike Kestner <mkestner@ximian.com> * configure.in : bump libtool version for api addition * gal/util/e-util.c (e_utf8_strftime): new, utf8 in/out (e_utf8_strftime_fix_am_pm): new, utf8 in/out 2003-05-28 Mike Kestner <mkestner@ximian.com> * e-cell-date.c (ecd_get_text): use e_utf8_strftime_fix_am_pm and remove locale to utf8 conversion at end. [43485] svn path=/trunk/; revision=21343
* to really fix 42952 use e_table_item_get_cell_geometry. Also a coupleEttore Perazzoli2003-05-221-4/+9
| | | | | | | | | | 2003-05-20 Ettore Perazzoli <ettore@ximian.com> * e-tree.c (tree_canvas_size_allocate): to really fix 42952 use e_table_item_get_cell_geometry. Also a couple valgrind and g_warning fixes related to this change from Mike. svn path=/trunk/; revision=21303
* revert a broken CLEAN_FILES change. [42478]Mike Kestner2003-05-201-3/+2
| | | | | | | | | | | | | | 2003-05-19 Mike Kestner <mkestner@ximian.com> * Makefile.am : revert a broken CLEAN_FILES change. [42478] 2003-05-19 Mike Kestner <mkestner@ximian.com> * e-cell-text.c (build_layout): don't call any line breaking or justification code if the width <= 0 since it's pointless and apparently pango likes to crash when you do. [43199] svn path=/trunk/; revision=21260
* block the signal that got us here until we're done to stop an infiniteMike Kestner2003-05-173-17/+7
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-16 Mike Kestner <mkestner@ximian.com> * gal-view-collection.c (view_changed): block the signal that got us here until we're done to stop an infinite recursion. Fixes 43153. 2003-05-16 Mike Kestner <mkestner@ximian.com> * e-cell-text.c (invisible_finalize): kill (ect_stop_editing): destroy the invisible, not weak_unref (e_cell_text_view_get_invisible): don't weak_ref the invisible since we own its ref. 2003-05-16 Mike Kestner <mkestner@ximian.com> * e-table-item.c (eti_event): fix a couple timer checks * e-tree-table-adapter.c (update_node): Traverse POST order so that the parent nodes are at the head of the prepended list. Don't restore expanded state to nodes that aren't in the tree any longer. Hopefully fixes #42856. svn path=/trunk/; revision=21229
* (tree_canvas_size_allocate): CallEttore Perazzoli2003-05-161-5/+5
| | | | | | | tree_canvas_reflow_idle() before deciding whether to move the adjustment, not afterwards. [#42952] svn path=/trunk/; revision=21197
* use weak refs not datasets. (e_tree_dispose): weak_unref the context.Mike Kestner2003-05-161-5/+15
| | | | | | | | | | 2003-05-14 Mike Kestner <mkestner@ximian.com> * e-tree-c (context_connect): use weak refs not datasets. (e_tree_dispose): weak_unref the context. Hopefully fixes 42617. svn path=/trunk/; revision=21195
* gross hack to work around a post dispose event emission byMike Kestner2003-05-151-0/+3
| | | | | | | | | 2003-05-13 Mike Kestner <mkestner@ximian.com> * e-table-item.c (eti_event): gross hack to work around a post dispose event emission by gtk2.0/canvas2.0 [#42622] svn path=/trunk/; revision=21174
* add null check for paths (find_prev_in_range): add null check for pathsMike Kestner2003-05-101-2/+2
| | | | | | | | | 2003-05-09 Mike Kestner <mkestner@ximian.com> * e-tree.c (find_next_in_range): add null check for paths (find_prev_in_range): add null check for paths svn path=/trunk/; revision=21143
* don't return on col == -1. update the adjustment to center the cursor.Mike Kestner2003-05-102-2/+13
| | | | | | | | | | | 2003-05-09 Mike Kestner <mkestner@ximian.com> * e-table-item.c (eti_cursor_change): don't return on col == -1. * e-tree.c (tree_canvas_size_allocate): update the adjustment to center the cursor. (hover_timeout): remove unused variable to fix warning svn path=/trunk/; revision=21142
* add missing model_changed (etta_proxy_node_inserted): add missingMike Kestner2003-05-071-0/+4
| | | | | | | | | | 2003-05-06 Mike Kestner <mkestner@ximian.com> * e-tree-table-adapter.c (insert_node): add missing model_changed (etta_proxy_node_inserted): add missing model_changed (etta_proxy_node_removed): add missing model_changed svn path=/trunk/; revision=21116
* Use correct macro for int->pointerJeremy Katz2003-05-061-1/+1
| | | | | | | | 2003-05-05 Jeremy Katz <katzj@redhat.com> * e-table-config.c (setup_fields): Use correct macro for int->pointer svn path=/trunk/; revision=21111
* return the instantiated object. [bug #42156]Mike Kestner2003-05-021-4/+25
| | | | | | | | | | | | | | | | 2003-05-01 Mike Kestner <mkestner@ximian.com> * gal/e-text/e-completion-callbacks.c (e_completion_callbacks_new): return the instantiated object. [bug #42156] 2003-05-01 Mike Kestner <mkestner@ximian.com> * e-cell-combo.c (e_cell_combo_selection_changed): new (e_cell_combo_init): connect to selection_changed on popup_list (e_cell_combo_do_popup): block selection_changed while popping up [bug #40996] svn path=/trunk/; revision=21042
* remove gratuitous refJP Rosevear2003-05-021-1/+0
| | | | | | | | 2003-05-01 JP Rosevear <jpr@ximian.com> * e-table.c (et_real_construct): remove gratuitous ref svn path=/trunk/; revision=21041
* don't use unicode ellipsis so that we don't break on broken font setups.Mike Kestner2003-04-301-6/+1
| | | | | | | | | | | | | | 2003-04-29 Mike Kestner <mkestner@ximian.com> * e-cell-text.c (build_layout): don't use unicode ellipsis so that we don't break on broken font setups. 2003-04-29 Mike Kestner <mkestner@ximian.com> * e-cell-text.c (generate_layout): don't set width on the layout during edit svn path=/trunk/; revision=21012
* don't do wrapping during editMike Kestner2003-04-291-0/+3
| | | | | | | | 2003-04-28 Mike Kestner <mkestner@ximian.com> * e-cell-text.c (build_layout): don't do wrapping during edit svn path=/trunk/; revision=20995
* use unicode ellipsis char for breaking lines. Use g_utf8_find_prev_charMike Kestner2003-04-231-9/+14
| | | | | | | | | | | 2003-04-21 Mike Kestner <mkestner@ximian.com> * e-cell-text.c (build_layout): use unicode ellipsis char for breaking lines. Use g_utf8_find_prev_char and check for failure so that we don't tight loop for small cells that can't display any chars. svn path=/trunk/; revision=20924
* use e_tree_table_adapter_node_get_next to determine how to draw siblingMike Kestner2003-04-213-4/+16
| | | | | | | | | | | 2003-04-21 Mike Kestner <mkestner@ximian.com> * e-cell-tree.c (ect_draw): use e_tree_table_adapter_node_get_next to determine how to draw sibling lines. (ect_print): ditto * e-tree-table-adapter.c (e_t_t_a_node_get_next): new svn path=/trunk/; revision=20902
* [ fixes evolution bug #40464 ] use G_SIGNAL_TYPE_STATIC_SCOPE for theChris Toshok2003-04-211-2/+2
| | | | | | | | | | | 2003-04-19 Chris Toshok <toshok@ximian.com> [ fixes evolution bug #40464 ] * e-table.c (e_table_class_init): use G_SIGNAL_TYPE_STATIC_SCOPE for the GtkSelectionData args of table_drag_data_get and table_drag_data_received. svn path=/trunk/; revision=20900
* if the layout splits into more than one line, shorten it to a single lineMike Kestner2003-04-191-3/+18
| | | | | | | | | | | | | 2003-04-18 Mike Kestner <mkestner@ximian.com> * e-cell-text.c (build_layout): if the layout splits into more than one line, shorten it to a single line with elipses. (generate_layout): don't ref NULL layouts (ect_enter_edit): use g_new0 for the CellEdit (get_position_from_xy): use generate_layout since edit->layout isn't necessarily set here. svn path=/trunk/; revision=20892
* add guarding for row indexing (Bug# 41497)JP Rosevear2003-04-191-5/+16
| | | | | | | | 2003-04-17 JP Rosevear <jpr@ximian.com> * e-table-subset.c : add guarding for row indexing (Bug# 41497) svn path=/trunk/; revision=20891
* set width and alignment of layout. (generate_layout): set width onMike Kestner2003-04-171-12/+29
| | | | | | | | | | | | | | | | | 2003-04-16 Mike Kestner <mkestner@ximian.com> * e-cell-text.c (build_layout): set width and alignment of layout. (generate_layout): set width on existing layout and pass new width param to build_layout. (ect_draw): pass width to generate_layout (ect_height): pass width to generate_layout (ect_enter_edit): pass width to generate_layout (ect_max_width): pass width to generate_layout (ect_max_width_by_row): pass width to generate_layout (ect_show_tooltip): pass width to generate_layout (e_cell_text_view_command): pass width to generate_layout svn path=/trunk/; revision=20870
* Don't unref the layout that was passed in. (e_table_header_draw_button):Hans Petter Jansson2003-04-162-2/+4
| | | | | | | | | | | | | | 2003-04-15 Hans Petter Jansson <hpj@ximian.com> * e-table-header-utils.c (e_table_draw_elided_string): Don't unref the layout that was passed in. (e_table_header_draw_button): Always unref the layout when we're done with it. * e-tree-table-adapter.c (e_tree_table_adapter_load_expanded_state): Free the id when we're done with it. svn path=/trunk/; revision=20853
* free data here since we don't have source in finalizeJP Rosevear2003-04-111-11/+15
| | | | | | | | | 2003-04-11 JP Rosevear <jpr@ximian.com> * e-table-one.c (one_dispose): free data here since we don't have source in finalize svn path=/trunk/; revision=20817
* add response ids to buttonsMike Kestner2003-04-091-6/+6
| | | | | | | | 2003-04-08 Mike Kestner <mkestner@ximian.com> * e-table-config-no-group.glade : add response ids to buttons svn path=/trunk/; revision=20770
* remove e-font.[ch], test-e-font, and test-font-loading. killMike Kestner2003-04-091-46/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2003-04-08 Mike Kestner <mkestner@ximian.com> * gal/widgets/Makefile.am : remove e-font.[ch], test-e-font, and test-font-loading. * gal/widgets/e-unicode.[ch] (e_utf8_from_gtk_string): kill (e_utf8_from_gtk_string_sized): kill (e_utf8_to_gtk_string): kill (e_utf8_to_gtk_string_sized): kill (e_utf8_gtk_menu_item_new_with_label): kill (e_utf8_gtk_clist_set_text): kill (e_utf8_gtk_clist_append): kill * e-categories-master-list-option-menu.c (ecmlom_ecml_changed): don't use e_utf8_to_gtk_string. * e-categories-master-list-combo (ecmlc_ecml_changed): don't use e_utf8_to_gtk_string. 2003-04-08 Mike Kestner <mkestner@ximian.com> * e-cell-text.c : break e-font dependency svn path=/trunk/; revision=20766
* swap button order swap button orderMike Kestner2003-04-092-32/+32
| | | | | | | | | 2003-04-08 Mike Kestner <mkestner@ximian.com> * e-table-config.glade : swap button order * e-table-config-no-group.glade : swap button order svn path=/trunk/; revision=20761
* remove debugging g_print calls fix length_threshold prop range fixMike Kestner2003-04-084-14/+3
| | | | | | | | | | | 2003-04-08 Mike Kestner <mkestner@ximian.com> * e-cell-popup.c : remove debugging g_print calls * e-table-group-container.c : fix length_threshold prop range * e-table-group-leaf.c : fix length_threshold prop range * e-table-item.c : fix length_threshold prop range svn path=/trunk/; revision=20750
* guard against root == NULL. Bug #39491.Mike Kestner2003-04-051-0/+3
| | | | | | | | | 2003-04-04 Mike Kestner <mkestner@ximian.com> * e-tree-table-adapter.c (etta_sort_info_changed): guard against root == NULL. Bug #39491. svn path=/trunk/; revision=20668
* (e_tree_class_init): Add a G_SIGNAL_TYPE_STATIC_SCOPEEttore Perazzoli2003-04-031-1/+1
| | | | | | for the GTK_TYPE_SELECTION_DATA arg. svn path=/trunk/; revision=20650
* restore expanded state of node and all children. Fixes Ximian bug #40393.Mike Kestner2003-04-031-3/+31
| | | | | | | | | | 2003-04-02 Mike Kestner <mkestner@ximian.com> * e-tree-table-adapter.c (update_node): restore expanded state of node and all children. Fixes Ximian bug #40393. (check_expanded): new traverser function svn path=/trunk/; revision=20642
* if killing the root node, set it to NULL in the priv data. Bug #39441.Mike Kestner2003-04-011-0/+2
| | | | | | | | | 2003-03-31 Mike Kestner <mkestner@ximian.com> * e-tree-table-adapter.c (kill_gnode): if killing the root node, set it to NULL in the priv data. Bug #39441. svn path=/trunk/; revision=20607
* properly parse nodes that include whitespace. bug #39896Mike Kestner2003-03-251-13/+16
| | | | | | | | | 2003-03-24 Mike Kestner <mkestner@ximian.com> * e-table-sort-info.c (e_table_sort_info_load_from_node): properly parse nodes that include whitespace. bug #39896 svn path=/trunk/; revision=20486