Commit Graph

80 Commits

Author SHA1 Message Date
85b2913a38 Merge revisions 36534:36684 from trunk.
svn path=/branches/kill-bonobo/; revision=36685
2008-10-24 23:52:05 +00:00
b2cda1d0c6 Merge revisions 36016:36533 from trunk.
svn path=/branches/kill-bonobo/; revision=36534
2008-10-01 20:56:04 +00:00
9792036630 Progress update:
- Kill EABMenu.

	- Centralize marshallers to eliminate duplication.


svn path=/branches/kill-bonobo/; revision=36368
2008-09-18 03:31:42 +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
64b15c5cb7 Migrate from gtk_window_set_policy() to gtk_window_set_resizable() and
2008-06-03  Kjartan Maraas  <kmaraas@gnome.org>

	* e-cell-date-edit.c: (e_cell_date_edit_init):
	* e-dateedit.c: (create_children):
	* e-multi-config-dialog.c: (e_multi_config_dialog_init):
	* e-unicode.h:
	* test-calendar.c: (main):
	* test-dateedit.c: (main):
	* test-info-label.c: (main):
	Migrate from gtk_window_set_policy() to gtk_window_set_resizable()
	and clean up a bunch of coding style issues along the way.

svn path=/trunk/; revision=35584
2008-06-03 18:35:02 +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
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
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
8f3a968fc9 ** Fix for bug #339813
2008-01-07  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #339813

	* addressbook/gui/contact-editor/e-contact-editor.c: (e_contact_editor_create_date):
	Setting new option 'e_date_edit_set_twodigit_year_can_future' to FALSE.

	* widgets/misc/e-dateedit.h: (e_date_edit_get_twodigit_year_can_future),
	(e_date_edit_set_twodigit_year_can_future):
	Added new option for component.
	* widgets/misc/e-dateedit.c: (e_date_edit_get_twodigit_year_can_future),
	(e_date_edit_set_twodigit_year_can_future),
	(struct _EDateEditPrivate::twodigit_year_can_future),
	(e_date_edit_init), (e_date_edit_parse_date):
	Implementing new option for component.
	* widgets/misc/e-dateedit.c: (on_date_entry_focus_out):
	Always repaint value on focus out.
	* widgets/misc/e-dateedit.c: (e_date_edit_update_date_entry):
	Forced to always show 4-digit year.

Note: Be sure you updated EDS too (revision 8343 and above)

svn path=/trunk/; revision=34774
2008-01-07 11:42:51 +00:00
cda4109744 ** Fixes bug 474651
2007-12-13  Tobias Mueller  <tobiasmue@svn.gnome.org>

        ** Fixes bug 474651
        * calendar/gui/memos-component.c:
        * addressbook/gui/component/addressbook.c:
        * calendar/gui/tasks-control.c:
        * calendar/gui/tasks-component.c:
        * widgets/misc/e-dateedit.c:
        * calendar/gui/e-cal-model-tasks.c:
        * widgets/misc/e-cell-percent.c:
        * calendar/gui/e-itip-control.c:
        * calendar/gui/comp-editor-factory.c:
        Use format strings in gtk_message_dialog_new


svn path=/trunk/; revision=34694
2007-12-13 18:23:31 +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
3724efa492 ** Fix for bug #231166
2007-11-05  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #231166

	* e-dateedit.c: (create_children), (e_date_edit_check_time_changed),
	(rebuild_time_popup), (on_date_edit_time_selected),
	(on_time_entry_key_press), (e_date_edit_update_time_entry),
	(e_date_edit_grab_focus), (e_date_edit_update_time_combo_state):
	Migrate from gtk_combo to gtk_com_box_entry for time_combo.


svn path=/trunk/; revision=34505
2007-11-05 12:05:47 +00:00
58338b08f3 ** Fix for bug #351932
2007-11-05  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #351932

	* widgets/misc/e-dateedit.h: (e_date_edit_have_time):
	* widgets/misc/e-dateedit.c: (e_date_edit_have_time): Extend API to be able
	to check if time is set independently of date part.

	* calendar/gui/dialogs/task-page.c: (check_start_before_end), (times_updated),
	(start_date_changed_cb), (due_date_changed_cb), (init_widgets):
	Ensure due date is not before start date.



svn path=/trunk/; revision=34500
2007-11-05 10:45:03 +00:00
e2e5e8d754 Fix for bug #461195 from Hiroyuki Ikezoe.
Use GObject's marshalers whenever possible.


svn path=/trunk/; revision=34324
2007-09-27 20:08:55 +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
e18a34da15 Fixes #387844
svn path=/trunk/; revision=33771
2007-07-08 20:11:32 +00:00
646455c0f9 Fix compilation warnings in widgets folder (#441014).
svn path=/trunk/; revision=33626
2007-06-03 02:45:22 +00:00
70a55f59e1 Fixes #439049.
2007-05-21  Wang Xin  <jedy.wang@sun.com>

	* e-dateedit.c: Fixes #439049.


svn path=/trunk/; revision=33560
2007-05-21 06:23:04 +00:00
64977cb1bc Massive code cleanup (bug #429422)
svn path=/trunk/; revision=33432
2007-04-19 18:53:33 +00:00
62783cd7aa Use e_time_format_time to ensure evolution and evolution- data-server use
2007-04-09  Jeff Cai<jeff.cai@sun.com>

        * e-dateedit.c: (rebuild_time_popup):
        Use e_time_format_time to ensure evolution and evolution-
        data-server use same translations.
        Fix #380843.


svn path=/trunk/; revision=33403
2007-04-09 04:03:19 +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
186c3852c5 Make two strings translatable.
2006-10-03  Francisco Javier F. Serrador  <serrador@tecknolabs.com>

	* e-dateedit.c: Make two strings translatable.

svn path=/trunk/; revision=32847
2006-10-02 22:54:18 +00:00
4ee79ee847 Fix for bug 341333
svn path=/trunk/; revision=32304
2006-07-14 04:48:07 +00:00
da2b3c2c01 ** Fixes bug #345402
2006-06-20  Li Yuan <li.yuan@sun.com>

	** Fixes bug #345402

	* e-dateedit.c: (on_date_popup_key_press):
	Grab the popup window when some key except ESC is pressed.

svn path=/trunk/; revision=32283
2006-07-11 12:08:30 +00:00
4602caf9bc Removing aggressive time check when entering a date in the editor. Fixes
2006-06-09  Johnny Jacob  <johnnyjacob@gmail.com>

	* e-dateedit.c (): Removing aggressive time check when entering a
	date in the editor. Fixes bug #335400. (Committed by Andre Klapper)

svn path=/trunk/; revision=32100
2006-06-09 00:43:19 +00:00
dc8e4af46d a11y changes for bug #330723
svn path=/trunk/; revision=31477
2006-02-10 22:28:38 +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
788a0f525f fixes #250754
svn path=/trunk/; revision=31363
2006-01-30 10:31:57 +00:00
29267d077d Remove e-util-marshal.list in current directory, and use the copy in
2006-01-10  Simon Zheng  <simon.zheng@sun.com>

        * Makefile.am:
        * e-dateedit.c:
        * e-image-chooser.c:
        * e-printable.c:
        * e-reflow-model.c:
        * e-reflow.c:
        * e-search-bar.c:
        * e-selection-model.c:
        * gal-combo-box.c:
        Remove e-util-marshal.list in current directory, and
        use the copy in evolution/e-util directory instead.

        *e-util-marshal.list: removed

svn path=/trunk/; revision=31134
2006-01-11 10:33:24 +00:00
7d10f813b0 Use e_util_mkdir_hier() instead of e_mkdir_hier().
2006-01-10  Simon Zheng  <simon.zheng@sun.com>

        * menus/gal-view-instance.c:
        * misc/e-attachment-bar.c:
        * misc/e-calendar-item.c:
        * misc/e-dateedit.c:
        Use e_util_mkdir_hier() instead of e_mkdir_hier().

        Use e_util_strstrcase() instead of e_strstrcasea().

        use e_strfime() in evolution-data-server/
        libedataserver/e-data-server-util.c instead of the copy in
        evolution/e-util/e-util.c.

        use e_filename_make_safe() in evolution-data-server/
        libedataserver/e-data-server-util.c instead of the copy in
        evolution/e-util/e-util.c.

        use e_utf8_strftime() in evolution-data-server/
        libedataserver/e-data-server-util.c instead of the copy in
        evolution/e-util/e-util.c.

svn path=/trunk/; revision=31122
2006-01-10 08:16:26 +00:00
c0d9d72f1b e-dateedit.c Include e-time-utils.h from libedataserver instead of using
2005-11-24  Tor Lillqvist  <tml@novell.com>

	* e-dateedit.c
	* e-cell-date-edit.c: Include e-time-utils.h from libedataserver
	instead of using evolution's copy which is going away.

svn path=/trunk/; revision=30657
2005-11-24 14:23:23 +00:00
77cf09208a Commiting Johnny Jacob's patch on EDateEdit
2005-11-24 	Srinivasa Ragavan <sragavan@novell.com>

	* Commiting Johnny Jacob's patch on EDateEdit

svn path=/trunk/; revision=30652
2005-11-24 06:24:01 +00:00
faddd9d776 Adjusted the size of date edit widgets.
svn path=/trunk/; revision=30606
2005-11-14 14:45:42 +00:00
d47593f8d0 Set a size for the date edit widgets, so that it doesnt expand too much.
2005-11-14  Srinivasa Ragavan <sragavan@novell.com>

	* e-dateedit.c (create_children): Set a size for the date
	edit widgets, so that it doesnt expand too much.

svn path=/trunk/; revision=30604
2005-11-14 13:02:01 +00:00
27a61acf27 Retired GAL from Head. The relevant files have moved inside evolution.
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
2005-06-17 15:20:35 +00:00
2fbe8dce2d add relation to date_button.
2005-05-31  Li Yuan  <li.yuan@sun.com>

	* e-dateedit.c:(e_date_edit_update_date_entry):
	add relation to date_button.

	Fixes #302267

svn path=/trunk/; revision=29429
2005-05-31 10:10:45 +00:00
0120f7fffd Fix the bug 303856. Enables OK button when arrow key used to change the
2005-05-12  Srinivasa Ragavan <sragavan@novell.com>
	* misc/e-dateedit.c: (on_time_entry_key_release),
	(create_children): Fix the bug 303856. Enables OK button
	when arrow key used to change the time in a appointment.

svn path=/trunk/; revision=29329
2005-05-12 05:42:18 +00:00
2fef5caaa6 return the entry of the date edit.
2005-01-18  Hao Sheng  <hao.sheng@sun.com>

        * misc/e-dateedit.[ch]:
        (e_date_edit_get_entry): return the entry of the date edit.

svn path=/trunk/; revision=28428
2005-01-18 07:24:31 +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
3ea7be06f0 enlarge the text box to accomodate the time info in different locales.
* e-dateedit.c: (create_children): enlarge the text box to accomodate
        the time info in different locales.

svn path=/trunk/; revision=25041
2004-03-12 08:44:23 +00:00
88040b5329 Create the arrows in these widgets as GTK_SHADOW_NONE, since the default
2004-02-26  Rodney Dawes  <dobey@ximian.com>

	* e-cell-renderer-combo.c (ecrc_get_size):
	* e-dateedit.c (create_children):
	* e-dropdown-button.c (e_dropdown_button_construct): Create the
	arrows in these widgets as GTK_SHADOW_NONE, since the default arrow
	type in GTK+ 2.x is flat triangle arrows, and shadow types are
	generally ignored for arrows anyway, and so we don't look ugly with
	themes that handle shadow types on arrows correctly

svn path=/trunk/; revision=24900
2004-02-26 22:20:15 +00:00
c65fbd94c0 Fix for bugzilla bug #51624 and #51627.
2003-12-04  Harry Lu <harry.lu@sun.com>

        Fix for bugzilla bug #51624 and #51627.

        * e-calendar-item.c: (e_calendar_item_selection_add_days):
        set the date to the first day of the month so that user can use
        keyboard's arrow key to select a date.
        (e_calendar_item_set_selection_if_emission): only set selection_changed
        if emission is TRUE.
        * e-calendar.c: (e_calendar_init): add back the "clicked" handler so
        that user can use keyboard to click the button.
         (e_calendar_start_auto_move): no need to move since it is already
        handled by the clicked handler
        (e_calendar_on_prev_clicked), (e_calendar_on_next_clicked): move the
        month here.
        * e-dateedit.c: (e_date_edit_show_date_popup): use gdk_window_focus
        instead of gdk_keyboard_grab so that the focus won't lost if user click
        the button with keyboard.
        (hide_date_popup): no need to call gdk_keyboard_ungrab.

svn path=/trunk/; revision=23642
2003-12-05 02:01:46 +00:00
88d4fd5eac Fixes #1245. ECalendar should be usable with the keyboard
2003-09-19  Bolian Yin <bolian.yin@sun.com>

        Fixes #1245. ECalendar should be usable with the keyboard

        *misc/e-calendar-item.c (e_calendar_item_focus): new func, focus handler.
        (e_calendar_item_key_press_event): new func, key press event handler
        (e_calendar_item_selection_add_days, e_calendar_item_stop_selecting): helpers.
        (e_calendar_item_ensure_days_visible, e_calendar_item_set_selection_if_emission):
         add the flag to control if we should emit e-calendar signals.
        (e_calendar_item_class_init): register focus handler.
        (e_calendar_item_event): add code for GDK_FOCUS_CHANGE and GDK_KEY_PRESS.

        *misc/e-calendar.c (e_calendar_focus): new func, focus handler
        (e_calendar_button_has_focus): new func, if prev/next button has focus.
        (e_calendar_on_next_clicked, e_calendar_on_prev_clicked): click signal handler
         for prev/next buttons.
        (e_calendar_set_focusable): set if the e-calendar is focusable

        *misc/e-dateedit.c (e_date_edit_show_date_popup, hide_date_popup): grab/ungrab gdk keyboard.

svn path=/trunk/; revision=22632
2003-09-22 03:19:00 +00:00
15c8a15ba1 Fixes #15638.
2003-08-27  Hans Petter Jansson  <hpj@ximian.com>

	Fixes #15638.

	* misc/e-dateedit.c (rebuild_time_popup): Make 12-hour time format
	not be zero-padded. Right-align time labels so digits line up.

svn path=/trunk/; revision=22394
2003-08-28 14:27:46 +00:00
9cafe346c6 Added a handler for GtkWidget::mnemonic_activate().
2003-07-11  Federico Mena Quintero  <federico@ximian.com>

	* e-dateedit.c (e_date_edit_mnemonic_activate): Added a handler
	for GtkWidget::mnemonic_activate().

	* e-url-entry.c (mnemonic_activate): Likewise.

svn path=/trunk/; revision=21804
2003-07-13 19:29:03 +00:00
79f2149fd1 Fixes #43775
2003-05-29  JP Rosevear  <jpr@ximian.com>

	Fixes #43775

	* e-calendar-item.c (layout_set_day_text): calculate the day
	character correctly
	(e_calendar_item_draw_month): use it

	* e-dateedit.c (rebuild_time_popup): use e_utf8_strftime
	(e_date_edit_update_date_entry): ditto
	(e_date_edit_update_time_entry): ditto

	* e-calendar-item.c (layout_set_day_text): calculate the day
	character correctly
	(e_calendar_item_draw_month): use e_utf8_strftime and above
	(e_calendar_item_show_popup_menu): use e_utf8_strftime
	(e_calendar_item_recalc_sizes): use layout_set_day_text

svn path=/trunk/; revision=21352
2003-05-30 17:32:31 +00:00
a972ac3590 [ fixes bug #42177 ] remove the CAN_FOCUS flag.
2003-05-11  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #42177 ]
	* e-dateedit.c (e_date_edit_init): remove the CAN_FOCUS flag.

svn path=/trunk/; revision=21146
2003-05-11 21:57:25 +00:00
fa9dddd005 Remove this so that GtkContainer's destroy method will destroy all of the
* e-dateedit.c (e_date_edit_forall): Remove this so that
        GtkContainer's destroy method will destroy all of the internal
        widgets. (This is how other compound-widgets-that-aren't-
        meant-to-be-used-as-containers behave.) #41458

svn path=/trunk/; revision=21003
2003-04-29 16:59:12 +00:00
f446063c57 Same as below.
2003-02-25  Jeffrey Stedfast  <fejj@ximian.com>

	* e-dateedit.c (on_date_popup_date_selected): Same as below.

	* e-cell-date-edit.c (e_cell_date_edit_on_ok_clicked): Also
	updated to use the new GDate API from glib 2.0

	* test-calendar.c (on_selection_changed): Fixed to use glib 2.0's
	GDate API.

	* e-calendar-item.c (e_calendar_item_get_week_number): Port to
	glib 2.0's GDate API.
	(e_calendar_item_set_selection): Same.

	* e-search-bar.c (append_xml_menu_item): Use
	g_string_append_printf instead of g_string_sprintfa since the
	latter is now deprecated.
	(setup_bonobo_menus): Same.

	* e-filter-bar.c (do_advanced): Use gtk_window_set_resizable()

	* e-charset-picker.c: Fixes to make it build cleanly with
	-DG_DISABLE_DEPRECATED
	(add_charset): Escape _'s so we don't get underline weirdness due
	to GtkLabel thinking the _ means to underline the next char.
	(e_charset_picker_bonobo_ui_populate): Same here.

svn path=/trunk/; revision=20048
2003-02-25 07:03:46 +00:00