336 Commits

Author SHA1 Message Date
Chema Celorio
f25dd18f8f check if g_module_supported is TRUE in here, if it isn't there is no point
2001-07-09  Chema Celorio  <chema@celorio.com>

	* src/main.c (glade_init): check if g_module_supported is TRUE
	in here, if it isn't there is no point in running glade2

	* src/glade.h (GLADE_TAG_SET_FUNCTION): add the new tags beeing
	used in the .xml files

	* src/glade-xml-utils.c (glade_xml_get_boolean): accept
	"TRUE" and "FALSE" as valid (before only "True" & "False")

	* src/glade-widget.c (glade_widget_button_press): return FLASE
	so that the emision continues (fixes clicking over items)
	(glade_widget_button_release): ditto

	* src/glade-widget-class.h: add the spec function prototypes

	* src/glade-widget-class.c (glade_widget_class_get_specs): move
	here from glade_propery_class.
	(glade_widget_class_find_spec): ditto
	(glade_widget_class_dump_param_specs): implement

	* src/glade-property.h: add the headers for the _double functions

	* src/glade-property.c (glade_property_new_from_string): handle
	double type
	(glade_property_changed_double): implement
	(glade_property_get_double): impl.

	* src/glade-property-class.h: add _TYPE_DOUBLE and _TYPE_OBJECT
	remove class->gtk_arg add class->id. Fixed the code all over
	to use ->id and ->name correctly.
	- add children for child objects and set_function to set properties
	that gtk is not exposing

	* src/glade-property-class.c: add frames for handling _TYPE_OBJECT
	no content tho
	(glade_property_get_parameter_numeric_default):
	(glade_property_get_parameter_numeric_min):
	(glade_property_get_parameter_numeric_max): impl.
	(glade_property_get_parameters_numeric): clean
	(glade_property_class_get_set_function): implement but not use yet
	cause I could not get it to work. Use glade_gtk_get_set_function_hack
	for now.
	(glade_property_class_new_from_node): change to reflect new changes
	in .xml format

	* src/glade-project-window.c (glade_project_window_query_properties):
	use ->id and not ->name

	* src/glade-placeholder.c (glade_placeholder_add): s/Size/size
	s/Rows/rows since we use class->id and not class->name

	* src/glade-parameter.c (glade_parameter_adjustment_new): make
	the increment 1 so that integers can be changed if the increment
	is not specified

	* src/glade-palette.c (glade_palette_init): set the policy of the
	pallete (which is a gtkwindow)

	* src/glade-editor.h: add GladeEditorNumericType to share functions
	that interact with numbers

	* src/glade-editor.c (glade_editor_property_changed_numeric): handle
	integers, floats and doubles. rename from _changed_integer
	(glade_editor_create_input): handle double
	(glade_editor_property_load_double): impl.

	* src/Makefile.am: add glade-gtk.[ch]

	* src/glade-property-class.c (glade_property_class_get_set_function):
	implement

	* widgets/gtk*.xml: clean lots of files, changed the format it is now
	a lot better.

	* src/glade-gtk.c (glade_gtk_entry_set_text): implement
	(glade_gtk_get_set_function_hack): implement a temp hack to find
	function pointers at run time, i could not make gmodule work.
2001-07-09 07:16:00 +00:00
Jose Maria Celorio
3358ff35f3 forgot a couple of files 2001-07-05 08:00:21 +00:00
Jose Maria Celorio
f97e472f79 add the file for the option menu 2001-07-05 07:58:38 +00:00
Chema Celorio
23d23196d9 Add more widget and clean others
2001-07-05  Chema Celorio  <chema@celorio.com>

	* src/glade-property-class.c (glade_property_get_parameters_integer):
	G_IS_PARAM_SPEC_UINT is also valid
	(glade_property_class_get_type_from_spec): add UINT to the case

	* src/glade-widget-class.c (glade_widget_class_create_pixmap): use
	->generic_name now

	* src/glade-widget-class.h: remove ->icon it was redundant with
	->generic_name, use ->generic_name to load icons
2001-07-05 07:34:34 +00:00
Jose Maria Celorio
39d693d0f9 forgot a couple of files 2001-07-04 05:45:31 +00:00
Jose Maria Celorio
b6b2c5fc02 more widget files, but no content yet 2001-07-04 05:44:11 +00:00
Chema Celorio
df83a51fe0 a lot of cleaning, added new files and converted old .xml files to use
2001-07-04  Chema Celorio  <chema@celorio.com>

	* widgets/gtk*.xml: a lot of cleaning, added new files and converted old .xml
	files to use ParamSpec.

	* src/glade-property-class.c (glade_property_class_find_spec): dump the specs (temp)
2001-07-04 05:22:34 +00:00
Jose Maria Celorio
4c3303d349 forgot this file 2001-07-03 05:14:40 +00:00
Chema Celorio
9ad326de87 add function names buts still with no content
2001-07-02  Chema Celorio  <chema@celorio.com>

	* src/glade-project-window.c (gpw_copy_cb): add function names buts still with no content

	* src/glade-placeholder.c (glade_placeholder_replace_widget): when adding a widget
	set the selection to that widget.

2001-07-01  Shane Butler  <shane_b@users.sourceforge.net>

 	* src/glade-widget-class.c (glade_widget_class_list_signals): use
 	class->type to avoid duplication etc
 	* src/glade-signals-editor.[ch]: moved lots of functionality into smaller
 	functions, fixed bugs etc.
2001-07-03 00:43:28 +00:00
Jose Maria Celorio
513a285a01 more work. I'll start writing ChangeLog entries from now on 2001-07-02 19:03:30 +00:00
Ravi Pratap
9de1c2aff5 Include string.h
2001-06-28  Ravi Pratap  <ravi@che.iitm.ac.in>

	* src/glade-project.c : Include string.h

	* src/glade-parameter.c : Ditto

	* src/glade-widget-class.c : Ditto

	* src/glade-placeholder.c : Ditto

	* src/glade-property.c : Ditto

	* src/glade-xml-utils.c : Ditto

	* src/glade-editor.c : Ditto

	* src/glade-choice.c : Ditto
2001-06-30 12:20:00 +00:00
Jose Maria Celorio
cc9dfb4d7c sync 2001-06-29 05:52:09 +00:00
Jose Maria Celorio
d79f12694d compiles and works again 2001-06-29 04:21:37 +00:00
Jose Maria Celorio
1780265b6a new files 2001-06-28 19:41:57 +00:00
Jose Maria Celorio
2ddbeeb959 add patches from SHANE BUTLER that implement the signal editor.
other Fixety fixes
2001-06-28 19:41:07 +00:00
Jose Maria Celorio
1780b6f6be f 2001-06-28 03:41:16 +00:00
Jose Maria Celorio
1226e75eee fixes from Michal 2001-06-27 20:04:03 +00:00
Jose Maria Celorio
76dfd6b193 f 2001-06-27 07:17:26 +00:00
Jose Maria Celorio
b2eae650bd fixety fix 2001-06-27 07:15:35 +00:00
Jose Maria Celorio
a85791a32e dipididup 2001-06-27 07:06:01 +00:00
Carlos Perelló Marín
eedd7ec1f3 Added glade2.desktop.in
2001-06-26  Carlos Perelló Marín <carlos@gnome-db.org>

	* POTFILES.in: Added glade2.desktop.in
2001-06-26 22:26:10 +00:00
Carlos Perelló Marín
44d47db0ae Removed, are generated files. Changed the previous date entry to the
2001-06-27  Carlos Perelló Marín <carlos@gnome-db.org>

        * missing, mkinstalldirs: Removed, are generated files.
        * ChangeLog: Changed the previous date entry to the Gnome's standar one.

2001-06-26  Carlos Perelló Marín <carlos@gnome-db.org>

        * glade2.pot, cat-id-tbl.c, stamp-cat-id: Removed,
        Are generated files.
        * ChangeLog: Removed gettext generated entries.
2001-06-26 22:14:33 +00:00
Jose Maria Celorio
f5644eb498 lots of work. Selection is starting to work now 2001-06-25 07:07:05 +00:00
Jonathan Blandford
814cb1f442 make compile with new glib. include <string.h>
Thu Jun 21 01:30:57 2001  Jonathan Blandford  <jrb@webwynk.net>

	* src/glade-property-class.c (glade_property_class_get_specs):
	make compile with new glib.  include <string.h>
2001-06-21 05:31:46 +00:00
Jose Maria Celorio
07dee3718f more work on GParamStuff,
i'll start writing ChangeLogs when it starts getting close to beeing complete
2001-06-21 03:24:48 +00:00
Jose Maria Celorio
59be078300 *** empty log message *** 2001-06-20 02:21:47 +00:00
Jose Maria Celorio
9eb7365706 start using the GParamSpec stuff 2001-06-20 02:21:15 +00:00
Jose Maria Celorio
c1099c2a9d *** empty log message *** 2001-06-19 05:44:54 +00:00
Jose Maria Celorio
fc8c43de9e bump versions 2001-06-19 05:44:19 +00:00
Jose Maria Celorio
c15c3023d4 sigh 2001-06-19 04:56:49 +00:00
Jose Maria Celorio
4bc3969998 shh 2001-06-19 04:55:49 +00:00
Jose Maria Celorio
1ba61a428f hmm 2001-06-19 03:41:46 +00:00
Jose Maria Celorio
ea27bbd10b *** empty log message *** 2001-06-19 03:36:46 +00:00
Jose Maria Celorio
93469bfb88 dip 2001-06-19 03:33:49 +00:00
Jose Maria Celorio
69f00de0e2 dupididup initial-tag 2001-06-19 03:29:28 +00:00
Jose Maria Celorio
dc4dfdf188 Initial revision 2001-06-19 03:29:28 +00:00