60 Commits

Author SHA1 Message Date
Tristan Van Berkom
ecabb87545 * Whole tree updated to remove all notion of project conversions and dual project formats,
no more libglade.
2010-12-30 01:15:19 +09:00
Tristan Van Berkom
ecd008f282 * gladeui/glade-utils.c: Fix selection code (and removed lots of lines in doing so) 2010-12-23 22:50:37 +09:00
Tristan Van Berkom
a84bfad013 Merge branch 'master' into offscreen-gtk3
Conflicts:
	ChangeLog
	gladeui/Makefile.am
	gladeui/glade-widget.c
2010-12-22 18:07:18 +09:00
Tristan Van Berkom
3f04cb3e4d * gladeui/glade-project.c: Added "parse-began" signal
* gladeui/glade-design-view.c: Hide workspace and show load progress
	  while loading so that one cannot access project widgets during the load
	  (insensitive workspace was problematic and causing some loaded project
	  windows to be permanently insensitive).

	* src/glade-window.c: Avoid any messups during project load, cannot close
	  projects while they are loading, etc.
2010-12-22 17:14:52 +09:00
Tristan Van Berkom
45d30477f0 * gladeui/glade-app.[ch]: Added glade_app_queue_selection_changed()
* gladeui/glade-command.c: queue selection changes when widgets are added, this
	  avoids synchrounously poking the model when the selection changes various times
	  in a command sequence such as changing a menu item's type.

	* gladeui/glade-base-editor.c: Dont call glade_command_create/delete() directly
	  in change-type, keep delegating this work to build-child/delete-child signals.

	* gladeui/glade-widget.[ch]: Added glade_widget_is_ancestor()

	* gladeui/glade-utils.c: Change glade_util_find_iter_by_widget() to use
	  glade_widget_is_ancestor() and speed up searches a little this way.
2010-12-17 17:31:32 +09:00
Tristan Van Berkom
3f48dfac3c * plugins/gtk+/glade-gtk.c: Make sure any manually created glade widgets pass
through glade_widget_add_child() and get a proper ref from the parent (fixing
	  more last minute crahsers).

	* gladeui/glade-utils.c: Fixed crasher bug 628233 partially using patch by
	  ramz <ramanathan.nitt@gmail.com>.
2010-12-16 00:34:18 +09:00
Javier Jardón
38f0171103 Use GSourceFunc instead GtkFunction 2010-11-16 19:24:12 +01:00
Johannes Schmid
07d1583f04 gladeui: Move remaining placeholder drawing code to cairo
gdk_window_set_back_pixmap is still missing and has to be implemented in cairo somehow
2010-11-15 15:48:45 +01:00
Johannes Schmid
0f2ff4d680 Initial gtk+ 3.0 port (compiles but doesn't work) 2010-11-05 15:56:13 +01:00
Juan Pablo Ugarte
53797de6b5 Fixed compitation for gtk+-3.0 2010-09-19 17:24:04 -03:00
Tristan Van Berkom
003833ae17 Changes for GTK+ 3.0 cleanup
- Added convenience glade_utils_cairo_draw_[line/rectangle] to cover
   parts where the gdk drawing api is removed.
 - use gdk_pixbuf_new_from_xpm_data()/gdk_pixbuf_render_pixmap_and_mask()
   instead of the removed gdk_pixmap_new_from_xpm_d().
2010-08-16 20:02:53 -04:00
Tristan Van Berkom
9240c83ddd * configure.ac: Require GTK+ 3.0 and change package domain from glade3 -> glade
* src/Makefile.am, gladeui/Makefile.am: application 'glade-3' -> 'glade',
	  library libgladeui-1 -> libgladeui-2

	* plugins/Makefile.am, plugins/gnome/*: Removed libgnomeui support.

	* plugins/gtk/gtk+.xml.in, plugins/gtk/glade-gtk.c: Removed all reference to
	  deprecated GTK+ widgets (anything removed in 3.0).
2010-06-15 16:43:51 -04:00
Javier Jardón
23aa3575b6 Use gtk_show_uri() to show help and urls 2010-06-10 04:31:46 +02:00
Johannes Schmid
deb99978b8 Fix selection handling in inspector and deleting of widgets 2010-05-14 18:00:51 -04:00
Tristan Van Berkom
fa97bcf995 * src/Makefile.am, src/glade-close-button.[ch]: Using Paolo Borelli's close button code for notebook
tab close buttons.

	* src/glade-window.c:
	  - Added option to disable toolbar in View menu and session data (bug 586194).
	  - Added option to show notebook tabs for open projects also in the View menu and session data.

	* gladeui/glade-palette.c: Made "both" mode use text horizontally again, still get alot of unwanted
	  ellipsize here.

	* gladeui/glade-project.c: Added the targets-changed signal to refresh views with data about
	  target project versions (notebook tabs).
2010-03-31 21:46:38 -04:00
Tristan Van Berkom
65cc1458a9 2010-03-28 Tristan Van Berkom <tvb@gnome.org>
* gladeui/Makefile.am, gladeui/glade-cell-renderer-icon.[ch]: Added activatable pixbuf renderer

	* gladeui/glade-signal-editor.c: Use new activatable pixbuf renderer to render a devhelp icon
	  and fire signal contextual devhelp searches.
2010-03-28 20:52:42 -04:00
Tristan Van Berkom
b45ddd32b5 * gladeui/glade-widget-adaptor.[ch]: Add a "scrollable" flag on the adaptor class vtable
introspected by checking if (widget_class->set_scroll_adjustments_signal) != 0.

	* gladeui/glade-utils.[ch]: Added glade_util_check_and_warn_scrollable() to check and warn the
	  user if they are trying to add a non-scrollable widget to a scrolled window.

	* gladeui/glade-app.c, gladeui/glade-popup.c, gladeui/glade-placeholder.c, plugins/gtk+/glade-gtk.c:
	Consult glade_util_check_and_warn_scrollable() before executing commands that introduce objects
	to the project.
2010-03-28 16:34:06 -04:00
Tristan Van Berkom
799a017db3 * gladeui/glade-marshallers.list, gladeui/glade-placeholder.c:
Make GladePlaceholder a scrollable widget (hypothetically) to avoid runtime warnings.

	* plugins/gtk+/gtk+.xml.in: Disabled "has-separator" of GtkMessageDialog as it ignores the separator
	  and the setting is useless (not to mention setting it causes runtime warnings: fixes bug 587288).

	* gladeui/glade-project.[ch]: Expose glade_project_get_target_version()

	* plugins/gtk+/glade-gtk.c:
	  - check project target gtk+ version to decide initial state
	    of GtkEntry::buffer.
	  - Substitute the old manual evaluation with GPC_VERSION_CHECK()
	  - Avoid critical warnings when setting GtkColorButton properties to NULL
	  - Avoid critical warnings when setting GtkComboBoxEntry::text-column < 0

	* gladeui/glade-property-class.h: Created convenience macro GPC_VERSION_CHECK

	* gladeui/glade-utils.c: Allow loading of libraries installed in optional non-system prefixes;
	  (so that GtkSourceView catalog is buildable and usable from your jhbuild environment)
	  assume a path that is: ${prefix}/lib/glade3/modules/../../ and search it after the initial
	  module search path.
2010-03-27 14:51:33 -04:00
Tristan Van Berkom
c6117db609 2010-03-20 Javier Jardón <jjardon@gnome.org>
* gladeui/glade-builtins.c: Use g_timeout_add_seconds() instead of g_timeout_add()
	  (gnome goal bug 581255).
2010-03-20 14:57:39 -04:00
Javier Jardón
f8bbea40f0 Use accessor functions instead direct access. Third patch
Substitute GTK_WIDGET_REALIZED() and GTK_WIDGET_MAPPED()

https://bugzilla.gnome.org/show_bug.cgi?id=594957
2010-02-11 01:14:01 +01:00
Javier Jardón
22788e3f90 Fix shortcuts to devhelper documentation
Remove the trailing whitespace of the string passed to devhelp

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=576477
2010-01-28 05:11:56 +01:00
Javier Jardón
4dda3ade88 Use accessor functions instead direct access. Second patch
GTK+ 2.19.0 is now the required version
I've used all the GTK+ 2.19.1 api available, still missing:
GTK_WIDGET_UNSET_FLAGS (widget, GTK_TOPLEVEL);
GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
GTK_WIDGET_REALIZED ()
GTK_WIDGET_MAPPED ()

https://bugzilla.gnome.org/show_bug.cgi?id=594957
2009-12-04 20:18:06 +01:00
Tristan Van Berkom
b02be58e94 Fix deprecated symbols (bug 572756)
* gladeui/glade-clipboard-view.c, gladeui/glade-command.c, gladeui/glade-property-class.c,
gladeui/glade-utils.c, plugins/gtk+/glade-gtk.c: Replaced symbols with new glib
variants (Sam Thursfield - bug 572756)
2009-06-20 12:51:01 -04:00
Tristan Van Berkom
f8371bbb8c Hijack the cntl-n accelerator too now.
* gladeui/glade-utils.c: Hijack the cntl-n accelerator too now.

	* plugins/gtk+/glade-column-types.c, plugins/gtk+/glade-model-data.c, plugins/gtk+/glade-store-editor.c:
	Enhanced model editing, now there is completion in type names, and column types are defined inline
	with no add or delete keys, model data can be edited and navigated without using the pointer either.


svn path=/trunk/; revision=2048
2008-11-25 05:13:54 +00:00
Tristan Van Berkom
8d9a6b1b6a added glade_utils_hijack_key_press ()
* gladeui/glade-utils.c: added glade_utils_hijack_key_press ()

	* src/glade-window.c: Moved hijack_key_press to glade_utils

	* gladeui/glade-editor.[ch]:
	  - Added "widget" property
	  - added glade_editor_dialog_for_widget()

	* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Added "Edit Separately" action



svn path=/trunk/; revision=2030
2008-11-15 19:54:46 +00:00
Tristan Van Berkom
6732db245e Refixed use of uninitialized variable (bug 559678).
* gladeui/glade-utils.c: Refixed use of uninitialized variable (bug 559678).

	* plugins/gnome/glade-gnome.c: Fixed build breakage (bug 560668).


svn path=/trunk/; revision=2025
2008-11-13 18:58:33 +00:00
Kjartan Maraas
69ef04b036 Try to avoid using deprecated glib api.
2008-11-08  Kjartan Maraas  <kmaraas@gnome.org>

	* gladeui/glade-utils.c: (glade_utils_get_pspec_from_funcname),
	(glade_util_ui_message), (glade_util_gtk_combo_find):
	* src/glade-window.c: (confirm_close_project):
	Try to avoid using deprecated glib api.

svn path=/trunk/; revision=2021
2008-11-08 11:25:37 +00:00
Tristan Van Berkom
5da2903182 Fixed some glitches, now its usable, closing case for now, we have
* plugins/gtk+/glade-attributes.c: Fixed some glitches, now its usable, closing case
	for now, we have attributes, they are global for the label but better that way for i18n'ing.


svn path=/trunk/; revision=2011
2008-10-29 01:35:50 +00:00
Tristan Van Berkom
72e543f080 - Reimplemented GtkImage from ground up. - Reimplemented stock on
* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: 
	- Reimplemented GtkImage from ground up.
	- Reimplemented stock on GtkButton.
	- Made toolbutton editables show up in the toolbar editor

	* gladeui/glade-base-editor.[ch]: Added glade_base_editor_add_editable()

	* plugins/gtk+/glade-button-editor.c, plugins/gtk+/glade-tool-bar-editor.c:
	Implement new Editable vfunc set_show_name()

	* gladeui/glade-editor-table.c, gladeui/glade-editable.c, gladeui/glade-editor.c:
	Added new vfunc set_show_name()

	* plugins/gtk+/Makefile.am, plugins/gtk+/glade-image-editor.[ch]: New editor
	widget for GtkImage

	* gladeui/glade-property-class.[ch]: string props can now be "stock" or "stock-icon"

	* gladeui/glade-widget-adaptor.c: No more stock enum eprops

	* gladeui/glade-editor-property.c: Handle string types with "stock" or "stock-icon"


svn path=/trunk/; revision=2004
2008-10-27 17:46:35 +00:00
Tristan Van Berkom
867115d53e Fixed a warning.
* plugins/gtk+/glade-cell-renderer-button.c: Fixed a warning.

	* plugins/gtk+/glade-column-types.c, plugins/gtk+/glade-model-data.c,
	plugins/gtk+/glade-icon-sources.c: Made sure add/remove works when
	deleting unedited icon sources, all add buttons result in focus and
	start-editing of an important cell in the underlying treeview.

	* gladeui/glade-utils.c: Fixed generic enum types to use enum_class->minimum
	as the default value.


svn path=/trunk/; revision=1999
2008-10-25 16:37:55 +00:00
Tristan Van Berkom
101b8add8f string_from_enum, now returns the nick and not the name (generally all
* gladeui/glade-property-class.c: string_from_enum, now returns the nick and not the
	name (generally all around nicer menus when no displayable values and also smaller
	nicer glade files). Displayable values are now consequently indexed by nick and not name.

	* gladeui/glade-displayable-values.[ch]: Added reverse lookup glade_get_value_from_displayable()

	* gladeui/glade-utils.[ch]: When doing glade_utils_enum/flag_value_from_string(), allow
	displayable values (also added glade_utils_enum/flag_string_from_value_displayable()).

	* plugins/gtk+/glade-icon-sources.c: Use all around displayable values for items
	in the treeview.


svn path=/trunk/; revision=1993
2008-10-24 15:42:05 +00:00
Tristan Van Berkom
7c0ea19f5f Now support editing enum types
* plugins/gtk+/glade-model-data.c: Now support editing enum types

	* plugins/gtk+/glade-column-types.c: Generate a list of enum and flag column types to select from.


svn path=/trunk/; revision=1979
2008-10-18 09:52:19 +00:00
Tristan Van Berkom
ed3bb93774 Fixed property commands to not unify across separate groups, and also to
* gladeui/glade-command.c: Fixed property commands to not unify across separate groups,
	and also to unify when they are not lists.

	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-model-data.c:
	  - Data properties now have DnD working
	  - Adding TreeViewColumn support
	  - Fixing liststore support to work for treestore


svn path=/trunk/; revision=1977
2008-10-17 18:47:57 +00:00
Tristan Van Berkom
47479fa15e fixed a silly bug
svn path=/trunk/; revision=1976
2008-10-17 01:01:11 +00:00
Tristan Van Berkom
4f1e473e08 Encapsulated name tracking mechanism
* gladeui/Makefile.am, gladeui/glade-name-context.[ch]: Encapsulated name tracking mechanism

	* gladeui/glade-project.c, gladeui/glade-command.c: Now added a naming policy to the project
	with prefs and load/save support + a glade command to set it - also revamped the prefs dialog,
	it also pops up automatically for new projects.

	* gladeui/glade-editor.c, gladeui/glade-editor-property.c, gladeui/glade-property-class.c,
	gladeui/glade-property.c, gladeui/glade-widget.c: All effected since now 
	glade_property_class_make_gvalue_from_string () needs a GladeWidget argument to do
	hierachic context sensitive searches... that and naming is much cleaner now.
	
	* src/glade-window.c: remember to pass ownership of the project to the app.

	* plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-column-types.c, plugins/gtk+/glade-model-data.c:
	BEWARE: Dangerous and still a work in progress.


svn path=/trunk/; revision=1972
2008-10-16 14:31:42 +00:00
Tristan Van Berkom
6c5e4e2aa4 Exported glade_column_list_copy/free()
* plugins/gtk+/glade-column-types.[ch]: Exported glade_column_list_copy/free()

	* plugins/gtk+/glade-model-data.[ch], plugins/gtk+/Makefile.am: Added model data
	  pspec, editor not compĺete yet...
	
	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Implemented new pspec as
	  list/treestore's "data" property with load/save support.

	* plugins/gtk+/glade-convert.c: Made combos convert correctly with new modeldata
	  pspec.

	* gladeui/glade-utils.[ch]: Added glade_utils_liststore_from_enum_type()


svn path=/trunk/; revision=1963
2008-09-29 17:19:07 +00:00
Tristan Van Berkom
7613e0d461 Added load/save/edit support for GtkTreeStore/GtkListStore basic columns
* plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-column-types.[ch],	
	  plugins/gtk+/Makefile.am, plugins/gtk+/gtk+.xml.in: Added load/save/edit
	  support for GtkTreeStore/GtkListStore basic columns and data definitions
	  (store data still not translatable...) - Juan Pablo Ugarte

	* gladeui/glade-utils.c: Added convenience funcs glade_utils_string_from_value()
	  and glade_utils_value_from_string(), these actually use glade-property-class api.


svn path=/trunk/; revision=1961
2008-09-28 04:37:44 +00:00
Tristan Van Berkom
83c9c86f79 - Made sure that the first toplevel in the project is selected and visible
* src/glade-window.c, gladeui/glade-inspector.c, gladeui/glade-utils.c,
	gladeui/glade-app.c:
	  - Made sure that the first toplevel in the project is selected and visible 
	    at load time in both the workspace and inspector
	  - Sorted objects from widgets in the inspector view.


svn path=/trunk/; revision=1944
2008-09-20 21:32:00 +00:00
Tristan Van Berkom
6871c98fbd Improved error messages in load_module() routine.
* gladeui/glade-utils.c: Improved error messages in load_module() routine.

	* plugins/gtk+/gtk+.xml.in: Enabled object properties all over.


svn path=/trunk/; revision=1938
2008-09-20 15:48:56 +00:00
Claude Paroz
b0201ec49d Trivial change in a string to remove duplicate (io -> I/O).
2008-09-02  Claude Paroz  <claude@2xlibre.net>

	* gladeui/glade-utils.c: (glade_util_copy_file):
	  Trivial change in a string to remove duplicate (io -> I/O).

svn path=/trunk/; revision=1885
2008-09-02 19:49:41 +00:00
Tristan Van Berkom
05a78c9b35 New internal pspec type for attributes and new editor widget for them.
* plugins/gtk+/Makefile.am, plugins/gtk+/glade-attributes.[ch]: 
	  New internal pspec type for attributes and new editor widget for them.

	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: 
	  Load/Save/Edit pango attributes on GtkLabel

	* gladeui/glade-utils.[ch]: Added enum value <--> string converters.


svn path=/trunk/; revision=1852
2008-08-06 22:21:03 +00:00
Tristan Van Berkom
d1f3913cde Fixed invisible labels in the menu editor.
* gladeui/glade-editor-property.c: Fixed invisible labels in
	the menu editor.

	* gladeui/glade-widget.c, gladeui/glade-widget.h, gladeui/glade-xml-utils.c,
	gladeui/glade-utils.c, gladeui/glade-xml-utils.h, gladeui/glade-utils.h,
	gladeui/glade-property.c, gladeui/glade-property-class.c,
	gladeui/glade-property-class.h, gladeui/glade-project.c, gladeui/glade-project.h:
	implemented "factory-stock-id" in the catalog, this allows you to take a resource
	image file property formerly hacked as a custom property in libglade, and glade
	will generate a hidden icon factory in builder files so that it will be loaded
	through the stock system instead, "factory-stock-id" depicts the name of the
	stock property of the property-class in question.


svn path=/trunk/; revision=1796
2008-04-12 05:45:03 +00:00
Tristan Van Berkom
1dd08365a6 Filled in all since, deprecated and builder-unsupported properties.
* plugins/gtk+/gtk+.xml.in: Filled in all since, deprecated and
	  builder-unsupported properties.

	* gladeui/glade-widget.c, gladeui/glade-widget.h, gladeui/glade-widget-adaptor.c,
	gladeui/glade-command.c, gladeui/glade-widget-adaptor.h,
	gladeui/glade-utils.h, gladeui/glade-catalog.c, 
	gladeui/glade-catalog.h, gladeui/glade-app.c, gladeui/glade-app.h, 
	gladeui/glade-property-class.c, gladeui/glade-property-class.h, 
	gladeui/glade-project.c, gladeui/glade-project.h:
	Added versioning support, you can always chose the target version of
	your project starting with gtk+ 2.8 - a project preferences dialog has
	been added where you can switch your format, switch your target version
	and test for incompatabilities. incompatability error dialogs are also
	launched on save as. Target versions are saved to the glade file; 
	TODO: patch GtkBuilder to test the required gtk+ version from
	<requires lib="gtk+" version="2.8"> and at least warn, also let
	third party widget developers test thier own versions using builder.

	* gladeui/glade-xml-utils.h, gladeui/glade-xml-utils.c: routines
	for parsing version numbers.


	* gladeui/glade-utils.c: glade_util_ui_message() takes a widget to
	embed arg now.


svn path=/trunk/; revision=1780
2008-04-09 18:06:02 +00:00
Tristan Van Berkom
fb79368d16 Reverted the project format menu from edit
* src/glade-window.c: Reverted the project format menu from edit

	* src/glade-utils.c: Add file format option to "save as" dialog,
	also added new filters for .ui files.


svn path=/trunk/; revision=1777
2008-04-08 03:34:49 +00:00
Tristan Van Berkom
c43aaea090 Run gtkdocize with --flavour=no-tmpl
* autogen.sh: Run gtkdocize with --flavour=no-tmpl
	
	* configure.ac: Require gtk-doc 1.9 and bump to 3.5.0 dev version.
	
	* doc/gladeui-overrides.txt, doc/children.sgml, doc/tmpl/*: Removed unneeded.

	* doc/gladeui-docs.sgml, doc/widgetclasses.sgml,
	doc/catalogintro.sgml, doc/Makefile.am: Mega docs update, added new
	files and completely rediscribed the catalog in its new form.

	* gladeui/glade-design-view.c, gladeui/glade-widget.c, 
	gladeui/glade-widget-adaptor.c, gladeui/glade-command.c,
	gladeui/glade-widget-adaptor.h, gladeui/glade-base-editor.c,
	gladeui/glade-widget-action.c, gladeui/glade-xml-utils.c,
	gladeui/glade-utils.c, gladeui/glade-catalog.c, gladeui/glade-property.c,
	gladeui/glade-project.c: Added some description statements to newly 
	documented files, fixed some warnings in other sources.

M    ChangeLog
M    configure.ac
M    doc/gladeui-docs.sgml
M    doc/widgetclasses.sgml
M    doc/catalogintro.sgml
D    doc/gladeui-overrides.txt
M    doc/Makefile.am
D    doc/children.sgml
D    doc/tmpl
M    doc/gladeui-sections.txt
M    doc/gladeui.types
M    doc/properties.sgml
M    gladeui/glade-design-view.c
M    gladeui/glade-widget.c
M    gladeui/glade-widget-adaptor.c
M    gladeui/glade-command.c
M    gladeui/glade-widget-adaptor.h
M    gladeui/glade-base-editor.c
M    gladeui/glade-widget-action.c
M    gladeui/glade-xml-utils.c
M    gladeui/glade-utils.c
M    gladeui/glade-catalog.c
M    gladeui/glade-property.c
M    gladeui/glade-project.c
M    autogen.sh

svn path=/trunk/; revision=1775
2008-04-07 12:23:11 +00:00
Tristan Van Berkom
64bb8141c6 merging builder branch into trunk
A    plugins/gtk+/glade-keysyms.c
M    plugins/gtk+/glade-gtk.c
M    plugins/gtk+/gtk+.xml.in
A    plugins/gtk+/glade-accels.c
M    plugins/gtk+/Makefile.am
A    plugins/gtk+/glade-accels.h
M    ChangeLog
M    gladeui/glade-editor.c
M    gladeui/glade-editor-property.c
M    gladeui/glade-editor-property.h
M    gladeui/glade-widget.c
M    gladeui/glade-widget.h
M    gladeui/glade-widget-adaptor.c
M    gladeui/glade-command.c
M    gladeui/glade-widget-adaptor.h
M    gladeui/glade-parser.c
M    gladeui/glade-xml-utils.c
M    gladeui/glade-base-editor.c
M    gladeui/glade-utils.c
D    gladeui/glade-parser.h
M    gladeui/glade-signal-editor.c
M    gladeui/glade-xml-utils.h
D    gladeui/glade-keysyms.c
M    gladeui/glade-property.c
M    gladeui/glade-property-class.c
M    gladeui/glade-property.h
M    gladeui/glade-builtins.c
M    gladeui/glade-property-class.h
M    gladeui/glade-builtins.h
M    gladeui/glade-project.c
M    gladeui/glade-signal.c
M    gladeui/Makefile.am
M    gladeui/glade-signal.h

svn path=/trunk/; revision=1764
2008-04-03 19:52:40 +00:00
Christian Persch
c651fba1c6 Port to gtk 2.12 tooltips API. Bug #500947. Remove the unnecessary event
2007-12-19  Christian Persch  <chpe@gnome.org>

	* configure.ac:
	* gladeui/glade-app.c: (glade_app_refresh_undo_redo_button):
	* gladeui/glade-base-editor.c: (glade_base_editor_add_properties):
	* gladeui/glade-editor-property.c:
	(glade_editor_property_tooltip_cb),
	(glade_editor_property_sensitivity_cb),
	(glade_editor_property_create_info_button),
	(glade_editor_property_constructor),
	(glade_editor_property_finalize),
	(glade_editor_property_load_common),
	(glade_eprop_text_show_i18n_dialog),
	(glade_eprop_adjustment_table_add_label):
	* gladeui/glade-editor-property.h:
	* gladeui/glade-editor.c: (glade_editor_notebook_page),
	(glade_editor_create_info_button),
	(glade_editor_create_reset_button),
	(glade_editor_table_append_item):
	* gladeui/glade-palette.c: (glade_palette_dispose),
	(glade_palette_new_item), (glade_palette_new_item_group),
	(glade_palette_update_appearance), (glade_palette_init):
	* gladeui/glade-project.c: (glade_project_dispose),
	(glade_project_init):
	* gladeui/glade-project.h:
	* gladeui/glade-property-class.c:
	(glade_property_class_new_from_spec):
	* gladeui/glade-utils.c:
	* gladeui/glade-widget.c: (expose_draw_selection):
	* plugins/gtk+/glade-gtk.c: (glade_gtk_widget_set_property),
	(glade_gtk_widget_get_property):
	* src/glade-window.c: (format_project_list_item_tooltip),
	(refresh_projects_list_menu), (glade_window_init): Port to gtk 2.12
	tooltips API. Bug #500947. Remove the unnecessary event boxes on the property
	labels, part of bug #490157.

svn path=/trunk/; revision=1660
2007-12-19 13:46:35 +00:00
Juan Pablo Ugarte
2d57d53ffc removed every extra documentation, we keep them empty just because
* doc/tmpl/*.sgml: removed every extra documentation, we keep them empty just
  because otherwise the build fails.

* doc/gladeui-docs.sgml, doc/gladeui-sections.txt, doc/gladeui.types: updated
  (GladeWidgetClass  replaced by GladeWidgetAdaptor)

* gladeui/glade-editor.c, gladeui/glade-editor-property.c, gladeui/glade-parameter.c,
  gladeui/glade-widget.c, gladeui/glade-fixed.c, gladeui/glade-clipboard.c,
  gladeui/glade-inspector.[ch], gladeui/glade-widget-adaptor.[ch], gladeui/glade-command.c,
  gladeui/glade-command.h, gladeui/glade-base-editor.[ch], gladeui/glade-palette.[ch],
  gladeui/glade-utils.c, gladeui/glade-signal-editor.c, gladeui/glade-app.c,
  gladeui/glade-placeholder.c, gladeui/glade-property.c, gladeui/glade-property-class.c,
  gladeui/glade-project.c, gladeui/glade-clipboard-view.c:
  Added section's short and long description. (moved from tmpl)


svn path=/trunk/; revision=1523
2007-07-30 19:56:51 +00:00
Tristan Van Berkom
c9edd8b01a Loop through user defined search paths and load catalogs from there first.
* gladeui/glade-catalog.c: Loop through user defined search paths and load
	  catalogs from there first.

	* gladeui/glade-utils.c: Loop through user defined search paths for modules,
	  then fallback on the compile time default, then fallback on default system
	  library paths.

	* gladeui/glade-app.h: Define env variables GLADE_MODULE_PATH & GLADE_CATALOG_PATH


svn path=/trunk/; revision=1516
2007-07-25 20:04:56 +00:00
Tristan Van Berkom
6eda77f84a Made glade_util_queue_draw_nodes --> glade_util_draw_selection_nodes()
* gladeui/glade-utils.c: Made glade_util_queue_draw_nodes --> glade_util_draw_selection_nodes()
	  (without the idle timeout now)

	* gladeui/glade-widget.c, gladeui/glade-placeholder.c: Use glade_util_draw_selection_nodes(),
	  (selection wasnt being drawn on some widgets, now it's working and there's less "flicker"
	  when drag/resizing widgets too).


svn path=/trunk/; revision=1508
2007-07-24 19:43:49 +00:00