- 15 Dec, 2010 2 commits
-
-
Tristan Van Berkom authored
-
Tristan Van Berkom authored
object ref count cycles, now GladeProject just releases all widgets from the project and keeps a reference to the GladeWidget instead of the GObject, GladeWidget is now GInitiallyUnowned and GladeProject assumes ownership when objects are added to the project (glade-gtk.c in this patch avoids needlessly adding a widget to the project that will be implicitly added, now glade-gtk.c does not directly manually add any widgets to the project).
-
- 29 Aug, 2010 1 commit
-
-
Tristan Van Berkom authored
-
- 14 May, 2010 7 commits
-
-
Tristan Van Berkom authored
fixed glade_widget_get_children() to not call g_list_append() in a loop.
-
Johannes Schmid authored
-
Johannes Schmid authored
Also checks in glade-project.c if we found a widget.
-
Johannes Schmid authored
-
Johannes Schmid authored
-
Johannes Schmid authored
-
Johannes Schmid authored
-
- 30 Mar, 2010 1 commit
-
-
Tristan Van Berkom authored
* gladeui/glade-signal-editor.c: Fixed access to signal name in object dialog hander (was a crasher). * gladeui/glade-widget.c: Fixed GladeWidget to update support warnings on newly added signals.
-
- 29 Mar, 2010 1 commit
-
-
Tristan Van Berkom authored
- Give object dialogs a bigger default size and hide the column headers * gladeui/glade-signal-editor.c: - Now show an icon and tooltip in rows for signals that are only supported in the future, refresh them when support changes. * gladeui/glade-widget-adaptor.h, gladeui/glade-property-class.h: Added some version checking macros. * gladeui/glade-signal.[ch]: Add support warning meta data to signals * gladeui/glade-project.c: - Simplify code with new version checking macros - Do the verify on signals for widgets as well as project warnings (update the signals a verify time). * gladeui/glade-widget.c: GladeWidget takes a new "support-changed" to broadcast support changes on the widget. * gladeui/glade-signal-editor.c:
-
- 28 Mar, 2010 1 commit
-
-
Tristan Van Berkom authored
* gladeui/glade-signal.c: Added "swapped" attribute and read/write from xml, swapped attribute is always saved, if its missing on load and user_data (object) is set, we assume a swapped default. * gladeui/glade-signal-editor.c: Allow toggling "swapped" flag of a signal if user data is set. * gladeui/glade-widget.c: Account for new signal "swapped" flag when modifying local signals.
-
- 24 Mar, 2010 1 commit
-
-
Tristan Van Berkom authored
* gladeui/glade-signal.[ch]: Broke api of glade_signal_write(), this api should never be called outside of the Glade core so its a soft api break. * gladeui/glade-widget.c: Call glade_signal_write() with the current project format, fixes bug 600031.
-
- 09 Mar, 2010 1 commit
-
-
Tristan Van Berkom authored
* plugins/gtk+/glade-gtk.c: Fixed GtkBox & GtkTable regressions introduced by GSEAL patches.
-
- 11 Feb, 2010 1 commit
-
-
Javier Jardón authored
Substitute GTK_WIDGET_REALIZED() and GTK_WIDGET_MAPPED() https://bugzilla.gnome.org/show_bug.cgi?id=594957
-
- 07 Feb, 2010 1 commit
-
-
Javier Jardón authored
Use gtk_widget_style_attach() to replace widget->style = gtk_style_attach (widget->style, widget->window); Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609041
-
- 04 Dec, 2009 1 commit
-
-
Javier Jardón authored
GTK+ 2.17.10 is now the required version I've used all the GTK+ 2.18.* api available, still missing: GTK_WIDGET_UNSET_FLAGS (widget, GTK_TOPLEVEL); GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED); GTK_WIDGET_REALIZED () GTK_WIDGET_MAPPED () GTK_VIEWPORT ()->bin_window GTK_ENTRY ()->editing_canceled https://bugzilla.gnome.org/show_bug.cgi?id=594957
-
- 14 Sep, 2009 2 commits
-
-
Tristan Van Berkom authored
copied subhierarchy still come out as copies (like getting an action area inside an internal vbox which was copied).
-
Tristan Van Berkom authored
* gladeui/glade-widget.c: Fixed crasher while copying internal widgets (bug 595156)
-
- 29 Jun, 2009 1 commit
-
-
Tristan Van Berkom authored
special case runtime path lookups to bundling builds. * gladeui/glade-popup.[ch]: Added glade_popup_is_popup_event () to check the correct GdkEventButton state for a context menu (in a platform independant way). * gladeui/glade-base-editor.c, gladeui/glade-editor-property.c, gladeui/glade-palette-item.c, gladeui/glade-placeholder.c, gladeui/glade-widget.c, gladeui/glade-inspector.c: Use new popup function to detect whether to show a context menu or not (bug 587128). * gladeui/glade-base-editor.c: Fixed crashes with editable treeview column types (bug 586715).
-
- 18 Jun, 2009 1 commit
-
-
James Liggett authored
Make sure that the project view is not NULL in glade_widget_show.
-
- 27 May, 2009 1 commit
-
-
Tristan Van Berkom authored
gladeui/glade-placeholder.c, gladeui/glade-widget.c: Made Glade barely usable on the Mac, now all popup menus will popup on (GDK_MOD[1-3]_MASK && event->button == 1) as well as on (event->button == 3) since Mac is missing the right mouse button and ports X server setup doesnt seem to emulate it. * gladeui/glade-property-class.c: Add me to authors.
-
- 25 Mar, 2009 1 commit
-
-
Tristan Van Berkom authored
Fixed Mal-ordering of atk properties, signals and accelerators in Libglade format output. * gladeui/glade-widget.[ch]: Now export glade_widget_write_signals(), only write signals from the core when in builder format. * plugins/gtk+/glade-gtk.c: glade_gtk_widget_write_widget(), write properties out as "properties -> atk -> signals -> accelerators when in libglade format, leave signals to core when in builder format. svn path=/trunk/; revision=2178
-
- 23 Mar, 2009 1 commit
-
-
Tristan Van Berkom authored
* gladeui/glade-widget.c: Fix broken hash table maintenence in glade_widget_remove_property() (bug 575885). svn path=/trunk/; revision=2177
-
- 15 Jan, 2009 1 commit
-
-
Tristan Van Berkom authored
svn path=/trunk/; revision=2087
-
- 05 Jan, 2009 2 commits
-
-
Juan Pablo Ugarte authored
* gladeui/glade-widget.c: fixed Bug #525839 "Glade hangs in toolbar editor" replaced assert with if statement in glade_widget_copy_properties() * gladeui/glade-signal-editor.c: fixed Bug #522542 "glade-3 crashes when pressing Enter in signal handler entry field" removed unnecessary treeview row-activated handler. svn path=/trunk/; revision=2077
-
Tristan Van Berkom authored
svn path=/trunk/; revision=2076
-
- 24 Nov, 2008 1 commit
-
-
Tristan Van Berkom authored
* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: - Fixed gtk_image_menu_item_set_stock() to not override the label value if not in use_stock mode (fixes missing labels in pasted imagemenuitems). svn path=/trunk/; revision=2047
-
- 23 Nov, 2008 2 commits
-
-
Tristan Van Berkom authored
* gladeui/glade-command.c: Now add/remove parentless widget props from the project in command_add/remove. * gladeui/glade-widget.c: - glade_widget_dup_properties/glade_widget_copy_properties take 2 new args, whether copy parentless widget properties or not, and whether to copy them exactly or not. - added glade_widget_get_parentless_reffed_widgets() to return a list of reffed parentless widgets. svn path=/trunk/; revision=2045
-
Tristan Van Berkom authored
* gladeui/glade-widget.c: glade_widget_build_object() now calls glade_widget_set_object() internally and then uses glade_widget_adaptor_set_property() for non construct properties. * plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: - Made GtkTreeView:model property query user at create time. - Fixed to never sync properties when in attribute mode, to sync attributes after adding cells to cell layouts, and to not set attributes to orphan cells (net result: copy/paste of treeviews now result in a nice runtime replica). - Did some reordering in glade-gtk.c svn path=/trunk/; revision=2044
-
- 07 Nov, 2008 1 commit
-
-
Tristan Van Berkom authored
* gladeui/glade-widget.c, gladeui/glade-widget-adaptor.c: moved signal and children serialization from glade_widget_adaptor_object_write_widget() to glade_widget_write() (bug #559531) svn path=/trunk/; revision=2019
-
- 31 Oct, 2008 2 commits
-
-
Tristan Van Berkom authored
* plugins/gtk+/glade-image-item-editor.[ch], plugins/gtk+/glade-gtk.c: making menu conversions seemless * gladeui/glade-widget.c: Remove widgets from layout on hide, hide widgets when adding parentless prop refs. svn path=/trunk/; revision=2014
-
Tristan Van Berkom authored
* gladeui/glade-widget.[ch], gladeui/glade-command.[ch]: Added glade_widget_[un]lock() and glade_command_[un]lock_widget(). * plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-convert.c, plugins/gtk+/glade-image-item-editor.c: Dual format menu editing support depending on my gtk+ patch on bug 527672, TODO: still need to add accel-groups to GtkWindow on the glade side of things. svn path=/trunk/; revision=2013
-
- 28 Oct, 2008 1 commit
-
-
Tristan Van Berkom authored
* plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-gtk.c: Reimplemented GtkMenuItem and subclasses from top to bottom * plugins/gtk+/glade-image-item-editor.[ch], plugins/gtk+/Makefile.am: New GtkImageMenuItem editor (that embeds the child image editor when needed) * gladeui/glade-command.[ch]: Added glade_command_[un]protect_widget() * gladeui/glade-widget.[ch]: Added glade_widget_[un]protect() protected widgets come with a message and cannot be manually deleted from the project. * plugins/gtk+/glade-image-editor.c, plugins/gtk+/glade-button-editor.c, plugins/gtk+/glade-tool-button-editor.c, gladeui/glade-editor-table.c: Fixed to: - not reffer to child editables in finalize - always removed external signals and weak references from finalize * gladeui/glade-base-editor.c: Fixed to allow properties expand/fill in both label and entry. svn path=/trunk/; revision=2006
-
- 25 Oct, 2008 1 commit
-
-
Tristan Van Berkom authored
* plugins/gtk+/glade-gtk.c: Ignore parent-changes on internal widgets (that causes problems when internal widgets get destroyed at project close time). * plugins/gtk+/glade-button-editor.c: Fixed custom/standard commands, now standard mode sets up a default label etc also. * gladeui/glade-project.c, gladeui/glade-property.c, gladeui/glade-widget.c, gladeui/glade-property-class.[ch], gladeui/glade-xml-utils.h: Removed hack for GtkToolButton:icon --> iconfactory (will do in glade-convert.c properly). svn path=/trunk/; revision=2000
-
- 21 Oct, 2008 2 commits
-
-
Tristan Van Berkom authored
* plugins/gtk+/glade-attributes.c: Use glade-cell-renderer-button for color attributes. * plugins/gtk+/glade-cell-renderer-button.c: no more button-text property * plugins/gtk+/glade-text-button.c: Now use a GTK_STOCK_EDIT icon in the cell renderer button svn path=/trunk/; revision=1986
-
Tristan Van Berkom authored
* gladeui/glade-widget.c: Implement property lookups with a hash table, fixed mem leaks * gladeui/glade-property.c: Read properties from the passed node directly, fixed mem leaks * gladeui/glade-widget-adaptor.c: Read properties in the order they are listed in the file, not by the order of the properties in the object (helps load performance). * gladeui/glade-project.c: Fixed mem leaks, release widget property references before destroying all the glade widgets. svn path=/trunk/; revision=1985
-
- 16 Oct, 2008 1 commit
-
-
Tristan Van Berkom authored
* 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
-
- 01 Oct, 2008 1 commit
-
-
Tristan Van Berkom authored
* gladeui/glade-property.[ch], gladeui/glade-command.[ch], gladeui/glade-editor-property.c: Implemented new "context" i18n metadata. * gladeui/glade-widget.c: Fixed to hide non-window widgets in glade_widget_hide() svn path=/trunk/; revision=1967
-