1. 03 Dec, 2001 1 commit
    • Carlos Perell Marn's avatar
      Added CATALOG_DIR to store catalogs Added to load several catalogs from · 633fd1cd
      Carlos Perell Marn authored
      2001-12-02  Carlos Perell Marn <carlos@gnome-db.org>
      
      	* acconfig.h, configure.in: Added CATALOG_DIR to store catalogs
      	* src/glade-catalog.* (glade_catalog_load_all): Added to load
      	several catalogs from $prefix/share/glade/catalog/*.xml. It calls
      	the old glade_catalog_load with a new arg which is the catalog
      	file name.
      	* src/glade-catalog.h: Added the title gchar* to store the title
      	for this catalog.
      	* src/glade-palette.h: Added a notebook at GladePalette object.
      	* src/glade-palette.c (glade_palette_init): We create a notebook
      	to store several catalogs.
      	* src/glade-palette.c (glade_palette_create): Really ugly hack that
      	needs to be FIXED when we finish glade2 functionality. Sorry, it's a
      	fast hack that works.
      	* src/glade-palette.c (on_palette_button_toggled): Implemented, we
      	change the notebook page.
      	* src/glade-project-window.*:
      	* src/main.c: Instead of GladeCatalog we have now a list (GList) of
      	GladeCatalog.
      	* widgets/gtkmenubar.xml: Added some default values.
      	* widgets/gtk-base.xml: Added. It has the catalog for gtk2 base.
      	* widgets/gtk-additional.xml: Added. It has the catalog for gtk2
      	additional.
      	* widgets/catalog.xml: Removed, now we have several catalogs.
      633fd1cd
  2. 02 Dec, 2001 2 commits
    • Carlos Perell Marn's avatar
      It does not need placeholder. · a9f1711c
      Carlos Perell Marn authored
      2001-12-02  Carlos Perell Marn <carlos@gnome-db.org>
      
      	* widgets/gtkinputdialog.xml: It does not need placeholder.
      a9f1711c
    • Jose Maria Celorio's avatar
      by shane butler : · 94c0aa76
      Jose Maria Celorio authored
             * src/glade-signal-editor.c (glade_signal_editor_list_select_cb):
             Updated to reflect GTK+ api changes.
             * src/glade-signal-editor.c (glade_signal_editor_dialog_list_select_cb):
             Updated to reflect GTK+ api changes.
      94c0aa76
  3. 01 Dec, 2001 1 commit
    • Carlos Perell Marn's avatar
      Added to resize the gtkmessagedialog widget. Added the TRUE && FALSE · ada7407f
      Carlos Perell Marn authored
      2001-12-01  Carlos Perell Marn <carlos@gnome-db.org>
      
      	* src/glade-gtk.c (glade_gtk_message_dialog_post_create): Added to
      	resize the gtkmessagedialog widget.
      	* src/glade-xml-utils.c: Added the TRUE && FALSE values that libglade
      	use (yes/no).
      	* widgets/gtkfileselection.xml: Fixed. It's a top level widget.
      	* widgets/gtkmessagedialog.xml: Updated with defaults.
      ada7407f
  4. 29 Nov, 2001 1 commit
  5. 28 Nov, 2001 2 commits
    • Carlos Perell Marn's avatar
      Implemented. Now calls to glade_placeholder_add to share some code. Fixed · 6a21601f
      Carlos Perell Marn authored
      2001-11-28  Carlos Perell Marn <carlos@gnome-db.org>
      
      	* src/glade-placeholder.c (glade_placeholder_add): Implemented.
      	* src/glade-placeholder.c (glade_placeholder_add_with_result): Now
      	calls to glade_placeholder_add to share some code.
      	* src/glade-widget.c (glade_widget_new_from_node_real): Fixed a bug
      	that didn't add a placeholder when we load a top level widget from a
      	.glade file without a child inside it.
      6a21601f
    • Carlos Perell Marn's avatar
      Implemented the GLADE_PROPERTY_TYPE_ENUM. ditto. Now it seems that · bea64875
      Carlos Perell Marn authored
      2001-11-28  Carlos Perell Marn <carlos@gnome-db.org>
      
      	* src/glade-property-class.c
      	(glade_property_class_make_gvalue_from_string): Implemented the
      	GLADE_PROPERTY_TYPE_ENUM.
      	* src/glade-property.c (glade_property_set): ditto.
      	* Now it seems that loads/saves all data ;-)
      bea64875
  6. 26 Nov, 2001 1 commit
  7. 24 Nov, 2001 1 commit
  8. 23 Nov, 2001 1 commit
    • Carlos Perell Marn's avatar
      Fixed the API change, G_PARAM_SPEC_TYPE (spec) can not be used in a switch · 76f3580b
      Carlos Perell Marn authored
      2001-11-23  Carlos Perelló Marín <carlos@gnome-db.org>
      
      	* src/glade-property-class.c (glade_property_class_get_type_from_spec):
      	Fixed the API change, G_PARAM_SPEC_TYPE (spec) can not be used in
      	a switch any more, so we change it to if (...) {} else {}...
      	This fix the compile problem, but I think that we have to search for
      	other change that mades glade2 unuseful :-( (or that this patch is
      	not a good patch...).
      76f3580b
  9. 21 Nov, 2001 3 commits
    • Carlos Perell Marn's avatar
      We need now latest gtk2 version. · d819d447
      Carlos Perell Marn authored
      2001-11-21  Carlos Perell Marn <carlos@gnome-db.org>
      
      	* configure.in: We need now latest gtk2 version.
      d819d447
    • Carlos Perell Marn's avatar
      Changed GETTEXT_PACKAGE from glade-2.0 to glade-2 · 970f1a8f
      Carlos Perell Marn authored
      2001-11-21  Carlos Perell Marn <carlos@gnome-db.org>
      
              * configure.in: Changed GETTEXT_PACKAGE from glade-2.0 to glade-2
      970f1a8f
    • Carlos Perell Marn's avatar
      Ignored the ParamSpec "name". We should solve this problem with a better · 7b58ce88
      Carlos Perell Marn authored
      2001-11-21  Carlos Perell Marn <carlos@gnome-db.org>
      
              * src/glade-property-class.c (glade_property_class_get_type_from_spec):
              Ignored the ParamSpec "name". We should solve this problem with a
              better solution. The problem is that at .xml file we don't have
              a property "name" we have it outside the Property section.
      
      2001-11-20  Carlos Perell Marn <carlos@gnome-db.org>
      
              * src/glade-property-class.*
              (glade_property_class_make_string_from_gvalue): Implemented the ENUM
              type. We have change the first arg to get a GladePropertyClass instead
              a GladePropertyType to do it.
              (glade_property_class_make_gvalue_from_string): ditto.
      
      2001-11-16  Carlos Perell Marn <carlos@gnome-db.org>
      
              * src/glade-project-view.c (glade_project_view_button_press_cb): Fixed
              the gtk_tree_view_get_path_at_pos API change.
              * src/glade-property-class.c: /s/g_param_get_nick/g_param_spec_get_nick/        /s/g_param_get_blurb/g_param_spec_get_blurb/ to fix an API change.
              * pixmaps/*.xpm: Added lot of pixmaps from glade1
              * src/glade-gtk.c, src/glade-placeholder.c: Started the GtkDialog
              support.
      
      2001-11-11  Carlos Perell Marn <carlos@gnome-db.org>
      
              * src/glade-property-class.* (glade_property_class_list_properties):
              Added this function, it returns a GList of properties from GParamSpec.
              * src/glade-property-class.* (glade_property_class_list_new_from_node):
              Renamed to glade_property_class_list_add_from_node. It gets a GList like        the glade_property_class_list_properties one and add the defaults &&
              new properties from .xml files.
              * src/glade-widget-clas.* (glade_widget_class_get_specs): Changed as a
              public function, we need it at glade-property-class.c
      
      2001-11-07  Carlos Perell Marn <carlos@gnome-db.org>
      
              * pixmaps/custom.xpm: Added the custom pixmap to put it as the default
              one if a widget has not a pixmap.
              * src/glade-widget-class.c (glade_widget_class_create_pixmap): If we
              don't find the pixmap for one widget, we use the default one.
              * widgets/*.xml: Added all the remain gtk widgets but the deprecated
              ones, we should start adding support for all those widgets.
      7b58ce88
  10. 12 Nov, 2001 1 commit
  11. 09 Nov, 2001 1 commit
  12. 04 Nov, 2001 4 commits
  13. 01 Nov, 2001 3 commits
    • Carlos Perell Marn's avatar
      Updated Spanish translation. · a5158553
      Carlos Perell Marn authored
      2001-11-01  Carlos Perell Marn <carlos@gnome-db.org>
      
      	* es.po: Updated Spanish translation.
      a5158553
    • Carlos Perell Marn's avatar
      drop the 2 from the package name, and set GETTEXT_PACKAGE add · f5171b85
      Carlos Perell Marn authored
      2001-11-01  Carlos Perell Marn <carlos@gnome-db.org>
      
      	* configure.in: drop the 2 from the package name, and set
      	GETTEXT_PACKAGE
      	* acconfig.h: add GETTEXT_PACKAGE
      	* src/main.c: modified the gettext args to use GETTEXT_PACKAGE
      f5171b85
    • Carlos Perell Marn's avatar
      Added those new functions to remove/fill all widget's placeholders. · e6f0347c
      Carlos Perell Marn authored
      2001-10-31  Carlos Perell Marn <carlos@gnome-db.org>
      
      	* src/glade-placeholder.[ch] (glade_placeholder_remove_all):
      	* src/glade-placeholder.[ch] (glade_placeholder_fill_empty): Added
      	those new functions to remove/fill all widget's placeholders.
      	* src/glade-gtk.c (glade_gtk_table_set_n_common):
      	* src/glade-gtk.c (glade_gtk_box_set_size): Modified to remove all
      	placeholders, modify the widget and then fill all the empty childs
      	with placeholders using glade_placeholder_remove_all &&
      	glade_placeholder_fill_empty.
      	* src/glade-packing.[ch] (glade_packing_table_get_child_at): We need it
      	as no static function for the glade_placeholder_fill_empty function
      e6f0347c
  14. 20 Oct, 2001 2 commits
  15. 13 Oct, 2001 1 commit
  16. 05 Oct, 2001 1 commit
    • Michael Meeks's avatar
      use cell_render_text, text_pixbuf seems to have vanished. · 6196ba93
      Michael Meeks authored
      2001-10-06  Michael Meeks  <michael@ximian.com>
      
      	* src/glade-project-view.c (glade_project_view_create_widget):
      	use cell_render_text, text_pixbuf seems to have vanished.
      	(glade_project_view_cell_function): don't set a pixbuf on the
      	items, sadly.
      
      	* src/glade-property-class.c
      	(glade_property_class_load_from_param_spec): upd. for new
      	g_param_ accessors.
      6196ba93
  17. 29 Sep, 2001 1 commit
  18. 23 Sep, 2001 3 commits
  19. 22 Sep, 2001 1 commit
  20. 19 Sep, 2001 2 commits
  21. 10 Sep, 2001 1 commit
  22. 04 Sep, 2001 1 commit
    • Chema Celorio's avatar
      don't unref the cell nor the column. Thanks jacob@ximian.com · a70b7edb
      Chema Celorio authored
      2001-09-03  Chema Celorio  <chema@celorio.com>
      
      	* src/glade-project-view.c (glade_project_view_create_widget): don't unref the cell nor
      	the column. Thanks jacob@ximian.com
      
      2001-09-03  Chema Celorio  <chema@celorio.com>
      
      	* src/glade.h: add new xml tags
      
      	* src/glade-xml-utils.h: standarize a lot of the calls to xml-utils and rename all the
      	calling funcitions to the new names
      
      	* src/glade-widget.c (glade_widget_new): add a project parameter needed for loading
      	objects.
      	(glade_widget_create_gtk_widget): only call the widget resize when the object is an
      	actual widget (v.s. beeing an object like a gtkadjustment)
      
      	* src/glade-widget-class.c (glade_widget_class_set_type): call get_type_from_name
      	and move the code to get the type there
      	(glade_widget_class_load_packing_properties_from_node): impl.
      	(glade_widget_class_load_packing_properties): impl.
      
      	* src/glade-utils.c (glade_util_get_type_from_name): move here
      
      	* src/glade-property.c (glade_property_new_from_class): set property->child for
      	type = _TYPE_OBJECT
      	(glade_property_set_enum): s/choice/enum
      
      	* src/glade-packing.c (glade_packing_add_properties_from_list): add packing
      	properties too
      	(glade_packing_property_get_from_class): impl.
      
      	* src/glade-gtk.c (glade_gtk_button_set_stock): implement stock buttons
      
      	* src/glade-editor.c (glade_editor_property_changed_enum): s/choice/enum
      
      	* src/glade-choice.c (glade_enum_from_string): add a temp entry
      	for gtk-ok, glade-none and gtk-cancel.
      	(glade_choice_list_new_from_node): change the XML tag name to ENUMS
      	from CHOICE
      
      	* src/glade-catalog.h: add prototype for glade_catalog_get
      
      	* src/glade-catalog.c (glade_catalog_get): impl.
      	(glade_catalog_load): after loading all the widgets load the
      	packing properties.
      a70b7edb
  23. 02 Sep, 2001 1 commit
    • Carlos Perell Marn's avatar
      Modified to use the new GNOME 2.0 config stuff. Removed a dup "#include · 5edecc74
      Carlos Perell Marn authored
      2001-08-29  Carlos Perelló Marín <carlos@gnome-db.org>
      
      	* autogen.sh:
      	* configure.in:
      	* Makefile.am: Modified to use the new GNOME 2.0 config stuff.
      	* src/glade.h: Removed a dup "#include <libintl.h>"
      	* src/main.c: Moved the NLS stuff to be the first at main()
      	and added setlocale (LC_ALL, ""); before the bindtextdomain call
      	Now the l10n works!!!! Thanks Martin for your comments ;-)
      	* src/Makefile.am: popt is checked at configure.in
      5edecc74
  24. 29 Aug, 2001 2 commits
  25. 28 Aug, 2001 1 commit
    • Chema Celorio's avatar
      rewrite (glade_placeholder_is): impl. · fda4f89e
      Chema Celorio authored
      2001-08-28  Chema Celorio  <chema@celorio.com>
      
      	* src/glade-placeholder.c (glade_placeholder_add_with_result): rewrite
      	(glade_placeholder_is): impl.
      
      	* src/glade-widget-class.c (glade_widget_class_is): impl.
      
      	* src/glade-placeholder.c (glade_placeholder_new): set the parent
      	as a data (not user) member. Also set True so that we can use :
      
      	* src/glade-packing.c (glade_packing_table_get_child_at): implement.
      	(glade_packing_table_child_has_span): impl.
      	(glade_packing_table_cell_common_set): impl.
      	(glade_packing_table_cell_x_set): impl.
      	(glade_packing_table_cell_y_set): impl.
      	(glade_packing_table_span_common_set): impl.
      	(glade_packing_table_span_x_set): impl.
      	(glade_packing_table_span_y_set): impl.
      
      	* src/glade-gtk.c (glade_gtk_table_get_n_rows): disable
      	(glade_gtk_table_get_n_columns): ditto
      	(glade_gtk_table_set_n_common): use for both x & y. Add
      	support for childs that have spans.
      	(glade_gtk_table_set_n_rows): call _n_common
      	(glade_gtk_table_set_n_columns): call _n_common
      	(glade_gtk_table_post_create): implement
      fda4f89e
  26. 24 Aug, 2001 1 commit
    • Chema Celorio's avatar
      implement. · bc19b3fb
      Chema Celorio authored
      2001-08-24  Chema Celorio  <chema@celorio.com>
      
      	* src/glade-gtk.c (glade_gtk_table_get_n_rows):
      	(glade_gtk_table_get_n_columns):
      	(glade_gtk_table_set_n_rows):
      	(glade_gtk_table_set_n_columns): implement.
      bc19b3fb