2001-01-17 Jeffrey Stedfast * e-messagebox.c (e_message_box_get_id): Oops. Delete this. I never meant for this to get commit'd. 2001-01-17 JP Rosevear * e-messagebox.c (e_message_box_get_id): Dont remove the function, give it the proper name 2001-01-17 Ettore Perazzoli * e-messagebox.c (e_message_box_get_checkbox): Remove the version returning `const char *' as of course it doesn't compile. Please compile before committing. 2001-01-17 Jeffrey Stedfast * Makefile.am: Added e-messagebox to the build. * e-messagebox.[c,h]: Added a new messagebox window that contains a checkbox for "Don't show me this again." 2001-01-16 Jason Leach * e-search-bar.[ch]: Moved here from $(toplevel)/filter. 2000-12-22 JP Rosevear * e-calendar-item.h: add prototypes * e-calendar-item.c (e_calendar_item_init): Set max_days_selected to 1 and days_to_start_week_selection to -1 as documented in header (e_calendar_item_set_arg): use new accessor methods (e_calendar_item_get_arg): ditto (e_calendar_item_get_max_days_sel): accessor (e_calendar_item_set_max_days_sel): ditto (e_calendar_item_get_days_start_week_sel): ditto (e_calendar_item_set_days_start_week_sel): ditto (e_calendar_item_class_init): add display_popup argument (e_calendar_item_init): initialize display_popup member (e_calendar_item_get_arg): get display_popup member (e_calendar_item_set_arg): set display_popup member (e_calendar_item_button_press): only show the popup menu if the member is set (e_calendar_item_get_display_popup): acessor (e_calendar_item_set_display_popup): ditto 2000-12-14 Federico Mena Quintero * e-dateedit.h: #include 2000-12-08 JP Rosevear * e-calendar.c (e_calendar_destroy): Call the parent class destroyer as well 2000-10-26 Damon Chaplin * e-dateedit.[hc]: updated to emit "changed" when appropriate, which turned out to be amazingly difficult :( Also added e_date_edit_get/set_date() to get/set just the date. Added e_date_edit_date_is_valid() & e_date_edit_time_is_valid() so you can check if the user has tried to enter an invalid date. (All the get_date/time functions return the last valid date entered.) * test-dateedit.c: updated a bit. 2000-11-02 Federico Mena Quintero * e-dateedit.h (EDateEditClass): Removed the "time_changed" signal, since it was never being emitted in the first place. Time values *are* both date and time together anyways, so whenever one changes we should notify about the whole date/time value being changed. Renamed the remaining "date_changed" signal to just "changed". * e-dateedit.c (e_date_edit_class_init): Do not create the "time_changed" signal; rename the other one to "changed". (set_time): Moved the core functionality from e_date_edit_set_time() to here. This function just sets the widgets' values without emitting any signals. (e_date_edit_set_time): Emit the "changed" signal unconditionally. This is to be consistent with the rest of the GTK+ widgets, and it actually makes writing client code easier. (e_date_edit_new): Use set_time(). (on_date_popup_now_button_clicked): Do not emit the signal here. (on_date_popup_none_button_clicked): Likewise. (e_date_edit_set_time_of_day): Emit the signal, since we do not call e_date_edit_set_time(). 2000-10-30 Kjartan Maraas * e-calendar-item.c: #include to get rid of warning. * e-clipped-label.c: Same here. 2000-10-27 Federico Mena Quintero * e-dateedit.c (e_date_edit_destroy): Do not unref the cal_popup since we already destroyed it. 2000-10-11 Damon Chaplin * e-calendar-item.c (e_calendar_item_recalc_sizes): fixed to recalculate min_cell_width/height in case the show_week_numbers option is changed. * e-dateedit.c: added support for hiding the date field, and added get/set_time_of_day() functions to get/set just the time. 2000-09-30 Damon Chaplin * e-calendar-item.c: * e-dateedit.c: better i18n of strftime strings. 2000-09-29 Ettore Perazzoli * e-title-bar.c: New member `pin_gtk_pixmap' in `ETitleBarPrivate'. Signal "close_button_clicked" renamed to "button_clicked". Signal "title_button_press_event" renamed to "label_button_press_event". (init): Init new members. (close_button_realize_cb): Create the pin pixmap. Call `show_and_hide_pixmaps_according_to_mode()'. (e_title_bar_show_close_button): Renamed to `e_title_bar_show_button'. (e_title_bar_get_button_mode): New. (e_title_bar_set_button_mode): New. 2000-09-23 Damon Chaplin * e-calendar.c: use pixmaps instead of GtkArrows to look better. Also set the canvas window's background when realized so that we can set the button reliefs to none. 2000-09-22 Damon Chaplin * test-dateedit.c: updated a bit, adding a few EDateEdits with different options. * e-calendar-item.c (e_calendar_item_set_selection): aborted any current selection operation and initialize all of the selection fields. (e_calendar_item_unmap): new function to abort any current selection operation. Otherwise GnomeCanvas gets in a muddle about grabs. * e-dateedit.c: marked some strftime()/strptime() format strings for translation and used "%m/%d/%Y" instead of "%x" so we get the complete year number. Also changed e_date_edit_get_time() so it returns -2 if it can't parse the date or time, and -1 if it is explicitly set to None. (e_date_edit_parse_date): new function to parse the date string and add on the current century if a year of 0-99 is entered. 2000-09-21 Damon Chaplin * e-dateedit.c (on_date_button_clicked): only check return of strptime for NULL. It should now select the correct day set in the popup. * e-calendar.c: * e-calendar-item.c: * test-calendar.c: removed support for buttons within the ECalendar. It is cleaner to add them outside it, as EDateEdit does. 2000-09-18 Dan Winship * e-dateedit.c (_XOPEN_SOURCE): set this to 4 to specify how much X/Open we want with that. 2000-09-18 Christopher James Lahey * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c: Fixed the #include lines to deal properly with gal. * e-scroll-frame.c, e-scroll-frame.h: Moved to gal. 2000-09-11 Damon Chaplin * Makefile.am (libemiscwidgets_a_SOURCES): added e-dateedit.[hc] and the test-dateedit app. * e-dateedit.[hc]: new widget to use instead of GnomeDateEdit. It uses the new ECalendar widget for the calendar and also supports "None", "Today" and "Now" buttons, and goes away with a single click. * test-dateedit.c: app to test the EDateEdit widget. * e-calendar-item.c: updated to support the EDateEdit better, mainly by adding the "move_selection_when_moving" arg so we can turn it off to keep the same day selected when changing the months shown. 2000-09-05 Damon Chaplin * e-calendar-item.c (e_calendar_item_draw_month): make sure we get the start_weekday since we need it for draw_days(). Fixes a drawing bug. 2000-08-31 Damon Chaplin * e-calendar-item.c (e_calendar_item_button_press): (e_calendar_item_button_release): grab/ungrab the pointer so we always get the button_release event. 2000-08-30 Damon Chaplin * e-calendar-item.[hc]: * e-calendar.[hc]: Updated. 2000-08-10 Christopher James Lahey * e-calendar-item.c, e-calendar.c: Fixed some warnings. 2000-07-25 Damon Chaplin * e-calendar-item.h: * e-calendar.[hc]: new widget and canvas item to replace GtkCalendar. Not quite finished yet. 2000-07-21 Ettore Perazzoli * e-title-bar.c (e_title_bar_set_title): We have a `EClippedLabel', not a `GtkLabel' here: use the right function to change the text. 2000-07-12 Christopher James Lahey * e-scroll-frame.c: Tried rearranging the casts to try for a more correct computation. 2000-07-08 Dan Winship * e-scroll-frame.c (e_scroll_frame_add): comment out true but confused warning about non-scrollable widgets until Chris and/or Federico fix this correctly. (e_scroll_frame_size_allocate): If the available space for the child is less than the width/height of the frame, give the child an allocation of 0 rather than some small negative number cast to unsigned. 2000-07-05 Dan Winship * Makefile.am (INCLUDES): Set G_LOG_DOMAIN=__FILE__ rather than "e-title-bar" in all three widgets. 2000-06-13 Anders Carlsson * e-scroll-frame.c (e_scroll_frame_button_press): Control does horizontal scrolling, a la gimp. 2000-06-11 Anders Carlsson * e-scroll-frame.c (e_scroll_frame_button_press): Add support for mouse wheel scrolling in EScrollFrame. 2000-06-10 Ettore Perazzoli * e-title-bar.c (close_button_realize_cb): Unref the pixmap and the mask.