Commit Graph

290 Commits

Author SHA1 Message Date
00f84d0c5a ugh, fix some last minute changes which broke shit.
2004-04-08  Not Zed  <NotZed@Ximian.com>

        * e-info-label.c (e_info_label_set_info): ugh, fix some last
        minute changes which broke shit.

svn path=/trunk/; revision=25370
2004-04-08 08:12:28 +00:00
313439d717 A widget to show component info for the current component/view.
2004-04-08  Not Zed  <NotZed@Ximian.com>

        * e-info-label.[ch]: A widget to show component info for the
        current component/view.

svn path=/trunk/; revision=25368
2004-04-08 07:39:51 +00:00
df95d7a64d Updated for changes to e-config-page.c (init): Removed the OK and Apply
2004-04-07  Jeffrey Stedfast  <fejj@ximian.com>

	* e-multi-config-dialog.c: Updated for changes to e-config-page.c
	(init): Removed the OK and Apply buttons.

	* e-config-page.c (e_config_page_apply): Removed.
	(e_config_page_is_applied): Removed.
	(e_config_page_changed): Removed.

svn path=/trunk/; revision=25363
2004-04-07 21:07:26 +00:00
8cc048dc72 Make the button initially insensitive. Connect to the entry's "changed"
* e-url-entry.c (init): Make the button initially insensitive.
        Connect to the entry's "changed" signal.
        (entry_changed_cb): sensitize the button iff the entry is
        non-empty
        (button_clicked_cb): simplify a bit by using gtk_entry_get_text
        rather than gtk_editable_get_chars.

svn path=/trunk/; revision=25300
2004-04-02 16:19:52 +00:00
4af35d8e59 Create a new class for "Western European, New" to fix a translation issue.
2004-04-01  Jeffrey Stedfast  <fejj@ximian.com>

	* e-charset-picker.c (e_charset_picker_new): Create a new class
	for "Western European, New" to fix a translation issue.

svn path=/trunk/; revision=25293
2004-04-02 04:15:32 +00:00
edad0e8679 start the rule editor with the right label.
2004-03-31  Not Zed  <NotZed@Ximian.com>

        * e-filter-bar.c (menubar_activated): start the rule editor with
        the right label.

svn path=/trunk/; revision=25258
2004-03-31 10:06:01 +00:00
b4dc945f6e We don't need this really (class_init): We don't need to have our own
2004-03-26  Rodney Dawes <dobey@ximian.com>

	* e-shell-settings-dialog.c (impl_realize): We don't need this really
	(class_init): We don't need to have our own realize impl for setting
	the default window size of the dialog, especially since we are setting
	the size before we actually get realized, anyway
	(init): Set the dialog size here, and don't set the border width of the
	dialog

2004-03-26  Rodney Dawes  <dobey@ximian.com>

	* e-multi-config-dialog.c (init): Remove the dialog separator
	Set the border widths of the dialog's vbox and action area to be more
	HIG-compliant
	Set the border width of the dialog's child to 12 for HIG-compliance

svn path=/trunk/; revision=25197
2004-03-26 17:12:05 +00:00
c526e9b920 comment fix from trent.
svn path=/trunk/; revision=25087
2004-03-16 09:37:37 +00:00
717065d55a change arg name (e_calendar_item_init): ditto (e_calendar_item_get_arg):
2004-03-15  JP Rosevear  <jpr@ximian.com>

	* e-calendar-item.c (e_calendar_item_class_init): change arg name
	(e_calendar_item_init): ditto
	(e_calendar_item_get_arg): ditto
	(e_calendar_item_set_arg): ditto
	(e_calendar_item_preserve_day_selection): set the selection day to
	the given selection
	(e_calendar_item_set_first_month): use above to preserve selected
	day of week

	* e-calendar-item.h: change field name

svn path=/trunk/; revision=25071
2004-03-15 16:26:54 +00:00
b9944eb5c7 move function about setup_bonobo_menus which requires it so its not
2004-03-13  Trent Lloyd  <lathiat@sixlabs.org>

	* e-search-bar.c (remove_bonobo_menus): move function about
	setup_bonobo_menus which requires it so its not implicitly defined

svn path=/trunk/; revision=25055
2004-03-13 02:39:28 +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
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
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
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
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
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
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