Commit Graph

576 Commits

Author SHA1 Message Date
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
d3cb3f90f0 fixed ChangeLog
svn path=/trunk/; revision=25033
2004-03-11 20:29:15 +00:00
38e29c6191 Fix for bug #55267.
2004-03-11  Jeffrey Stedfast  <fejj@ximian.com>

	Fix for bug #55267.

	* e-filter-bar.c (set_property): Use efb->setquery properly (set
	to TRUE before calling set_item_id and FLASE afterwards). Also
	setquery to TRUE before emitting the "search-activated" signal so
	that we don't run the callback for the signal we are emitting.

svn path=/trunk/; revision=25032
2004-03-11 20:28:57 +00:00
2087067750 Use efb->setquery properly (set to TRUE before calling set_item_id and
2004-03-11  Jeffrey Stedfast  <fejj@ximian.com>

	* e-filter-bar.c (set_property): Use efb->setquery properly (set
	to TRUE before calling set_item_id and FLASE afterwards). Also
	setquery to TRUE before emitting the "search-activated" signal so
	that we don't run the callback for the signal we are emitting.

svn path=/trunk/; revision=25031
2004-03-11 20:18:43 +00:00
a9e0ac686c Emit the "search-activated" signal. Fixes bug #55054.
2004-03-02  Jeffrey Stedfast  <fejj@ximian.com>

	* e-filter-bar.c (set_property): Emit the "search-activated"
	signal. Fixes bug #55054.

svn path=/trunk/; revision=24934
2004-03-02 19:51:19 +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
0608fee8c5 remove the right thing
2004-02-26  Christian Neumair <chris@gnome-de.org>

	* e-search-bar.c (remove_bonobo_menus): remove the right thing

svn path=/trunk/; revision=24889
2004-02-26 18:00:46 +00:00
f1fe42cea9 Before Update the bonobo ui component, remove it first.
2004-02-26  Bill Zhu <bill.zhu@sun.com>

	* e-search-bar.c (setup_bonobo_menus): Before Update the bonobo ui
	component, remove it first.

	Fixes #54788

svn path=/trunk/; revision=24881
2004-02-26 14:05:55 +00:00
2f31296184 Change the shadow type for the arrows here, so that themes that do handle
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
2004-02-12 17:02:31 +00:00
db1b452b25 Change the filename and section that we pass to gnome_help_display_desktop
2004-02-11  Rodney Dawes  <dobey@ximian.com>

	* e-multi-config-dialog.c (impl_response): Change the filename and
	section that we pass to gnome_help_display_desktop so that the help
	browser displays the documentation correctly

svn path=/trunk/; revision=24708
2004-02-11 18:30:32 +00:00
f9d588d588 Add a Help button (impl_response): Handle the Help button and open the
2004-02-10  Rodney Dawes  <dobey@ximian.com>

	* e-multi-config-dialog.c (init): Add a Help button
	(impl_response): Handle the Help button and open the documentation

	Fixes #30681

svn path=/trunk/; revision=24694
2004-02-10 23:21:22 +00:00
3212a68494 Don't show the task label by default
2004-02-05  Rodney Dawes  <dobey@ximian.com>

	* e-task-bar.c: Don't show the task label by default

svn path=/trunk/; revision=24636
2004-02-05 20:05:01 +00:00
b9c4553423 Moved here from shell/, since they are now used only by the components,
* e-activity-handler.c:
	* e-activity-handler.h:
	* e-task-bar.c:
	* e-task-bar.h:
	* e-task-widget.c:
	* e-task-widget.h: Moved here from shell/, since they are now used
	only by the components, not the shell itself.

	* Makefile.am (widgetsinclude_HEADERS,
	libemiscwidgets_la_SOURCES): add new files

svn path=/trunk/; revision=24586
2004-02-03 17:31:50 +00:00
4d0eb82b04 set image_buf/image_buf_size here instead of in all callers. also emit the
2004-02-02  Chris Toshok  <toshok@ximian.com>

	* e-image-chooser.c (set_image_from_data): set
	image_buf/image_buf_size here instead of in all callers.  also
	emit the "changed" signal here.
	(image_drag_data_received_cb): remove the copying to image_buf and
	emitting of "changed" from here.
	(e_image_chooser_set_from_file): only g_free (data) here if
	set_image_from_data failed.
	(e_image_chooser_set_image_data): copy the image data we're passed
	before calling set_image_data.  free it if rv == FALSE.

svn path=/trunk/; revision=24577
2004-02-03 02:32:29 +00:00
f06004a362 add an alignment around the image. This might not be enough. hrm.
2004-01-30  Chris Toshok  <toshok@ximian.com>

	* e-image-chooser.c (e_image_chooser_init): add an alignment
	around the image.  This might not be enough.  hrm.
	(set_image_from_data): handle the case where there's no image
	(image_height == image_width == 0).
	(e_image_chooser_get_image_data): new function.
	(e_image_chooser_set_image_data): new function.

svn path=/trunk/; revision=24552
2004-01-30 22:48:04 +00:00
e8ab6acfb9 abstract out the drag and droppable image widget from the contact list
2004-01-30  Chris Toshok  <toshok@ximian.com>

	* e-image-chooser.[ch]: abstract out the drag and droppable image
	widget from the contact list editor and stick it here.  There's
	some code for a "Browse..." button here but it's not enabled.

	* Makefile.am (widgetsinclude_HEADERS): add e-image-chooser.h.
	(libemiscwidgets_la_SOURCES): add e-image-chooser.c

svn path=/trunk/; revision=24549
2004-01-30 21:44:46 +00:00
fd7589b174 Only save the search-bar state OR the filter-bar state - decided based on
2004-01-30  Jeffrey Stedfast  <fejj@ximian.com>

	* e-filter-bar.c (get_property): Only save the search-bar state OR
	the filter-bar state - decided based on what the search is. If the
	search is an advanced search, then save the filter-bar state,
	otherwise save the search-bar state.
	(set_property): Only need to restore the first state we find
	(filter-bar vs search-bar). If we are restoring filter-bar state,
	set efb->setquery to TRUE and then set the item_id to
	E_FILTERBAR_ADVANCED_ID.

svn path=/trunk/; revision=24542
2004-01-30 18:10:52 +00:00
085ce3b2f3 Same.
2004-01-28  Jeffrey Stedfast  <fejj@ximian.com>

	* e-search-bar.c (impl_get_property): Same.

	* e-filter-bar.c (get_property): Use
	g_value_set_string_take_ownership() instead of
	g_value_take_string() since we need snaps to work with glib-2.0
	earlier than 2.3.x.

svn path=/trunk/; revision=24507
2004-01-29 01:57:56 +00:00
55fd08582c Added a new property "state" which is READ-WRITE so that we can
2004-01-28  Jeffrey Stedfast  <fejj@ximian.com>

	* e-filter-bar.c: Added a new property "state" which is READ-WRITE
	so that we can save/restore state in the mailer code if we want
	to. Sort of a work-in-progress toward fixing bug #53195.
	(class_init): Ported to use the GObject property stuff instead of
	the deprecated GtkArg stuff.
	(get_property): Ported from impl_get_arg().
	(set_property): New object::set_property implementation to set the
	query state.

svn path=/trunk/; revision=24502
2004-01-28 22:03:15 +00:00
7e9fd7e251 if the source is primary, don't allow it to be un-selected
2004-01-24  JP Rosevear <jpr@ximian.com>

	* e-source-selector.c (cell_toggled_callback): if the source is
	primary, don't allow it to be un-selected

svn path=/trunk/; revision=24397
2004-01-24 05:36:53 +00:00
e418965910 Be even more exactly like the GtkButton painting stuff
2004-01-20  Rodney Dawes  <dobey@ximian.com>

	* e-combo-button.c (paint): Be even more exactly like the GtkButton
	painting stuff

	Fixes #52988

svn path=/trunk/; revision=24343
2004-01-21 04:18:57 +00:00
e6b238108c set a primary selection if there is one before the rebuild
2004-01-20  JP Rosevear <jpr@ximian.com>

	* e-source-selector.c (rebuild_model): set a primary selection if
	there is one before the rebuild
	(e_source_selector_set_primary_selection): block the signals when
	clearing the tree selection to make the op atomic; emit the
	selection_changed signal if a hidden selection is not currently
	selectecd

svn path=/trunk/; revision=24342
2004-01-21 03:04:08 +00:00
f375cfac08 provide parent iter in/out arg (test_collapse_row_callback): use priv
2004-01-20  JP Rosevear <jpr@ximian.com>

	* e-source-selector.c (find_source_iter): provide parent iter
	in/out arg
	(test_collapse_row_callback): use priv shortcut
	(e_source_selector_select_source): pass parent iter
	(e_source_selector_unselect_source): ditto
	(e_source_selector_peek_primary_selection): return the right thing
	if the primary selection is currently hidden
	(e_source_selector_set_primary_selection): set the primary
	selection properly if the source node is currently hidden

svn path=/trunk/; revision=24337
2004-01-20 22:56:38 +00:00
dc50178156 util routine to clear the row reference to the saved primary selection
2004-01-20  JP Rosevear <jpr@ximian.com>

	* e-source-selector.c (clear_saved_primary_selection): util
	routine to clear the row reference to the saved primary selection
	(find_source_iter): unref the model data retrieved
	(rebuild_existing_cb): ditto
	(toggle_cell_data_func): ditto
	(text_cell_data_func): ditto
	(selection_func): ditto; clear the saved primary selection if
	something else is selected
	(cell_toggled_callback): ditto
	(test_collapse_row_callback): clear the toggled_last flag
	(row_expanded_callback): once we've restored the saved primary
	selection, clear it
	(selector_button_press_event): unref the model data
	(impl_dispose): use clear_saved_primary_selection
	(init): the store column holds object not pointer type
	(e_source_selector_peek_primary_selection): unref the model da

svn path=/trunk/; revision=24334
2004-01-20 21:24:54 +00:00
254104e312 check if the collapsing node has its child selected, if so take a row
2004-01-20  JP Rosevear <jpr@ximian.com>

	* e-source-selector.c (test_collapse_row_callback): check if the
	collapsing node has its child selected, if so take a row reference
	to remember the selection
	(row_expanded_callback): check if the expanding node has the saved
	primary selection under it and re-select if so
	(init): listen for signals
	(impl_dispose): free the primary selection

svn path=/trunk/; revision=24329
2004-01-20 19:16:41 +00:00
3c4559b613 create the data structure for rebuilding the model (free_rebuild_data):
2004-01-19  JP Rosevear <jpr@ximian.com>

	* e-source-selector.c (create_rebuild_data): create the data
	structure for rebuilding the model
	(free_rebuild_data): free it
	(rebuild_existing_cb): check for the sources that are still
	existing or deleted
	(rebuild_model): do incremental updates
	(selection_func): if the last thing we did was toggle, we don't
	actually want to highlight and if the source is not checked, check
	it
	(cell_toggled_callback): indicate that a toggle just occurred
	(init): initial toggled last to false
	(e_source_selector_set_primary_selection): set some preconditions

	Fixes #51787

svn path=/trunk/; revision=24312
2004-01-19 19:28:34 +00:00
17ad1a2085 Fix remaining usages of GTK_*EXPANDER* defines
2004-01-14  Rodney Dawes  <dobey@ximian.com>

	* e-expander.[ch]: Fix remaining usages of GTK_*EXPANDER* defines

svn path=/trunk/; revision=24226
2004-01-14 19:57:12 +00:00
2fd22d547c Implemented #127527: the attachment bar is packed inside an EExpander
2003-12-02  ERDI Gergo  <cactus@cactus.rulez.org>

        * e-msg-composer.c: Implemented #127527: the attachment bar is
        packed inside an EExpander

svn path=/trunk/; revision=24146
2004-01-10 16:14:17 +00:00
1e0a5a8fa1 Fix for bug #46349
2003-12-22  Rodney Dawes  <dobey@ximian.com>

	Fix for bug #46349

	* e-combo-button.c: Use the appropriate style painting for a
	button widget, since we are a button

svn path=/trunk/; revision=24002
2003-12-22 17:31:46 +00:00
4e71399fd5 call gdk_window_focus() so that keyboard works correctly.
2003-12-18  Harry Lu  <harry.lu@sun.com>

        * e-cell-date-edit.c: (e_cell_date_edit_do_popup): call
        gdk_window_focus() so that keyboard works correctly.

svn path=/trunk/; revision=23975
2003-12-18 03:59:42 +00:00
a3b04be4f0 Use e_source_equal() instead of comparing pointers. This allows user to
2003-12-16  Hans Petter Jansson  <hpj@ximian.com>

	* misc/e-source-option-menu.c (select_source_foreach_menu_item):
	Use e_source_equal() instead of comparing pointers. This allows user
	to pass in a source that was obtained from somewhere else. Set the
	matching internal source as "selected" instead of the one passed in.
	(select_source): Emit signal only if we found a match. Don't ref/unref
	anything, since the selected source will always be from our internal
	list.

svn path=/trunk/; revision=23954
2003-12-17 00:50:03 +00:00
f6b7ede5b1 Remove hard coded disable deprecated flags
2003-12-06  JP Rosevear <jpr@ximian.com>

	* */Makefile.am: Remove hard coded disable deprecated flags

svn path=/trunk/; revision=23658
2003-12-06 18:08:00 +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
3db4f804fd (init): Set the mode on the text cell
renderer to GTK_CELL_RENDERER_MODE_ACTIVATABLE so clicking on the
text doesn't change the status of the checkbox.  [Many thanks to
Jonathan Blandford for telling me how to do this!]

svn path=/trunk/; revision=23588
2003-12-02 20:31:02 +00:00
9b6e4f3e85 list the signal args properl
2003-12-01  JP Rosevear <jpr@ximian.com>

	* e-source-selector.c (class_init): list the signal args properl

svn path=/trunk/; revision=23542
2003-12-01 22:01:14 +00:00
a9a80fcf4e Added test-source-option-menu executable
svn path=/trunk/; revision=23518
2003-12-01 12:16:43 +00:00
5a1cbefa40 canned the _clicked handlers as those make it impossible to move just one
2003-11-30  ERDI Gergo  <cactus@cactus.rulez.org>

        * e-calendar.c: canned the _clicked handlers as those make it
        impossible to move just one month at a time

svn path=/trunk/; revision=23517
2003-12-01 12:14:27 +00:00
7b8da87e17 Add NONE:POINTER.
* e-util-marshal.list: Add NONE:POINTER.

* test-source-option-menu.c (source_selected_callback): New
callback to test the "source_selected" signal.
(on_idle_create_widget): Connect.

* e-source-option-menu.c: Add "source_selected" signal.
(select_source): Assume source != NULL and emit "source_selected".

svn path=/trunk/; revision=23512
2003-12-01 02:55:47 +00:00
81724738fc New test.
* test-source-option-menu.c: New test.

* e-source-option-menu.h: New.
* e-source-option-menu.c: New.

svn path=/trunk/; revision=23511
2003-12-01 02:48:53 +00:00
9582e8159c renamespace and move to here build new files
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
2003-11-17 21:05:15 +00:00
e86b07cdbb allow new lable with mnemonic (e_search_bar_construct): alter lable name.
2003-11-17  Charles Zhang  <charles.zhang@sun.com>

	* e-search-bar.c(add_button): allow new lable with mnemonic
	(e_search_bar_construct): alter lable name. [50810]

svn path=/trunk/; revision=23385
2003-11-17 13:31:52 +00:00
ccdc51ce37 use find_source_iter and get the selection from the right spot
2003-11-16  JP Rosevear <jpr@ximian.com>

	* e-source-selector.c (e_source_selector_set_primary_selection):
	use find_source_iter and get the selection from the right spot
	(find_source_iter): util function to find the iter given the
	source
	(e_source_selector_select_source): signal that the model changed
	(e_source_selector_unselect_source): ditto

svn path=/trunk/; revision=23372
2003-11-16 17:21:31 +00:00
c02fe8b8c2 make source selector flags/libs
2003-11-14  JP Rosevear <jpr@ximian.com>

	* configure.in: make source selector flags/libs

svn path=/trunk/; revision=23366
2003-11-14 22:27:34 +00:00
ea99b0cfb4 remove a declaration of a deleted func.
2003-11-13  Bolian Yin <bolian.yin@sun.com>

        * e-calendar-item.c: remove a declaration of a deleted func.

svn path=/trunk/; revision=23310
2003-11-13 03:33:53 +00:00
f0427b1010 a canvas item does not inherit from gtkwidget
2003-11-12  JP Rosevear <jpr@ximian.com>

	* e-calendar-item.c (e_calendar_item_class_init): a canvas item
	does not inherit from gtkwidget

svn path=/trunk/; revision=23298
2003-11-12 20:17:38 +00:00
f7cc8f7cbd Fixes #50538
2003-11-11  Bolian Yin <bolian.yin@sun.com>

        Fixes #50538

        * e-calendar-item: make e_calendar_item_normalize_date public func.
           add "selection_preview_changed" signal.
           move some definition of constants to .h

svn path=/trunk/; revision=23284
2003-11-11 10:34:29 +00:00
e1b06f3408 (e_source_selector_new): Expand all the
nodes.

svn path=/trunk/; revision=23276
2003-11-11 02:06:48 +00:00
0f3aece386 make sure the marshal stuff is in the sources and remove the built files
2003-11-07  JP Rosevear <jpr@ximian.com>

	* Makefile.am: make sure the marshal stuff is in the sources and
	remove the built files when disting

svn path=/trunk/; revision=23218
2003-11-07 08:24:45 +00:00
d6e7c730ae Shush.
svn path=/trunk/; revision=23214
2003-11-07 07:33:43 +00:00
5e343da080 fill_popup_menu signal has 2 arguments.
2003-10-28  Rodrigo Moya <rodrigo@ximian.com>

	* e-source-selector.c (class_init): fill_popup_menu signal has
	2 arguments.

svn path=/trunk/; revision=23109
2003-10-28 18:56:34 +00:00