Commit Graph

124 Commits

Author SHA1 Message Date
8a072ffc7c GN-bug #572348 - Removed deprecated Gtk+ symbols
Some still left, because those gone in kill-bonobo branch.
2009-04-24 11:45:21 +02:00
1c1d81211e ** Fixes bug #576694
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
2009-03-25 11:28:43 +00:00
a3f682a4d8 Chenthill Palanisamy <pchenthill@novell.com> ** Part of fix for bug #573198 (Initialize the timezone settings before making any timezone conversion calls).
svn path=/trunk/; revision=37339
2009-02-26 04:31:01 +00:00
658c9e0c8f ** Fixes part of bug #572348
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
2009-02-19 03:25:13 +00:00
b4d8bb7fd1 Migrate from deprecated gtk_window_set_policy to gtk_window_set_resizable
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
2009-02-18 23:47:20 +00:00
5f0a7fea0d ** Fix for bug #550114
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
2009-02-16 11:00:23 +00:00
cfa073deca ** Fix for bug #557176
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
2008-12-15 12:15:16 +00:00
f1b786f18a ** Fixes bug #554464
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
2008-11-28 09:53:49 +00:00
05b8df9868 ** Fixes bug #560882
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
2008-11-17 20:11:59 +00:00
d636d0ead7 License changes.
svn path=/trunk/; revision=36641
2008-10-17 16:46:27 +00:00
48edab7b48 Change License from GPL to LGPL.
svn path=/trunk/; revision=36576
2008-10-08 11:06:15 +00:00
6c87a6a872 Removed obsolete files.
svn path=/trunk/; revision=36565
2008-10-06 09:48:25 +00:00
cc2f6e0967 Change license from GPL to LGPL
svn path=/trunk/; revision=36547
2008-10-03 11:46:03 +00:00
6cd55ba949 Removed obsolete files.
svn path=/trunk/; revision=36543
2008-10-03 10:25:00 +00:00
484f82addc Change licese from GPL to LGPL.
svn path=/trunk/; revision=36539
2008-10-03 09:24:07 +00:00
1f8187e8da Change License from GPL to LGPL.
svn path=/trunk/; revision=36502
2008-09-30 15:19:23 +00:00
98c25534d5 ** Remove unused files
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
2008-09-29 08:48:53 +00:00
1409782df3 Remove obsolete files.
svn path=/trunk/; revision=36466
2008-09-29 08:44:57 +00:00
bfc8b8784d License changes from GPL to LGPL
svn path=/trunk/; revision=36465
2008-09-29 08:36:04 +00:00
762ac32d75 Change License from GPL to LGPL
svn path=/trunk/; revision=36443
2008-09-24 11:02:48 +00:00
79d878670a License changes from GPL to LGPL
svn path=/trunk/; revision=36344
2008-09-16 10:52:29 +00:00
b7fc5caefe License Changes from GPL to LGPL
svn path=/trunk/; revision=36313
2008-09-12 16:19:36 +00:00
76dbf9df1f License changes. Changed license from GPL to LGPL.
More to come.

svn path=/trunk/; revision=36255
2008-09-04 14:56:39 +00:00
14fa5c8a8c Change License from GPL to LGPL. 2nd batch.
More changes to come.

svn path=/trunk/; revision=36247
2008-09-02 16:25:53 +00:00
1bad915150 License Changes
svn path=/trunk/; revision=36116
2008-08-27 10:33:22 +00:00
7001477db8 ** Fix for bug #352695
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
2008-08-11 14:19:54 +00:00
28a98b7973 ** Fix for bug #519292
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
2008-08-11 10:08:14 +00:00
c29e1c6570 ** Fix for bug #352695
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
2008-08-11 09:48:17 +00:00
9e2412ce34 Committing on behalf of Milan Crha <mcrha@redhat.com>
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
2008-07-20 17:02:33 +00:00
5bca57d569 gdk_rgb_get_cmap -> gdk_rgb_get_colormap
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
2008-06-03 19:57:21 +00:00
66bcc503dd gdk_pixbuf_unref() -> g_object_unref()
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
2008-06-03 19:17:46 +00:00
b98a472f23 gtk_window_set_policy -> gtk_window_set_resizable
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
2008-06-03 18:36:01 +00:00
e99e12428d ** Fixes bug #534360
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
2008-05-22 17:27:48 +00:00
183729a6e0 ** Fix for bug #528288
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
2008-04-30 11:24:14 +00:00
015345c498 ** Fix for bug #529893
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
2008-04-25 13:35:38 +00:00
7ea7aa0b49 ** Fix for bug #519292
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
2008-03-27 11:45:36 +00:00
ad7d90b224 ** Fix for bug #209353
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
2008-02-19 19:05:09 +00:00
02569a3314 ** Fix for bug #512623
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
2008-02-01 08:45:38 +00:00
463b4b5850 Fix some gradient issues.
2008-01-28  Srinivasa Ragavan  <sragavan@novell.com>

	* e-table-item.c: (eti_draw): Fix some gradient issues.

svn path=/trunk/; revision=34914
2008-01-28 07:59:58 +00:00
d5ec942afb Cairofication of the preference window's etable.
svn path=/trunk/; revision=34877
2008-01-24 08:34:13 +00:00
b4a738589e ** Fix for bug #511105
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
2008-01-22 19:40:45 +00:00
4825d465d6 ** Fix for bug #511094
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
2008-01-22 19:34:23 +00:00
b1b5f74d32 Draw the cursor only for multiselection.
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
2008-01-20 15:16:36 +00:00
b98923130a Removed the pixmap cache. It wasn't giving alpha for the cairo rendered
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
2008-01-19 21:51:18 +00:00
dbc59d48be Patch from David Turner <cillian64@googlemail.com>: Fix for bug #408170 (missing mnemonic in calendar list view, when right clicked on the column headers)
svn path=/trunk/; revision=34658
2007-12-05 18:27:17 +00:00
d4eba934b5 ** Fix for bug #458824
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
2007-12-04 12:05:59 +00:00
f1f54e0cdd ** Fix for bug #255051
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
2007-11-05 12:11:08 +00:00
ebf5dd8717 ** Fixes bug #492058
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
2007-11-02 17:08:05 +00:00
040e3fbafe ** Fix for bug #463946
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
2007-11-02 13:31:37 +00:00
88a914e0e8 ** Miscellaneous compiler warning fixes.
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
2007-11-01 11:26:50 +00:00