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-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-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 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
* 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-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-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-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-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-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-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 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-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 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-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-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-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
* 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-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-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 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 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-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-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-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-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-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-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 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 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-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
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
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-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-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-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
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-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