Commit Graph

28 Commits

Author SHA1 Message Date
0585b94eb2 Disable gdk_event_get_graphics_expose() call in EMap.
The function is deprecated in GTK+ now.  Looks like it was just an
optimization anyway -- the map seems to work fine without it -- but I
left the logic intact in case I'm wrong.
2009-09-19 14:39:04 -04:00
0274669179 Fix excessive whitespace. 2009-07-12 23:33:07 -04:00
8771a6de35 More code cleanup. 2009-06-01 19:09:19 -04:00
6413227cef Whitespace cleanup. 2009-05-28 13:13:05 -04:00
fad4af8a3d Prefer GLib basic types over C types. 2009-05-28 12:13:23 -04:00
6f5464f34c Remove trailing whitespace, again. 2009-05-28 12:13:22 -04:00
e42f276527 Bug 577929 – Consolidate marshallers
Consolidate all marshalling specifications to e-util/e-marshal.list.
This reduces code duplication and makes it slightly easier to locate
unused marshallers.
2009-04-23 10:02:07 -04: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
abda2bda85 updated novell copyright notices (left others alone)
svn path=/trunk/; revision=35665
2008-06-20 22:26:57 +00:00
4503c052d0 ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
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
2008-06-06 15:12:53 +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
592375b3a0 ** Fixes bug #529641
2008-04-22  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #529641

	* widgets/e-timezone-dialog/e-timezone-dialog.glade:
	* widgets/e-dateedit.c (create_children):
	* widgets/e-map.c (e_map_new):
	Prefer the term "drop-down combination box" to "combo box" per the
	GNOME Documentation Style Guide.


svn path=/trunk/; revision=35402
2008-04-23 01:23:42 +00:00
9e4fcb29cf ** Remove trailing whitespace from source code.
2007-11-14  Matthew Barnes  <mbarnes@redhat.com>

	** Remove trailing whitespace from source code.


svn path=/trunk/; revision=34537
2007-11-14 22:04:21 +00:00
be99f3db89 Warning fixes: - NULL vs 0 vs FALSE - ANSIfication of function
2007-10-29  Kjartan Maraas  <kmaraas@gnome.org>

	* e-activity-handler.c: (e_activity_handler_new):
	* e-canvas.c: (e_canvas_new), (emit_event), (pick_current_item),
	(e_canvas_button):
	* e-combo-button.c: (menu_detacher), (impl_destroy),
	(impl_button_press_event):
	* e-combo-cell-editable.c: (e_combo_cell_editable_new):
	* e-expander.c: (e_expander_init), (e_expander_size_request),
	(e_expander_size_allocate), (e_expander_button_press),
	(e_expander_focus):
	* e-gui-utils.c: (e_popup_menu),
	(e_container_change_tab_order_callback):
	* e-image-chooser.c: (image_drag_data_received_cb):
	* e-info-label.c: (e_info_label_new):
	* e-map.c: (e_map_key_press), (e_map_new), (update_render_pixbuf),
	(blowup_window_area), (zoom_do), (set_scroll_area):
	* e-pilot-settings.c: (e_pilot_settings_get_source):
	* e-printable.c: (e_printable_will_fit):
	* e-reflow.c: (items_inserted), (model_changed), (set_empty),
	(e_reflow_event), (e_reflow_draw):
	* e-search-bar.c: (set_option):
	* e-search-bar.h:
	* e-unicode.c: (e_xml_get_translated_utf8_string_prop_by_name):
	
	Warning fixes:
	- NULL vs 0 vs FALSE
	- ANSIfication of function declarations.
	- Use non-deprecated GSignal functions
	- Don't mix different enum types

svn path=/trunk/; revision=34466
2007-10-31 12:30:29 +00:00
8e47917e8c Update FSF address in header comments (#469886). Patch from Tobias
2007-09-02  Matthew Barnes  <mbarnes@redhat.com>

	* Update FSF address in header comments (#469886).
	  Patch from Tobias Mueller.


svn path=/trunk/; revision=34151
2007-09-02 04:19:22 +00:00
64977cb1bc Massive code cleanup (bug #429422)
svn path=/trunk/; revision=33432
2007-04-19 18:53:33 +00:00
cba3097cad ** Fixes bug #419524
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
2007-03-20 17:23:58 +00:00
7a205fe6d0 ** Fixes bug #352450
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
2006-09-18 13:06:49 +00:00
9d445543cf Don't use gtk_signal_new() for the set_scroll_adjustments signal, and use
2006-06-07  Federico Mena Quintero  <federico@novell.com>

	* e-map.c (e_map_class_init): Don't use gtk_signal_new() for the
	set_scroll_adjustments signal, and use the correct marshaler.
	Fixes bug #331743.

svn path=/trunk/; revision=32091
2006-06-07 16:11:11 +00:00
4a4b322c39 Tons of cleanups of the following sort: - remove unused vars - remove
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
2006-01-30 12:28:21 +00:00
534410e7cd Construct map file name at run-time.
2005-12-18  Tor Lillqvist  <tml@novell.com>

	* e-map.c: Construct map file name at run-time.

svn path=/trunk/; revision=30865
2005-12-18 09:47:33 +00:00
cb9c99c5f4 Add a name for timezone combox. Make accessibility name and description
2004-10-28  Li Yuan  <li.yuan@sun.com>

        * e-timezone-dialog/e-timezone-dialog.glade:
        Add a name for timezone combox.
        * misc/e-calendar.c: (e_calendar_init), (e_calendar_new):
        Make accessibility name and description translatable.
        Add a atk name for the two buttons so that they can be UI
        grabbed by GOK.
        * misc/e-dateedit.c: (e_date_edit_new), (create_children):
        Add a name for atk object.
        Make accessibility name and description translatable.
        Add name and description for the date_entry, date_button
        and time_combo.
        (e_date_edit_show_date_popup), (hide_date_popup):
        Grab and ungrab keyboard.
        add_relation():
        New function to add labelled_by relation for entry
        and combobox.
        * misc/e-map.c: (e_map_new):
        Add a name for world map widget.
        Make accessibility name and description translatable.
        Set the atk role to image.
        * misc/e-multi-config-dialog.c: (e_multi_config_dialog_add_page):
        Add an atk name for the page.

svn path=/trunk/; revision=27776
2004-11-01 05:04:37 +00:00
176204b94f Use g_signal_handlers_disconnect_by_func since
* e-map.c (e_map_destroy): Use
	g_signal_handlers_disconnect_by_func since
	gtk_signal_disconnect_by_data doesn't seem to work right.
	(e_map_set_scroll_adjustments): Likewise.

svn path=/trunk/; revision=20052
2003-02-25 15:39:47 +00:00
4354c0ac03 Add include of gnome-dialog.h
2002-11-27  Not Zed  <NotZed@Ximian.com>

        * e-charset-picker.c: Add include of gnome-dialog.h

        * *.[ch]: ran fix.sh script over everything.

svn path=/trunk/; revision=18978
2002-12-02 03:28:22 +00:00
9c73777f22 First big sync of my GNOME 2 porting work (incomplete, and still
pretty broken).

Weeeeee!

svn path=/trunk/; revision=18503
2002-11-02 08:25:03 +00:00
57d95cb3b7 updated to new version from Ximian Setup Tools. Fixes bug #7641.
2001-11-28  Damon Chaplin  <damon@ximian.com>

	* e-map.c: updated to new version from Ximian Setup Tools.
	Fixes bug #7641.

2001-11-27  Damon Chaplin  <damon@ximian.com>

	* e-dateedit.c (e_date_edit_get_date): if allow_no_date_set is FALSE,
	return the last valid date entered, even if the field is currently
	empty. Fixes bug #15749.

svn path=/trunk/; revision=14817
2001-11-28 22:11:07 +00:00
be7e0fd349 More fixing of the license texts.
svn path=/trunk/; revision=14241
2001-10-27 23:36:16 +00:00
fdb10dd6d9 copied the EMap widget verbatim from Ximian Setup Tools. Hmm. Maybe it
2001-06-14  Damon Chaplin  <damon@ximian.com>

	* e-map.[hc]: copied the EMap widget verbatim from Ximian Setup Tools.
	Hmm. Maybe it should go in gal, but its not a very general widget.

	* Makefile.am (INCLUDES): defined MAP_DIR for e-map.c.
	(libemiscwidgets_a_SOURCES): added e-map.[hc].

svn path=/trunk/; revision=10221
2001-06-14 04:06:55 +00:00