Commit Graph

1923 Commits

Author SHA1 Message Date
f4b4be936e Update to use EIconFactory to get the filename for the component icons
2004-04-19  Rodney Dawes  <dobey@ximian.com>

	* e-info-label.c (e_info_label_new): Update to use EIconFactory to
	get the filename for the component icons using the icon theme

2004-04-19  Michael Terry  <mike@mterry.name>

	* e-combo-buddon.c:
	* e-url-entry.c: Update these to use EIconFactory and GtkImages
	directly instead of GdkPixmaps

svn path=/trunk/; revision=25513
2004-04-19 15:18:37 +00:00
5de7b60f7a Work in progress, HIG'ing and de-coupling of errors.
svn path=/trunk/; revision=25493
2004-04-16 09:57:07 +00:00
24c56f1757 Set the border widths on the dialog's vbox and action area to be
2004-04-09  Rodney Dawes  <dobey@ximian.com>

	* e-timezone-dialog/e-timezone-dialog.c
	(e_timezone_dialog_construct): Set the border widths on the dialog's
	vbox and action area to be HIG-complaint
	Get rid of the timezone preview widget in here
	Point the internal 'table' to the right widget
	(on_map_motion): Get rid of the extra-hacky code to set the preview
	widget's label to the timezone, now that that widget is gone
	(on_map_leave): Update the comment to not reference the preview
	widget that is now gone
	Get rid of the code to set the preview widget's label to empty string
	* e-timezone-dialog/e-timezone-dialog.glade: Update for HIG-compliance

2004-04-09  Rodney Dawes  <dobey@ximian.com>

	* e-charset-picker.c: Include gtkhbox.h in here to avoid the warnings
	(activate_other):
	(e_charset_picker_dialog): Make these dialogs be more HIG-compliant
	* e-filter-bar.c (do_advanced):
	(menubar_activated): Make these dialogs be more HIG-compliant

svn path=/trunk/; revision=25468
2004-04-14 21:30:54 +00:00
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
d12f139ad4 don't issue the display view signal a second time, connect_view does this
2004-04-05  JP Rosevear <jpr@ximian.com>

	* gal-view-instance.c (gal_view_instance_set_current_view_id):
	don't issue the display view signal a second time, connect_view
	does this for us

svn path=/trunk/; revision=25324
2004-04-05 21:12:21 +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
70895bfdfd [ fixes bug #51897 ]
2004-04-01  Chris Toshok  <toshok@ximian.com>

	[ fixes bug #51897 ]

	* gal/e-text/e-text.c (insert_preedit_text): only reset the layout
	attrs if there is some preedit text to insert.  also, try getting
	text->layout's attributes before creating a new list.  this will
	keep us from overwriting existing attributes and wiping out the
	underlining for objects.

svn path=/trunk/; revision=25294
2004-04-02 07:17:36 +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
1f2d31973e Make the acces key Alt+O work.
Patch by hao.sheng@sun.com

svn path=/trunk/; revision=25004
2004-03-10 06:28:47 +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
2fe63c34bb don't reference uninitialized memory
2004-02-26  JP Rosevear <jpr@ximian.com>

	* e-timezone-dialog/e-timezone-dialog.c
	(e_timezone_dialog_dispose): don't reference uninitialized memory

svn path=/trunk/; revision=24892
2004-02-26 18:24:16 +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
e0163b782f reset motion_row/motion_col if the model changes. See bug #54757.
2004-02-26  Not Zed  <NotZed@Ximian.com>

        * e-table-item.c (eti_table_model_pre_change): reset
        motion_row/motion_col if the model changes.  See bug #54757.

svn path=/trunk/; revision=24878
2004-02-26 11:45:52 +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
dd5a050770 it's possible to get to this function without the EText ever being
2004-02-03 Chris Toshok <toshok@ximian.com>

	* gal/e-text/e-text.c (e_text_command): it's possible to get to
	this function without the EText ever being realized.  Since we
	create the layout in realize(), let's just create it here too.
	Fixes crash bug 46165 (aka "The Bug with a million dups").

svn path=/trunk/; revision=24579
2004-02-03 15:24:40 +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
a91380ebe5 Use button->time for the mouse click event, so that the popup stays up on
2004-01-27  Rodney Dawes  <dobey@ximian.com>

	* gal/e-text/e-text.c (popup_targets_received): Use button->time for
	the mouse click event, so that the popup stays up on button release

	Fixes #47548

svn path=/trunk/; revision=24483
2004-01-27 22:58:06 +00:00
deaa622ca7 fix double free of the button event.
2004-01-27  Chris Toshok  <toshok@ximian.com>

	* gal/e-text/e-text.c (popup_targets_received): fix double free of
	the button event.

svn path=/trunk/; revision=24481
2004-01-27 22:47:15 +00:00
398f56b883 print strikeout/underline
2004-01-27  Radek Doulik  <rodo@ximian.com>

	* e-cell-text.c (ect_print): print strikeout/underline

	Fixes #32240

svn path=/trunk/; revision=24466
2004-01-27 15:18:08 +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