2003-04-23 Jeffrey Stedfast <fejj@ximian.com>
* gal-view-instance.c (load_current_view): Try stat'ing the file
before loading it with xmlParseFile() to avoid warnign spewage
from libxml2 saying that the file doesn't exist.
svn path=/trunk/; revision=20955
2003-04-15 Hans Petter Jansson <hpj@ximian.com>
* gal-view-instance.c (gal_view_instance_get_popup_menu): Free the
id when we're done with it.
svn path=/trunk/; revision=20854
2003-04-15 Mike Kestner <mkestner@ximian.com>
* gal-define-views-dialog.c (g_d_v_d_init): fix padding and
default size. Fixed warnings elsewhere in file.
(g_d_v_d_set_collection): set the dialog title
svn path=/trunk/; revision=20851
2003-03-19 Sanshao Jiang <alex.jiang@sun.com>
* gal-view-collection.c (gal_view_collection_append_with_title):
(gal_view_collection_set_nth_view): Use glib macro G_GNUC_FUNCTION
instead of __FUNCTION__. Thank u, Ettore.
* gal-view-instance.c (gal_view_instance_set_current_view_id): same
(add_popup_radio_item): Fix to be compilable on other compilers,
using gcc extension independent codes.(bug#39176)
(add_popup_menu_item): same
svn path=/trunk/; revision=20455
2003-03-17 Hans Petter Jansson <hpj@ximian.com>
* gal-define-views-dialog.c (gal_define_views_dialog_init): Instead
of using gtk_widget_unparent(), remove the widget from the container
using gtk_container_remove(). This fixes crashers where the dialog
is being used.
* gal-view-instance-save-as-dialog.c
(gal_view_instance_save_as_dialog_init): Ditto.
* gal-view-new-dialog.c (gal_view_new_dialog_init): Ditto.
svn path=/trunk/; revision=20324
2003-03-14 Mike Kestner <mkestner@ximian.com>
* gal/util/e-util.c (e_mkdir_hier): use access() like camel
2003-03-14 Mike Kestner <mkestner@ximian.com>
* gal-view-collection.c (gal_view_collection_load): check failure
on e_create_directory call and warn.
* gal-view-instance.c (save_current_view): check for failure and
warn.
svn path=/trunk/; revision=20291
2002-12-18 Chris Toshok <toshok@ximian.com>
* gal-view.[ch] (gal_view_edit): add the parent arg.
* gal-view-new-dialog.c (gal_view_new_dialog_init): set the dialog
modal.
* gal-view-etable.c (gal_view_etable_edit): take the parent arg
and pass it to e_table_config_new.
* gal-define-views-dialog.c (gdvd_button_new_dialog_callback):
pass the dialog as the parent to gal_view_edit.
(gdvd_button_modify_callback): same.
(gdvd_button_new_callback): set view_new_dialog transient for
dialog.
svn path=/trunk/; revision=19164
2002-11-14 Chris Toshok <toshok@ximian.com>
* gal-define-views-dialog.c (gal_define_views_dialog_init): hrm,
we shouldn't need to do this, but gtk_widget_show_all the custom
widget so it actually shows up.
svn path=/trunk/; revision=18767
2002-06-16 Christopher James Lahey <clahey@ximian.com>
* gal-define-views-dialog.c (gdvd_button_new_dialog_callback):
Edit the view after appending it to the model.
svn path=/trunk/; revision=17203
2002-06-04 Christopher James Lahey <clahey@ximian.com>
* menus/gal-view-menus.c, menus/gal-view-menus.h
(gal_view_menus_set_show_define_views): Added this function to let
you disable the define views dialog.
svn path=/trunk/; revision=17111
2002-06-04 Christopher James Lahey <clahey@ximian.com>
* menus/gal-view-menus.c (define_views): Don't show this dialog
more than once per collection.
svn path=/trunk/; revision=17106
2002-06-04 Christopher James Lahey <clahey@ximian.com>
* gal-view-collection.c, gal-view-collection.h
(gal_view_collection_set_title): Added this function to set the
user visible name of this collection.
* gal-define-views-dialog.c (gal_define_views_dialog_init): Set
the Define Views for %s label. Fixes Ximian bug #2100 and #4080.
svn path=/trunk/; revision=17100
2002-05-14 Christopher James Lahey <clahey@ximian.com>
* menus/gal-view-menus.c (build_menus): Made it so that if the
current_id doesn't match any of the given ids, it treats it the
same as a NULL id.
(gal_view_menus_apply): Added a check for gvm->priv == NULL here.
(gal_view_menus_apply, collection_changed, instance_changed):
Removed calls to set_radio after build_stuff, since the last thing
build_stuff does is calls set_radio.
svn path=/trunk/; revision=16781
2002-05-01 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-completion-view.c (simple_spec),
gal/widgets/e-categories-master-list-dialog.c (SPEC),
gal/widgets/e-categories.c (INITIAL_SPEC): Set the gettext-domain
here.
* gal/util/e-i18n.h (E_I18N_DOMAIN): #define as makes sense in the
different cases.
From gal/e-table/ChangeLog:
2002-05-01 Christopher James Lahey <clahey@ximian.com>
* e-table-config.c, e-table-config.h, e-table-specification.c,
e-table-specification.h, e-table-utils.c, e-table-utils.h,
e-table.c, e-table.h: Made these pay attention to the
gettext-domain in the etspec.
* e-table-config.c: Set the gettext-domain in the etspec here.
From gal/menus/ChangeLog:
2002-05-01 Christopher James Lahey <clahey@ximian.com>
* gal-define-views-dialog.c (SPEC),
gal-view-instance-save-as-dialog.c (SPEC): Set the gettext-domain
here.
svn path=/trunk/; revision=16658
2002-04-22 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped version number to 0.19.99.14.
* gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h
(e_popup_menu_copy_1, e_popup_menu_free_1, e_popup_menu_copy,
e_popup_menu_free): Added these functions
From gal/e-table/ChangeLog:
2002-04-22 Christopher James Lahey <clahey@ximian.com>
* e-table-memory-store.c, e-table-memory-store.h: Renamed the
insert functions in this class to make a bit more sense.
From gal/menus/ChangeLog:
2002-04-22 Christopher James Lahey <clahey@ximian.com>
* gal-view-instance.c, gal-view-instance.h
(gal_view_instance_get_popup_menu,
gal_view_instance_free_popup_menu): Added these functions. Used
to add a current view menu to your popup menus.
From gal/shortcut-bar/ChangeLog:
2002-04-22 Christopher James Lahey <clahey@ximian.com>
* e-icon-bar.c (e_icon_bar_drag_motion): Removed an unused
variable.
svn path=/trunk/; revision=16559
2002-02-13 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-reflow.c, gal/widgets/e-reflow.h
(column_width_changed): New signal for when the width of the
column changes.
* gal/util/e-util.c, gal/util/e-util.h (e_marshal_NONE__DOUBLE):
New marshaller.
From gal/menus/ChangeLog:
2002-02-13 Christopher James Lahey <clahey@ximian.com>
* gal-view-etable.c (detach_table): Set
view->table_state_changed_id to 0.
(detach_tree): Set view->tree_state_changed_id to 0.
svn path=/trunk/; revision=15705
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* menus/gal-view-menus.c, menus/gal-view-menus.h
(gal_view_menus_unmerge): New function to handle unmerging menus
at control deactivation time.
(d): Turned off debugging output here.
(build_menus): Gave the separators names and marked them with f=""
to make them work better with bonobo 1.
svn path=/trunk/; revision=15599
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the required version of gal.
From addressbook/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-view.c
(e_addressbook_view_setup_menus): Changed this function to use the
new GalViewMenus which takes a GalViewInstance, instead of a
GalViewCollection.
From calendar/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c
(gnome_calendar_setup_view_menus): Made these use the new
GalViewMenus stuff.
From mail/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* folder-browser.c, folder-browser.h, folder-browser-ui.c,
folder-browser-ui.h
(folder_browser_ui_setup_view_menus,
folder_browser_ui_discard_view_menus): Changed this to use the new
GalViewMenus stuff. Made these exported functions.
* mail-callbacks.c, message-browser.c: Changed these to not pass
the now removed row parameter to message_list_select.
* mail-config.c, mail-config.h (mail_config_folder_to_safe_url):
Refactored this out of mail_config_folder_to_cachename.
* message-list.c, message-list.h (message_list_select): Removed
the row argument. Changed this to use the new function in ETree
for finding the next cursor row that matches a test.
(message_list_construct): Handle a failed construction of the
ETree here.
(message_list_setup_etree, save_tree_state): Don't load or save
the header state. folder-browser-ui.c deals with this now.
From views/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* addressbook/galview.xml, calendar/galview.xml, mail/galview.xml,
tasks/galview.xml: Added default-view parameters.
* mail/As_Sent_Folder.galview: New galview.
* mail/Makefile.am, mail/galview.xml: Added As_Sent_Folder
galview.
From widgets/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* menus/gal-view-menus.c, menus/gal-view-menus.h
(gal_view_menus_new): Made this take a GalViewInstance instead of
a GalViewCollection. Reworked most of this to utilize the
interfaces provided by GalViewInstance.
svn path=/trunk/; revision=15592
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* gal-view-collection.c (gal_view_collection_load): Create the
local directory when loading instead of when saving. This way
instance data will have somewhere to be saved.
svn path=/trunk/; revision=15591
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the version number to 0.19.99.5.
* gal/Makefile.am (libgal_la_LIBADD): Added
menus/gal-view-instance-save-as-dialog.lo.
* gal/e-text/e-text.c (next_word): Contains refactored code from
the E_TEP_FORWARD_WORD case of e_text_command.
(e_text_command): Implemented E_TEP_CAPS.
From gal/menus/ChangeLog:
2002-02-07 Christopher James Lahey <clahey@ximian.com>
* Makefile.am (glade_DATA): Added
gal-view-instance-save-as-dialog.glade.
(libgalmenus_la_SOURCES): Added
gal-view-instance-save-as-dialog.c.
(libgalmenusinclude_HEADERS): Added
gal-view-instance-save-as-dialog.h.
* gal-view-collection.c, gal-view-collection.h
(gal_view_collection_append_with_title): Added this new version of
the append function that sets the title and returns the new id as
well.
(gal_view_collection_set_nth_view): Added this function to save
over another view.
(gal_view_collection_get_default_view,
gal_view_collection_set_default_view): Added the concept of a
default view for GalViewCollections.
* gal-view-etable.c, gal-view-etable.h
(gal_view_etable_attach_table, gal_view_etable_attach_tree,
gal_view_etable_detach): Added functions to set the state of a
table or tree and then send GalView "changed" signals whenever
that state changes.
(gal_view_etable_set_state): New function to set the ETableState
of a GalViewETable.
* gal-view-instance-save-as-dialog.c,
gal-view-instance-save-as-dialog.glade,
gal-view-instance-save-as-dialog.h: New dialog to save the current
custom view as a named view.
* gal-view-instance.c, gal-view-instance.h
(gal_view_instance_set_custom_view): New function to set the state
of an instance to custom view and set the custom view to a
particular GalView.
(gal_view_instance_exists): New function to check if this
particular instance has ever been opened before. Use before
gal_view_instance_load.
(gal_view_instance_save_as): New function to open a save as
dialog.
(gal_view_instance_load): Added this function which used to be
part of _construct. This function can be called multiple times,
and those extra times will be ignored. This is so you can set a
default view before loading.
(gal_view_instance_get_default_view,
gal_view_instance_set_default_view): Set the default view for this
instance. If unset, this falls back to the default view for the
corresponding GalViewCollection.
svn path=/trunk/; revision=15590
2002-01-31 Christopher James Lahey <clahey@ximian.com>
* Makefile.am: Added gal-view-instance.c and gal-view-instance.h.
* gal-view-collection.c, gal-view-collection.h
(gal_view_collection_load_view_from_file): Factored out this
function so that it can be used outside of gal-view-collection.c.
(gal_view_collection_get_view_index_by_id,
gal_view_collection_get_view_id_by_index,
gal_view_collection_loaded): Added these functions.
* gal-view-instance.c, gal-view-instance.h: New class representing
a single folder of a particular type of folder.
svn path=/trunk/; revision=15544
2001-10-31 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped the version number here to 0.16.
From gal/menus/ChangeLog:
2001-10-31 Christopher James Lahey <clahey@ximian.com>
* gal-define-views-model.c: Made this match pre_changes with
changes.
svn path=/trunk/; revision=14524
2001-10-24 Christopher James Lahey <clahey@ximian.com>
* gal-define-views-dialog.c, gal-define-views-dialog.h,
gal-define-views-model.c, gal-define-views-model.h,
gal-view-collection.c, gal-view-collection.h, gal-view-etable.c,
gal-view-etable.h, gal-view-factory-etable.c,
gal-view-factory-etable.h, gal-view-factory.c, gal-view-factory.h,
gal-view-new-dialog.c, gal-view-new-dialog.h, gal-view.c,
gal-view.h: Changed the license announcement at the top of these
files.
svn path=/trunk/; revision=14155
2001-10-24 Jon Trowbridge <trow@ximian.com>
* menus/gal-view-menus.c (gal_view_menus_apply): Ref the
BonoboUIComponent that we are holding.
(gvm_destroy): Unref our BonoboUIComponent.
svn path=/trunk/; revision=13994
2001-10-21 Christopher James Lahey <clahey@ximian.com>
* menus/gal-view-menus.c: Make this not be a radio button, but
instead just a normal menu.
svn path=/trunk/; revision=13844
2001-10-05 Michael Meeks <michael@ximian.com>
* gal/util/e-util.h: add E_OBJECT_CLASS_ADD_SIGNALS and
E_OBJECT_CLASS_TYPE to ease migration to Gnome 2.0 from
a single source base.
* All C files:
s/object_class->type,/E_OBJECT_CLASS_TYPE (object_class),/g;
s/gtk_object_class_add_signals([^\(]*)\(([^,]*),([^,]*),([^\)]*)/
E_OBJECT_CLASS_ADD_SIGNALS\1(\2,\3,\4/;
svn path=/trunk/; revision=13428
2001-10-04 Rodrigo Moya <rodrigo@ximian.com>
* misc/Makefile.am:
* menus/Makefile.am: added BONOBO_GNOME_CFLAGS to make it compile
with latest Bonobo
svn path=/trunk/; revision=13407