| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-16 Mike Kestner <mkestner@ximian.com>
* gal-view-collection.c (view_changed): block the signal
that got us here until we're done to stop an infinite
recursion. Fixes 43153.
2003-05-16 Mike Kestner <mkestner@ximian.com>
* e-cell-text.c (invisible_finalize): kill
(ect_stop_editing): destroy the invisible, not weak_unref
(e_cell_text_view_get_invisible): don't weak_ref the invisible
since we own its ref.
2003-05-16 Mike Kestner <mkestner@ximian.com>
* e-table-item.c (eti_event): fix a couple timer checks
* e-tree-table-adapter.c (update_node): Traverse POST order
so that the parent nodes are at the head of the prepended list.
Don't restore expanded state to nodes that aren't in the tree
any longer. Hopefully fixes #42856.
svn path=/trunk/; revision=21229
|
|
|
|
|
|
|
|
|
|
| |
2003-05-16 Jeffrey Stedfast <fejj@ximian.com>
* gal-view-collection.c (load_single_dir): Make sure the
galview.xml file exists before trying to parse it with
xmlParseFile() to avoid warning spewage from libxml2.
svn path=/trunk/; revision=21219
|
|
|
|
|
|
|
|
| |
* gal-view-collection.c (d): Disable debugging messages.
* gal-view-instance.c (d): Disable debugging messages.
svn path=/trunk/; revision=21198
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-15 Jeffrey Stedfast <fejj@ximian.com>
* gal-view-instance.c (save_current_view): Here too.
* gal-view-collection.c (gal_view_collection_save): Use
e_xml_save_file().
svn path=/trunk/; revision=19479
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-13 Chris Toshok <toshok@ximian.com>
* gal-view-collection.[ch]: start porting to GObject.
* gal-view-etable.[ch]: same.
* gal-view-factory-etable.[ch]: same.
* gal-view-factory.[ch]: same.
* gal-view-factory.[ch]: same.
* gal-view-instance.[ch]: same.
* gal-view.[ch]: same.
svn path=/trunk/; revision=18745
|
|
|
|
|
|
| |
merging the gal-2 branch back to the trunk.
svn path=/trunk/; revision=18471
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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-28 Christopher James Lahey <clahey@ximian.com>
* gal-view-collection.c (load_single_file): Check item->type !=
NULL here. Fixes Ximian bug #4668.
svn path=/trunk/; revision=14278
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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-05-28 Federico Mena Quintero <federico@ximian.com>
* gal-view-collection.c (gal_view_collection_add_factory):
Document the fact that this function ref()s the factory and that
people should unref() it after calling the function if they no
longer need the factory object.
(gal_view_collection_display_view): Added preconditions.
(gal_view_collection_set_storage_directories): Likewise.
(gal_view_collection_add_factory): Likewise.
(gal_view_collection_load): Likewise.
(gal_view_collection_save): Likewise.
(gal_view_collection_get_count): Likewise.
(gal_view_collection_get_view): Likewise.
(gal_view_collection_get_view_item): Likewise.
(gal_view_collection_append): Likewise.
(gal_view_collection_delete_view): Likewise.
(gal_view_collection_copy_view): Likewise.
svn path=/trunk/; revision=10044
|
|
|
|
|
|
|
|
|
| |
2001-04-10 Christopher James Lahey <clahey@ximian.com>
* gal-view-collection.c (load_single_file): Translate the title as
we read it.
svn path=/trunk/; revision=9217
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-04 Kjartan Maraas <kmaraas@gnome.org>
* gal-define-views-dialog.h: Fix headers.
* gal-define-views-model.c: Ditto.
* gal-view-collection.c: Ditto.
* gal-view-etable.c: Ditto.
* gal-view-new-dialog.h: Ditto.
svn path=/trunk/; revision=9166
|
|
|
|
|
|
|
|
|
|
| |
2001-04-02 Federico Mena Quintero <federico@ximian.com>
* gal-view-collection.c (load_single_dir): Ahem, free the xmlDoc.
(load_single_dir): Free the filename if we return immediately due
to not being able to parse the file.
svn path=/trunk/; revision=9121
|
|
|
|
|
|
|
|
| |
2001-04-02 Federico Mena Quintero <federico@ximian.com>
* gal-view-collection.c (load_single_dir): Ahem, free the xmlDoc.
svn path=/trunk/; revision=9119
|
|
|
|
|
|
|
|
|
| |
2001-03-05 Christopher James Lahey <clahey@ximian.com>
* gal-view-collection.c, gal-view-collection.h
(gal_view_collection_changed): New changed signal.
svn path=/trunk/; revision=8555
|
|
|
|
|
|
|
|
|
| |
2001-02-06 Christopher James Lahey <clahey@ximian.com>
* gal-view-collection.c (gal_view_collection_save): Create the
local directory when saving if it doesn't exist already.
svn path=/trunk/; revision=8043
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-05 Christopher James Lahey <clahey@helixcode.com>
* gal-view-collection.c: Fixed a number of small bugs in how we
were saving and loading view collections.
* gal-view-etable.c (config_changed): Send the changed signal
properly.
(gal_view_etable_construct): Duplicate the spec's state here.
svn path=/trunk/; revision=7986
|
|
|
|
|
|
|
|
|
| |
2001-01-24 Christopher James Lahey <clahey@helixcode.com>
* gal-view-collection.c (gal_view_collection_get_view_item):
Actually implement this function.
svn path=/trunk/; revision=7774
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-23 Christopher James Lahey <clahey@helixcode.com>
* gal-view-collection.c, gal-view-collection.h: Made
GalViewCollectionItem a public type.
(load_single_file): Made it so that the filename does not get
saved with the directory structure.
(gal_view_collection_get_view_item): Added this function to return
a certain GalViewCollectionItem.
svn path=/trunk/; revision=7773
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-22 Christopher James Lahey <clahey@helixcode.com>
* gal-define-views-dialog.c, gal-define-views-dialog.h
(gal_define_views_dialog_init): Initialize collection field to
NULL. Set the collection on the model as soon as we create it.
(gal_define_views_dialog_new): Add a GalViewCollection argument to
this function. This just makes this dialog a bit easier to use
through the API.
(gal_define_views_dialog_set_arg): When we set the collection, set
it on the dialog->model.
* gal-define-views-model.c, gal-define-views-model.h: Rewrote this
object to use a GalViewCollection to store the information instead
of an array of GalViews.
* gal-view-collection.c, gal-view-collection.h: Added
gal_view_collection_get_count, gal_view_collection_get_view,
gal_view_collection_append, gal_view_collection_delete_view, and
gal_view_collection_copy_view.
(view_changed, load_single_file): Connect to the "changed" signal
on the views.
(load_single_dir): Survive loading if there's no xml file.
* gal-view-etable.c: Implemented get_type_code method.
* gal-view-factory-etable.c: Implemented get_type_code method.
* gal-view.c, gal-view.h: Added gal_view_get_type_code and
"changed" signal.
svn path=/trunk/; revision=7699
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-21 Christopher James Lahey <clahey@helixcode.com>
* gal-define-views-model.c (gdvm_set_value_at): Use the new
gal_view_set_title function.
* gal-view-collection.c, gal-view-collection.h: Implemented this.
Added gal_view_collection_save and gal_view_collection_load.
* gal-view-etable.c: Implemented save, load, and set_title methods
for this class.
* gal-view-factory.c: Implemented gal_view_factory_get_type_code.
* gal-view.c, gal-view.h: Replaced gal_view_save_to_node with
gal_view_save. Replaced gal_view_load_from_node with
gal_view_load. Added gal_view_set_title.
svn path=/trunk/; revision=7676
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-17 Christopher James Lahey <clahey@helixcode.com>
* gal-define-views-dialog.c, gal-define-views-dialog.h: Added a
collection argument to this to set the GalViewCollection.
Connected up the modify, delete, and copy buttons. Documented.
* gal-define-views-model.c, gal-define-views-model.h: Added
gal_define_views_model_get_view,
gal_define_views_model_delete_view, and
gal_define_views_model_copy_view methods. Documented.
* gal-view-collection.c: Documented.
* gal-view-etable.c, gal-view-etable.h: Documented. Implemented
edit and clone methods of GalView. Initialized state to a
non-NULL value. Added a name parameter to gal_view_etable_new.
* gal-view-factory-etable.c: Documented. Added the name argument
to gal_view_etable_new.
* gal-view-factory.c: Fixed the g_return_val_if_fails to check for
GalViewFactory as the type instead of GalView.
* gal-view.c, gal-view.h: Added the clone method.
svn path=/trunk/; revision=7599
|
|
2000-12-06 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added gal-view-collection.c, gal-view-etable.c,
gal-view-factory-etable.c, gal-view-factory.c,
gal-view-collection.h, gal-view-etable.h,
gal-view-factory-etable.h, and gal-view-factory.h.
* gal-define-views-dialog.c, gal-define-views-dialog.h: Rewrote
this to take a GalViewCollection. This now passes its collection
to the new view dialog but still doesn't get its list of views
from the collection.
* gal-define-views-model.c: Changed this to use the gal_view_get_title
function instead of the "title" gtk argument.
* gal-define-views.glade, gal-define-views.glade.h: Changed this
dialog to be a bit cleaner.
* gal-view-collection.c, gal-view-collection.h: A collection of
views and view factories.
* gal-view-etable.c, gal-view-etable.h: An implementation of the
view class. This stores an ETableSpecification and the current
ETableState.
* gal-view-factory-etable.c, gal-view-factory-etable.h: An
implementation of the view factory class. This stores an
ETableSpecification and creates GalViewEtables when requested.
* gal-view-factory.c, gal-view-factory.h: A new virtual class.
Its primary job is to return new GalViews.
* gal-view-new-dialog.c, gal-view-new-dialog.h: Added a collection
argument to the new function here so that it can get a list of
factories to choose from.
* gal-view-new-dialog.glade, gal-view-new-dialog.glade.h: Added a
CList for the list of factories to choose from.
* gal-view.c, gal-view.h: Changed this to be a virtual class.
svn path=/trunk/; revision=6811
|