35 Commits

Author SHA1 Message Date
Tristan Van Berkom
ee495edde6 Updated for 3.0 blockers.
* TODO: Updated for 3.0 blockers.
2006-06-06 18:22:14 +00:00
Tristan Van Berkom
21a488e56d Updated
* TODO: Updated
2006-06-05 04:40:57 +00:00
Tristan Van Berkom
00859f541e Updated
* TODO: Updated

	* doc/gladeui-sections.txt updated

	* src/glade-app.[ch]: Majorly reduced the api, now GladeApp is a
	  singleton. Added "active-project" signal.

	* src/glade-builtins.[ch]: Removed unused variable. Enhanced objects
	  pspec type to recognize interfaces. Added glade_param_spec_objects_get_type()

	* src/glade-clipboard-view.c: Trying a cute border.

	* src/glade-command.c, src/glade-fixed-manager.c,
	  src/glade-placehodler.c, src/glade-popup.c, src/glade-project-view.c,
	  src/glade-project-window.c:
	  Updated for glade-app changes

	* src/glade-editor-property.c: Implemented objects pspec

	* src/glade-editor.[ch]: Added atk tab, added cuteness.

	* src/glade-gtk.c:
	  o Translated image type names
	  o Added button types (translated)
	  o Support for button label & use-underline properties

	* src/glade-parser.c:
	  o Updated for glade-app changes
	  o Added save support for atk actions and relations.

	* src/glade-project.c:
	  o Updated for glade-app changes
	  o Fixed glade_project_fix_object_props for object lists

	* src/glade-property-class.[ch]:
	  o Hardcoded atk relations and action names
	  o Added glade_property_class_make_gvalue(),
	    glade_property_class_get_from_gvalue(),
	    glade_property_class_new_atk_action(),
	    glade_property_class_list_atk_relations(),
	    glade_property_class_atk_realname()
	  o Fixed glade_property_class_is_object()
	    (object lists qualify)

	* src/glade-property.[ch]:
	  o Integrated property load proceedure into glade-property,
	    loading code much cleaner and less redundant.
	    (Added glade_property_read())
	  o Implemented atk properties (save/load)

	* src/glade-utils.[ch]: Added glade_util_read_prop_name(),
	  glade_util_added_in_list(), glade_util_removed_from_list(),
	  glade_util_class_implements_interface()

	* src/glade-widget-class.c: Introspect atk properties

	* src/glade-widget.c: Simplified load code, moved property load
	  code to glade-property, save atk props properly.

	* src/glade.h: Removed the unused atk-relation tag.

	* src/main.c: Load gail (for atk action introspection)

	* src/atk.xpm: New atk icon

	* widgets/gtk+.xml.in:
	  o GtkLabel label property --> translatable
	  o GtkButton label property --> translatable, multi-line
	  o Added GtkButton "type" property and GtkButton remove-child-function
2006-04-24 15:36:45 +00:00
Tristan Van Berkom
eb9d377790 Updated list
* TODO: Updated list

* doc/glade-sections.txt: Updated list

* doc/tmpl/*: updated templates from source

* src/glade-builtins.[ch]: Implemented GladeParamSpecObjects and
  GLADE_TYPE_GLIST boxed type (intended use for AtkRelation properties).

* src/glade-command.c, src/glade-gtk.c: Fixed refcounting for placeholders.
  (updated code for glade_widget_new () also)

* src/glade-project-window.c: Fixed parenthesis in complex statement.

* src/glade-property-class.[ch]:
  o Added support for atk property detection & GladeParamSpecObjects.
  o Added some more logic that belonged here and was in glade-widget-class.c
  o Fixed "make gvalue from object" logic to not leak a reference to a pixbuf
    (it doesnt crash with pixbuf manipulation... not sure if we dont leak pixbufs
    though).

* src/glade-property.c: Simplified code (and fixed limitation of optional properties
  to integer inputs... now any property can be optional).
  Added implicit case to ignore atk_properties

* src/glade-widget-class.c: Deffered some logic to glade-property-class and simplified
  code; also added support for atk properties.
  ATK: Disabled for now, not completely implemented... needs save support in glade-property
  and edit support in GladeEditorProperty... just needed to sync CVS for all the other
	  relevent work.

* src/glade-widget.[ch]: glade_widget_new () takes a boolean query arg now

* src/glade-xml-utils.[ch]: now has glade_xml_load_sym_from_node()
  (it makes sence here because we have access to the xml node structs; so we
  can debug around here a little easier).

* src/glade-editor-property.c: Added prelimenary support for GladeParamSpecObjects
  (readonly view of glade_widget_class_make_string_from_gvalue() ).

* src/glade-fixed-manager.c: Adjusted caller to glade_widget_new().

* src/glade.h: added "atk-relation" tag definition.
2006-02-24 02:04:38 +00:00
Tristan Van Berkom
3463841ce1 Updated the list.
* TODO: Updated the list.

	* src/glade-app.c:
	  - Revamped glade_app_config_save() to report errors smoothly
	    (fixes bug 310141)

	* src/glade-project-window.c: Now the statusbar message shows the
	  correct project name after "Save As...".
2006-02-15 01:12:12 +00:00
Tristan Van Berkom
669b275e94 Updated the list.
* TODO: Updated the list.
2006-02-14 17:56:07 +00:00
Tristan Van Berkom
a0d6e6cbc8 - Added glade_editor_property_commit which fixes bug 329514. - Fixed
* src/glade-editor-property.c:
	    - Added glade_editor_property_commit which fixes bug 329514.
	    - Fixed conflict in sensitivity and enabled for optional properties
	      (noticably, now optionaly defaulted to disabled properties show
	       up insensitive untill you check them).

	* src/glade-project-window.c: Filtered out cut/copy/paste accelerators
	  from the editor window (fixing bug 324389).
2006-02-04 04:03:52 +00:00
Tristan Van Berkom
0e7b970920 Added glade_editor_property_commit which fixes bug 329514.
* src/glade-editor-property.c: Added glade_editor_property_commit which
	  fixes bug 329514.
2006-02-04 03:16:43 +00:00
Tristan Van Berkom
7c6c330f2f Updated (removed bug 317949 from list).
* TODO: Updated (removed bug 317949 from list).

	* src/Makefile.am: Added glade-custom.[ch] to the libgladeui library.

	* src/glade-fixed-manager.c: Fixed comment

	* src/glade-placeholder.c: Removed redundant code

	* src/glade-property.c: Added myself as an author since I rewrote this
	  file as an object.

	* src/glade-custom.[ch]: New files, custom widget derivatives to emulate
	  custom widgets as provided by glade 2 (fixes bug 317949)

	* widgets/gtk+.xml.in: added Custom widgets to the obsolete group.
2006-02-03 19:20:00 +00:00
Tristan Van Berkom
4edd90ef1c Added bug 329514 to blockers.
* TODO: Added bug 329514 to blockers.
2006-02-01 20:50:32 +00:00
Tristan Van Berkom
4fb106daaa Fixed a stupid segfault typicly in strcmp().
* src/glade-project.c: Fixed a stupid segfault typicly
	  in strcmp().

	* TODO: first go at blockers for glade-3 beta release.
2006-01-31 03:27:15 +00:00
Tristan Van Berkom
deef487abd Fixed cvs 2005-09-29 18:13:26 +00:00
Tristan Van Berkom
76a73453b7 Fixing cvs... 2005-09-29 18:12:58 +00:00
Tristan Van Berkom
ca4ca12829 Added note about TODO list not being maintained, please refer to bugzilla
* TODO: Added note about TODO list not being maintained, please
	  refer to bugzilla for evertything :)

	* src/glade-project-window.c: Now uses GtkAboutDialog instead of that
	  lengthly dialog building code.
2005-08-31 20:13:27 +00:00
David Hoover
e3218c5303 mass addition of new gtk-doc-style comments for functions, some cleanup of
2004-09-23  David Hoover <karma@deadmoose.com>
	* src/*.c: mass addition of new gtk-doc-style comments for functions,
	some cleanup of language & formatting in existing comments, minor
	whitespace fixes, etc.

	Slightly revised and committed by terra@gnome.org (Morten Welinder)
2004-10-04 15:45:22 +00:00
Joaquin Cuenca Abela
d647d15f3d Remove the accelerator label.
2004-05-05  Joaquin Cuenca Abela  <e98cuenc@yahoo.com>

	* widgets/gtk-base.xml: Remove the accelerator label.

	* widgets/gtkdialog.xml, gtkmessagedialog.xml, gtkwindow.xml: Remove
	the tooltip property. Now it's only specified in gtk-widget.xml.

	* widgets/gtkwidget.xml: Add a tooltip property.

	* pixmaps/hpaned.png,vpaned.png: swap these two icons.

	* src/glade-gtk.c: Implement glade_gtk_widget_set_tooltip, still not
	finished.

	* src/glade-editor.c: Don't show "invisible" properties.

	* src/glade-property-class.[c,h]: Remove GladePropertyQuery. Now the
	queries are done in glade-gtk.c. Add a glade_property_class_is_visible
	function, that says if a property should be visible in the properties
	editor. The difference with Disabled is that the visible status
	will be checked when the property is added to the editor (and thus
	the check is done against the real GladeWidgetClass, say "GtkLabel")
	and Disabled is checked at the creation of GladePropertyQuery
	(and thus the check is done with a possibly abstract GladeWidgetClass,
	as "GtkWidget"). In addition, "Visible" specify a function that
	returns true or false in function of the GladeWidgetClass passed.
	That way implementing "tooltips" property becomes much less cumbersome.

	* src/glade-project.[c,h]: Add a GtkTooltips to the project.

	* src/glade_plugin.def: Add to two new functions to be used by glade-gtk.c
2004-05-06 06:19:25 +00:00
Joaquin Cuenca Abela
2a7f287d38 write properties that have a default value of NULL. micro-manage the new
2004-03-09  Joaquin Cuenca Abela  <e98cuenc@yahoo.com>

	* src/glade-property.c (glade_property_write): write properties that
	have a default value of NULL.
	* src/glade-project.c: micro-manage the new names of widgets. As soon
	as a new slot is available (for instance, if you change the name
	of button3, then button3 becomes available) its used for a new
	widget.
	* src/glade-project.c (glade_project_dispose, glade_project_finalize):
	implement dispose and finalize methods for GladeProject.
	* src/glade-id-allocator.[ch]: code to manage the ids availables for
	widgets. Code from Owen Taylor.
2004-03-09 21:17:33 +00:00
Paolo Borelli
24fd07c839 Implement the selector button and label in the palette. 2003-11-28 16:45:14 +00:00
Paolo Borelli
c95c7abefc One more TODO item... 2003-11-14 18:04:33 +00:00
Paolo Borelli
087ec185ca Update TODO. 2003-11-14 17:41:12 +00:00
Joaquín Cuenca Abela
7992d8f6cd update the TODO list 2003-10-04 11:27:29 +00:00
Paolo Borelli
6b13c07fdb Update TODO 2003-08-26 11:36:39 +00:00
Joaquín Cuenca Abela
34946d9a7b Implementation of set & get of gunichar GValues.
Fixes save & load of projects.
Unicode fixes.
2002-04-11 08:01:45 +00:00
Archit Baweja
bece818d6c Undo/Redo system in place. Some bug fixes.
* Undo/Redo system in place.
* Some bug fixes.
2002-03-31 17:44:15 +00:00
Chema Celorio
a70b7edb58 don't unref the cell nor the column. Thanks jacob@ximian.com
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.
2001-09-04 04:43:56 +00:00
Archit Baweja
5d60905465 Tooltips added. 2001-08-18 19:20:59 +00:00
Chema Celorio
8b9ec7363e try to fix gettext support. Duno why translations are not working. Feel
2001-08-11  Chema Celorio  <chema@celorio.com>

	* src/glade.h: try to fix gettext support. Duno why translations are not
	working. Feel free to fix it ;-).

	* src/glade-widget.c (glade_property_refresh): implement
	(glade_widget_new): clean widget creation
	(glade_widget_new_full): ditto
	(glade_widget_get_from_gtk_widget): ditto
	(glade_widget_apply_property_from_node): impl.
	(glade_widget_new_from_node): impl.

	* src/glade-property.c : port to GValue
	* src/glade-property.h: ditto

	* src/glade-property-class.c : port to GValue
	* src/glade-property-class.h : ditto

	* src/glade-project.c (glade_project_new_from_node): implement.
	(glade_project_open_from_file): implement.
	(glade_project_open): implemnt.

	* src/glade-project-view.h (struct _GladeProjectViewClass): add a
	selection_update signal.

	* src/glade-project-view.c (glade_project_view_populate_model_real): add a
	add_childs parameter
	(glade_project_view_selection_update): implment (not yet working)

	* src/glade-parameter.c (glade_parameter_adjustment_new): port to GValue

	* src/glade-palette.c (glade_palette_clear): impl.

	* src/glade-gtk.c: port to GValue from string
	(glade_gtk_box_set_size): impl.

	* src/glade-editor.c (glade_editor_property_changed_*): use g_property_set_foo
	rather than g_property_changed_foo.
	port to GValues from string

	* src/glade-choice.c (glade_choice_list_new_from_node): use _TAG_ENUM and
	not _CHOICES

	* src/glade-catalog.c: remove <config.h>

	* src/Makefile.am (SUBDIRS): remove tests
2001-08-12 02:48:55 +00:00
Chema Celorio
b2a8539ccb add a temp hack to set the properties. (glade_property_get): ditto to get
2001-08-07  Chema Celorio  <chema@celorio.com>

	* src/glade-widget.c (glade_widget_property_changed_cb): add a temp hack to set
	the properties.
	(glade_property_get): ditto to get the properties from a widget.
	(glade_widget_toplevel_delete_event_cb): handle the delete event for toplevels
	(glade_widget_connect_other_signals): impl.

	* src/glade-property.c (glade_property_get_type): glade property is now an object
	and emits a changed signal.

	* src/glade-property-class.c (glade_property_class_new_from_node): load before
	deciding if this prop will be loading with paramspec

	* src/glade-project-view.c (glade_project_view_button_press_cb): implement.
	Double clicking on a widget on the list gtk_widget_show's it.

	* src/glade-gtk.c (glade_gtk_entry_set_text): preserve the cursor position.

	* src/glade-editor.c (glade_editor_property_connect_signals): impl.
	(glade_editor_property_changed_cb): impl.

	* src/glade-property.h: add -> loading

	* src/glade-editor.h (struct _GladeEditorTable): remove ->loading

	* src/glade-editor.c (glade_editor_property_load_text): when loading text
	preserve the cursor position.
	* src/glade-editor.c : use property->loading and not property->property->loading
2001-08-07 06:04:40 +00:00
Chema Celorio
550709b279 implement, new file.
2001-07-22  Chema Celorio  <chema@celorio.com>

	* src/glade-utils.c (glade_util_path_is_writable): implement, new file.

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

	* src/glade-widget.c (glade_widget_write): add content.

	* src/glade-xml-utils.c (glade_xml_set_value): fix a lot of the broken issues.
	Don't confuse properties for node content. Use GladeXmlNode as API entry.
	Lots of small new functions, lots of cleanup.
2001-07-22 07:24:51 +00:00
Chema Celorio
9f649f5b68 impl. (glade_widget_connect_edit_signals): impl.
2001-07-16  Chema Celorio  <chema@celorio.com>

	* src/glade-widget.c (glade_widget_connect_edit_signals_with_class): impl.
	(glade_widget_connect_edit_signals): impl.

	* src/glade-property-class.h: add ->update_signals and ->get_function

	* src/glade-property-class.c (glade_xml_read_list): implement. Keep here for now
	but should go into xml utils.

	* src/glade-gtk.c (glade_gtk_get_set_function_hack): implement.
2001-07-16 07:38:55 +00:00
Chema Celorio
9f2a507b76 implement. (glade_gtk_option_menu_set_items): impl.
001-07-10  Chema Celorio  <chema@celorio.com>

	* src/glade-gtk.c (glade_gtk_entry_set_text): implement.
	(glade_gtk_option_menu_set_items): impl.
	(glade_gtk_progress_bar_set_format): impl.

	* src/glade-editor.c (glade_editor_property_changed_text_view): implement.
	We can now use entries or GtkTextView for text properties

2001-07-09  Chema Celorio  <chema@celorio.com>

	* widgets/*.xml: add props to several widgets

	* src/glade-placeholder.c (glade_placeholder_add): handle GtkHandleBox too

	* src/glade-widget-class.c (glade_widget_class_add_virtual_methods): handle
	GtkFrame too

	* src/glade-editor.c (glade_editor_property_changed_numeric): remove
	g_print's

	* src/glade-property-class.c (glade_property_get_parameters_text): imlement
	(glade_property_class_get_parameters_from_spec): and use here. We now load
	default text values.

	* widgets/gtkprogressbar.xml: add "text" which is the format

	* src/glade-project-window.c (glade_project_window_query_properties): set
	the default response
2001-07-11 04:34:59 +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
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
Jose Maria Celorio
dc4dfdf188 Initial revision 2001-06-19 03:29:28 +00:00