2601 Commits

Author SHA1 Message Date
Tristan Van Berkom
379eb29560 * gladeui/glade-xml-utils.h, gladeui/glade-widget-adaptor.[ch], gladeui/glade-widget.[ch]:
Added <add-child-verify-function> semantics to query the plugin if it's ok to add
	  a said "child" to an adaptors widget "parent" and warn the user about it in context.

	* gladeui/glade-project.c: Check glade_widget_add_verify() when pasting widgets

	* gladeui/glade-command.c: Check glade_widget_add_verify() from glade_command_create()

	* gladeui/glade-popup.c: Allow "Add widget here" action to appear for any project object
	  and rely on glade_command_create() to warn the user via glade_widget_add_verify() if
	  adding the widget fails.

	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Added <add-child-verify-function> support to
	GtkContainer, GtkMenuShell, GtkMenuItem, GtkToolBar, GtkToolItem, GtkToolPalette, GtkToolItemGroup,
	GtkActionGroup, GtkTextTagTable adaptors.
2011-01-28 18:16:06 +09:00
Tristan Van Berkom
37e2321596 * plugins/gtk+/gtk+.xml.in: Added GtkRecentManager to the palette. 2011-01-28 01:09:20 +09:00
Tristan Van Berkom
35bc61bccf added glade-string-list.c to POTFILES.in 2011-01-27 23:14:20 +09:00
Tristan Van Berkom
88e6033117 * plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Added support to GtkFileFilter
for reading and writing the new <mime-types> and <patterns> tags
	  that are recently added to GtkFileFilter's GtkBuildable implementation.
2011-01-27 23:13:40 +09:00
Tristan Van Berkom
c2136373a1 Fixed typo on saved <aplication> tags. 2011-01-27 17:16:11 +09:00
Tristan Van Berkom
b997768168 * plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Added support for GtkRecentFilter
as well as reading and writing the new <mime-types> <patterns> and <applications> tags
	  that are recently added to GtkRecentFilter's GtkBuildable implementation.
2011-01-27 17:10:17 +09:00
Fran Diéguez
401771de79 QA of Galician translations 2011-01-27 00:35:18 +01:00
Kjartan Maraas
823913512e Updated Norwegian bokmål translation. 2011-01-26 15:46:09 +01:00
Tristan Van Berkom
fbb9d935f0 * gladeui/glade-popup.c: Fixed property popup to not show DevHelp link when the property
is a virtual one.
2011-01-26 22:30:31 +09:00
Tristan Van Berkom
e086ae995c * plugins/gtk+/Makefile.am, plugins/gtk+/glade-string-list.[ch]: Added Boxed type
and GladeEditorProperty to manage/edit a list of strings that can be translatable.
	  This property editor uses a treeview and supports reordering of rows with Drag'n'Drop
	  as well as deletion of rows using the 'Delete' key. Every row can have individual
	  i18n information set via the common i18n dialog.

	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Add GtkComboBoxText support
	  to Glade and use the GladeStringList boxed type to edit the list of translatable
	  items.
2011-01-26 21:28:20 +09:00
Tristan Van Berkom
5dbbd4ebd3 * plugins/gtk+/glade-attributes.c: Relicensing to LGPL. 2011-01-26 16:24:55 +09:00
Juan Pablo Ugarte
77009374c7 Merge branch 'offscreen-design-layout'
* gladeui/glade-design-layout.[ch]:
    o Made GladeDesignLayout an offscreen container, all its children are redirected offscreen
      and composited later on. This allow us drawing "pretty" selections over widgets.
    o added new function derived from glade_design_layout_widget_event(),
      glade_design_layout_do_event() to marshal events from the override class handler
    o added glade_design_layout_selection_set()
    o reworked cursors pointer in an array to ease setting them.
    o replaced glade_design_layout_get_pointer_region () with gdl_get_activity_from_pointer()
    o removed call to gtk_widget_size_allocate() in glade_design_layout_update_child()
      fixes rendering glith while resizing

  * gladeui/glade-design-view.c: set layout selection on project's selection-changed signal

  * gladeui/glade-app.[ch]:
    o added glade_app_do_event()
    o set custom gdk event handler to marshal event to GladeDesignLayouts using
      glade_design_layout_do_event()

  * gladeui/glade-utils.[ch]: removed unused function glade_util_draw_selection_nodes()

  * gladeui/glade-widget.[ch]:
    o moved IS_GLADE_WIDGET_EVENT macro to header.
    o replaced glade_widget_connect_signal_handlers() with glade_widget_add_events()
2011-01-25 16:32:36 -03:00
Juan Pablo Ugarte
ffad8433f2 * ChangeLog: added entry for offscreen-design-layout branch merge to master 2011-01-25 16:28:24 -03:00
Juan Pablo Ugarte
a39e9c43f1 * gladeui/glade-design-layout.c:
o replaced cairo_clip()/cairo_paint_with_alpha() with cairo_fill()
  o added alpha to the gradient using color_stop_rgba() to make it more noticeable
2011-01-24 23:57:06 -03:00
Juan Pablo Ugarte
f17eaf5355 * gladeui/glade-widget.c: fixed D&D regression by adding motion and button events to every runtime widget 2011-01-24 21:59:16 -03:00
Tristan Van Berkom
37f2be71b4 * 41 files: Fixed typo in LGPL License file headers. 2011-01-24 21:34:33 -03:00
Tristan Van Berkom
d12980f489 * 41 files: Fixed typo in LGPL License file headers. 2011-01-24 17:36:13 +09:00
Juan Pablo Ugarte
327afcdaf7 * gladeui/glade-design-layout.c: removed unused signals enum and ACTIVITY_STR macro 2011-01-23 13:50:45 +09:00
Juan Pablo Ugarte
4cb610244a 2011-01-22 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-design-layout.[ch]:
    o added glade_design_layout_selection_set() (removed project dependency)
    o removed PointerRegion enum
    o reworked cursors pointer in an array to ease seting them
    o reemplazed glade_design_layout_get_pointer_region () with gdl_get_activity_from_pointer()
    o removed call to gtk_widget_size_allocate() in glade_design_layout_update_child()
      fixes rendering glith while resizing
    o precompute child offset to optimize from-embeder to-embeder handlers
    o draw "pretty" selection

  * gladeui/glade-design-view.c: set layout selection on project's selection-changed signal

  * gladeui/glade-app.[ch]:
    o added glade_app_do_event()
    o set custom gdk event handler to marshal event to GladeDesignLayouts using
      glade_design_layout_do_event()

  * gladeui/glade-utils.[ch]: removed unused function glade_util_draw_selection_nodes()

  * gladeui/glade-widget-adaptor.c: removed g_signal_override_class_handler() event marshalling hack.
2011-01-23 13:50:44 +09:00
Juan Pablo Ugarte
c473e3179b Experimental offscreen GladeDesignLayout 2011-01-23 13:50:44 +09:00
Juan Pablo Ugarte
93195df182 2011-01-13 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-widget-adaptor.c: added GtkWidget::event signal clash override
    for every registered class to marshal events to the corresponding GladeDesignLayout

  * gladeui/glade-design-layout.[ch]:
    o added new function derived from glade_design_layout_widget_event(),
      glade_design_layout_do_event() to marshall events from the override class handler
    o removed placeholder from glade_design_layout_find_inside_container()

  * gladeui/glade-widget.[ch]: moved IS_GLADE_WIDGET_EVENT macro to header.
2011-01-23 13:50:44 +09:00
Juan Pablo Ugarte
ebd9b9a5c2 Experimental offscreen GladeDesignLayout 2011-01-23 13:50:44 +09:00
Jorge González
a5112f84b0 Updated Spanish translation 2011-01-22 16:08:34 +01:00
Jorge González
8ab3bde5ad Updated Spanish translation 2011-01-22 16:07:29 +01:00
Gabor Kelemen
89a51adcc9 Change "Emotes" to "Emoticons" 2011-01-22 15:31:07 +01:00
Tristan Van Berkom
026182df58 * gladeui/glade-project.[ch], src/glade-window.c: Edit->Preferences becomes File->Properties
along with some internal renames (closes bug 609485).
2011-01-22 18:15:37 +09:00
Tristan Van Berkom
05191e1c37 * gladeui/glade-command.[ch]: Removed glade_command_set_naming_policy().
* gladeui/glade-project.[ch]: Removed naming policy, object ids are always unique.

	* gladeui/glade-editor-property.c, glade-property-class.[ch], gladeui/glade-property.c,
	gladeui/glade-signal-editor.c, gladeui/glade-utils.[ch], gladeui/glade-widget.c,
	gladeui/glade-xml-utils.h, plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-icon-sources.c,
	plugins/gtk+/glade-model-data.c: Removed 'widget' argument from
	glade_property_class_make_gvalue_from_string() and from glade_utils_value_from_string() since
	you never need a common ancestor to search a widget by name anymore.
2011-01-22 17:51:31 +09:00
Tristan Van Berkom
eb93a39278 * gladeui/glade-base-editor.c: Fixed many memory leaks in this rusty code, fixed nasty
bug where type_edited() was using the wrong enum to fetch the current type name, fixed
	  to make "Add Item" button always add items to the root.
2011-01-22 00:54:23 +09:00
Johannes Schmid
a21da01479 gladeui: Finish up anjuta/glade dnd integration 2011-01-21 16:27:39 +01:00
Tristan Van Berkom
21707f0d6c * gladeui/glade-palette.c: Dont strdup the adaptor names in the local hash table (those
strings are constant data, no need to dup them).
2011-01-21 17:49:48 +09:00
Daniel Mustieles
60d62a89e1 Updated Spanish translation 2011-01-19 20:29:22 +01:00
Leandro Regueiro
6478f44c4c Updated Galician translations 2011-01-19 15:43:48 +01:00
Tristan Van Berkom
3f7fb76d41 * gladeui/glade-editor-property.c, gladeui/glade-widget-adaptor.c: Pluggin more memory leaks. 2011-01-19 01:36:19 +09:00
Tristan Van Berkom
4c5ed91044 * plugins/gtk+/gtk+.xml.in: Remove GtkTreeSelection from the palette, it's only available
as the internal selection of a GtkTreeView.
2011-01-19 01:36:19 +09:00
Daniel Mustieles
8ddf4046e2 Updated Spanish translation 2011-01-16 19:38:35 +01:00
Tristan Van Berkom
e9a127ca2c * gladeui/glade-project.c, gladeui/glade-property-class.c, gladeui/glade-widget-adaptor.c,
gladeui/glade-widget.c, plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-model-data.c:
	Plugged more leaks found with valgrind.
2011-01-16 22:54:15 +09:00
Tristan Van Berkom
b48218e001 Fixed typo on last commit. 2011-01-16 22:53:04 +09:00
Tristan Van Berkom
ee9635565e * gladeui/glade-builtins.c: Removed _() annotations for strings that dont need to be
translated.
2011-01-16 22:32:19 +09:00
Tristan Van Berkom
5e61eef754 * gladeui/glade-catalog.c, gladeui/glade-inspector.c, gladeui/glade-property-class.c,
gladeui/glade-utils.c, gladeui/glade-widget-adaptor.c, gladeui/glade-widget.c,
	gladeui/glade-xml-utils.c, plugins/gtk+/glade-gtk.c:
	Plugging leaks found with valgrind.
2011-01-16 19:13:55 +09:00
Tristan Van Berkom
f99c4bd02d * gladeui/glade-project.[ch]:
- Added glade_project_widget_changed() to manually notify a "row-change"
	  - Add property references to the MISC_COLUMN (i.e. "Image Widget of button1" texts).

	* gladeui/glade-widget.c: Notify widget row changes when parentless widget references
	  are added/removed from a widget.
2011-01-16 17:16:55 +09:00
Tristan Van Berkom
861ce243cd * plugins/gtk+/glade-gtk.c: Fixed warnings from glade_gtk_box_get_first_blank() when
project closes.
2011-01-16 17:16:07 +09:00
Emilio Pozuelo Monfort
3cee50bb60 * plugins/gtk+/Makefile.am: Don't install .in files. 2011-01-15 14:34:47 +00:00
Johannes Schmid
74f4e56cda 2011-01-15 Johannes Schmid <jhs@gnome.org>
* gladeui/glade-app.c: glade_app_get() should always return
        the single instance and create it if necessary

        * gladeui/glade-editor.[ch]: Remove glade_editor_set_signal_editor()
2011-01-15 13:31:07 +01:00
Johannes Schmid
1a65539f03 Revert "* gladeui/glade-app.c: glade_app_get() should always return"
This reverts commit 320888504f4290d3a03fbc35307cbfa56d068986.
2011-01-15 13:28:54 +01:00
Johannes Schmid
320888504f * gladeui/glade-app.c: glade_app_get() should always return
the single instance and create it if necessary

* gladeui/glade-editor.[ch]: Add glade_editor_get_signal_editor()
2011-01-15 13:11:46 +01:00
Javier Jardón
d544699f0f Update doap file to glade.doap instead glade3.doap 2011-01-13 23:56:24 +00:00
Javier Jardón
83c6bf9628 configure.ac: the bugzilla product is now glade, not glade3 2011-01-13 23:53:38 +00:00
Yuri Myasoedov
c0aa124dcf Updated Russian translation 2011-01-13 21:24:58 +03:00
Tristan Van Berkom
3674915823 * NEWS, configure.ac: Rolling Glade 3.9.1 GLADE_3_9_1 2011-01-13 19:41:21 +09:00
Tristan Van Berkom
aa8d005216 * plugins/gtk+/gtk+.xml.in: Readjusted displayable values so they are available
for palette enums.
2011-01-13 19:40:52 +09:00