- 22 Sep, 2008 1 commit
-
-
Tristan Van Berkom authored
* gladeui/glade-editor-property.c: Fixed adjustments when values are null in libglade mode * plugins/gtk+/gtk+.xml.in: Reorganized groups, added some more metadatas * plugins/gtk+/glade-convert.c: - Convert "text" property of TextView to a textbuffer and text property in builder format. - Convert "tooltip" <--> "tooltip-text" * gladeui/glade-popup.c, gladeui/glade-inspector.c: enhanced menu for inspector empty spots (paste toplevels) * gladeui/glade-editor-property.c: Adjustments in libglade had bugs, hardcoded default values here and made sure object is NULL on default. * gladeui/glade-widget.[ch]: Removed glade_widget_project_notify() * gladeui/glade-command.c: - glade_command_remove() implicitly makes commands to unset any properties reffering to the object being removed from the project. - project conversions now cleanup unsupported widgets/properties * gladeui/glade-palette.c, gladeui/glade-app.c: Moved toplevel widget creation code from gladeapp to gladepalette. svn path=/trunk/; revision=1955
-
- 21 Sep, 2008 1 commit
-
-
Tristan Van Berkom authored
* plugins/gtk+/glade-gtk.c: Set sizegroup_add action sensitive/insensitive depending on project format * plugins/gtk+/gtk+.xml.in: Set libglade-unsupported && create-type on alot of properties * gladeui/glade-editor-property.c: Set eprop insensitive also if its in an unsupported format * gladeui/glade-xml-utils.h, gladeui/glade-property-class.c: Added "create-type" * gladeui/glade-property.[ch]: Now property states can be flagged and also include format_disabled state. svn path=/trunk/; revision=1948
-
- 19 Sep, 2008 1 commit
-
-
Tristan Van Berkom authored
Now we have a conversion routine that is run in the plugin to convert some data for one format to another (builder on the way...) In this patch we use it to handle GtkAdjustment property conversions. (NOTE: Completely undoable) * gladeui/glade-editor-property.c: Made adjustment eprop fallback on object dialog in builder cases. * gladeui/glade-command.[ch]: Added glade_command_set_project_format() * gladeui/gldae-catalog.c, gladeui/glade-xml-utils.h: Added GladeProjectConvertFunc * plugins/gtk+/Makefile.am, plugins/gtk+/glade-convert.c, plugins/gtk+/gtk+.xml.in: New file to handle conversion routines, added some objects. svn path=/trunk/; revision=1935
-
- 18 Sep, 2008 2 commits
-
-
Tristan Van Berkom authored
* src/glade-window.c: - Show glade widgets in the workspace on selection changes in the project and not on item-activated. - Rename "Dock Editor" -> "Dock Properties" as per bug 487613. * gladeui/glade-design-layout.c: Fixed expose event to chain to parent class after drawing an orange box (non window widgets are usualy GTK_NO_WINDOW). * gladeui/glade-widget.c: Made glade_widget_show() show the toplevel of any GtkWidget object, also now shows toplevel non window glade widgets in the workspace, if the widget is referenced by a property that as a result parents the widget (i.e. bears a "parentless-widget" property reference), then the referencing widget is shown instead. * gladeui/glade-popup.c: Added devhelp icon to documentation menu item, added docs icon to normal menu. svn path=/trunk/; revision=1928
-
Christian Persch authored
* gladeui/glade-app.c: (glade_app_show_properties), (glade_app_hide_properties): * gladeui/glade-command.c: (glade_command_pop_group): Replace the deprecated G_GNUC_PRETTY_FUNCTION with G_STRFUNC. Bug #512559. svn path=/trunk/; revision=1927
-
- 16 Sep, 2008 1 commit
-
-
Pavel Kostyuchenko authored
2008-09-16 Pavel Kostyuchenko <ShprotX@gmail.com> * gladeui/glade-app.c: Creating toplevel widget through unified glade-palette interface. Removed error message when pasting non-toplevel widgets without a parent. * gladeui/glade-command.h: A new function for getting depth of command recursion * gladeui/glade-command.c: A new function for getting depth of command recursion. A return value of glade_command_set_property_execute function is valid and is respected by glade_command_set_properties_list. indicate success/failure of their execution. Glade-command can be unified to null. Setting property command is always executed as a group, so if there is any recursive command, they will be added to that group. Removed parentless widget message level lowered from critical to message. Widget is treated as toplevel only if it has no parent. Removed an assertion from glade_command_create that doesn't allow creation of non-GtkWindow parentless widgets * gladeui/glade-editor-property.c: Object selection dialog will be optionally filled by parentless non-GtkWindow widgets only Unparenting root widgets before setting another property to them * gladeui/glade-inspector.c: Popup for clicking even on empty part of widget list * gladeui/glade-palette.h: A unified function for creating root widgets * gladeui/glade-palette.c: A unified function for creating root widgets A new button for creating root widgets * gladeui/glade-placeholder.[ch]: glade_placeholder_get_project has been made public for using in glade-popup * gladeui/glade-popup.c: A new function glade_popup_simple_pop for creating a context menu on an empty space of glade-inspector New context menu items for adding widgets * gladeui/glade-popup.h: A new function glade_popup_simple_pop for creating a context menu on an empty space of glade-inspector * gladeui/glade-project.c: Unifying command even if there's redo items. Unifying atomic commands only. Unifying to null * gladeui/glade-property-class.[ch]: A new field for making properties that points to parentless widgets * gladeui/glade-property.h: Added a return value to glade_property_set* functions to indicate success/failure that is used in glade-command * gladeui/glade-property.c: Ignoring parentless_widget properties while duplicating properties. Additional check while adding/removing property reference Added a return value to glade_property_set* functions to indicate success/failure that is used in glade-command. Determining that property is changed using glade-proproperty method instead of direct comparing GValue. Loading properties through glade-widget-adaptor interface instead of getting them directly. remove_object method now unsets referencing property instead of setting it. Removed dummy duplicated setting of property while unsetting referencing property. * gladeui/glade-property.h: Added a return value to glade_property_set* functions to indicate success/failure that is used in glade-command. * gladeui/glade-widget.c: Removed setting widget properties to template/default values while building a new object, because they will be set later in constructor. Reloading properties after duplicating a widget. A new function for removing parent reference, that was made by setting parentless_widget property to the widget. Saving and loading parentless_widget properties while rebuilding, because they cannot be duplicated. Corrected destroying of an old widget while rebuilding. Seems like it's not fully correct still. * gladeui/glade-widget.h: A new function for removing parent reference, that was made by setting parentless_widget property to the widget. * gladeui/glade-xml-utils.h: A new tag "parentless-widget" as a property attribute * plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Removed an old hack for "image" property of GtkMessageDialog. A new implementation of "image" property using parentless_widget kind of property. Added an ability of working with parentless widgets using "remove parent" and "add parent" items of context menu svn path=/trunk/; revision=1908
-
- 09 Apr, 2008 1 commit
-
-
Tristan Van Berkom authored
* 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
-
- 07 Apr, 2008 1 commit
-
-
Tristan Van Berkom authored
* 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
-
- 03 Apr, 2008 1 commit
-
-
Tristan Van Berkom authored
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
-
- 30 Jul, 2007 1 commit
-
-
Juan Pablo Ugarte authored
* 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
-
- 23 Jul, 2007 1 commit
-
-
Tristan Van Berkom authored
* NEWS, configure.ac: Rolling 3.3.2 svn path=/trunk/; revision=1505
-
- 18 Jul, 2007 1 commit
-
-
Tristan Van Berkom authored
* gladeui/glade-command.[ch]: fixed memory leaks of description strings in usage of glade_command_push_group() * gladeui/glade-widget.[ch]: Added convenience apis to set sensitivity on GladeWidgetActions. * gladeui/glade-widget-adaptor.[ch], gladeui/glade-xml-utils.c: Added deep_post_create() vfunc, in this one you must always chain up to the parent. * plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in: Added "Add/Remove" parent feature (bug 343786), implemented types: Alignment, Viewport, Event Box, Frame, Aspect Frame, Scrolled Window, Expander, Table, Horizontal Box, Vertical Box, Horizontal Panes, Vertical Panes svn path=/trunk/; revision=1492
-
- 21 Jun, 2007 1 commit
-
-
Vincent Geddes authored
* plugins/gnome/glade-gnome.h, plugins/gtk+/glade-gtk.c plugins/gtk+/glade-gtk.h plugins/gtk+/Makefile.am, plugins/gnome/glade-gnome.c, plugins/gnome/Makefile.am, src/glade-project-window.c, gladeui/glade-editor-property.c, gladeui/glade-parameter.c, gladeui/glade-widget.c, gladeui/glade-command.c, gladeui/glade-palette.c, gladeui/glade-utils.c, gladeui/glade-accumulators.c, gladeui/glade-palette.h, gladeui/glade-binding.h, gladeui/glade-app.c, gladeui/glade-property.c, gladeui/glade-builtins.c, gladeui/glade-project.c, gladeui/Makefile.am: Fix "missing prototype" errors reported by gcc due to increased warning level (-Wmissing-prototypes). Added glade-gnome.h with function prototypes as well. svn path=/trunk/; revision=1384
-
- 17 Jun, 2007 1 commit
-
-
Vincent Geddes authored
* gladeui/glade-command.c: Make strings more translatable (#419979). svn path=/trunk/; revision=1358
-
- 13 Jun, 2007 1 commit
-
-
Tristan Van Berkom authored
* gladeui/glade-command.c: - Fixed cut/paste inside notebooks (widgets wanted to stay on the same page they were cut from) - Fixed special-child-type handling, dont stomp on the special child type for a delete/undo combination (a tab widget deleted and brought back was showing up in the page). svn path=/trunk/; revision=1347
-
- 01 May, 2007 1 commit
-
-
Tristan Van Berkom authored
* gladeui/glade-widget.[ch]: Added 'exact' argument to glade_widget_dup() and added glade_widget_copy_signals() * gladeui/glade-command.c: dup the widget "exactly" when pasting widgets that were cut (not copied), fixing bug 432519 svn path=/trunk/; revision=1287
-
- 06 Feb, 2007 1 commit
-
-
Tristan Van Berkom authored
* gladeui/glade-editor-property.c: changed glade_eprop_text_show_i18n_dialog() to call a command to change the i18n metadata on the label property instead of changing it directly. This allows the change to be un-/re-done (bug 352454). * gladeui/glade-command.[ch]: added the glade_command_set_i18n command. svn path=/trunk/; revision=1071
-
- 28 Jan, 2007 1 commit
-
-
Tristan Van Berkom authored
* gladeui/glade-command.c: Made 'pasting' an explicit arg of glade_command_add(), this fixes the broken clipboard selection search (since we now use dupped widgets only in pastes), now packing defaults and packing property tranfers on paste both work. * gladeui/glade-widget.c: Removed redundant code. svn path=/trunk/; revision=1058
-
- 27 Jan, 2007 1 commit
-
-
Tristan Van Berkom authored
* gladeui/glade-command.c: Set project properly in glade_command_remove() (this fixes undo/redo of add/remove commands in the menueditor... along with the following fixes). * gladeui/glade-widget-adaptor.[ch], gladeui/glade-xml-utils.h: Added GWA_USE_PLACEHOLDERS(), a boolean on the GWA that is loaded from the catalog. * gladeui/glade-utils.[ch]: Removed glade_util_[any_]container_relation. * gladeui/glade-widget.[ch]: Added glade_widget_placeholder_relation * gladeui/glade-app.c, gladeui/glade-fixed.c: Adjusted callers for new glade-widget api. * gladeui/glade-fixed.[ch]: Removed the "use-placehodlers" property since it is now redundant with the new GWA_USE_PLACEHOLDERS (this simplifies things a little). * gladeui/glade-binding.c: Fixed obnoxious startup errors (bug 399178), glade_binding_get_all(), use g_list_prepend()/g_list_reverse() instead of g_list_append() to build a list. * gladeui/glade-base-editor.c: Use the right adaptor for gwa_get_children in glade_base_editor_change_type () (was using adaptor for the destination type). * plugins/gtk/glade-gtk.c: Remove use of "use-placeholders" property on GladeFixed objects. * plugins/gtk/gtk+.xml.in: Setup the "use-placeholders" attribute properly (TRUE on GtkContainer, FALSE on GtkMenuShell, GtkMenuItem, GtkToolBar, GtkFixed, GtkLayout). svn path=/trunk/; revision=1057
-
- 23 Jan, 2007 1 commit
-
-
Tristan Van Berkom authored
* Reorganised package structure, moved a lot of files and directories. Modified the Makefile.am in most directories. * po/POTFILES.in, po/POTFILES.skip: Update for reorganisation. * configure.ac: Add files to AC_CONFIG_FILES. Change AC_CONFIG_SRCDIR. svn path=/trunk/; revision=1050
-
- 22 Jan, 2007 1 commit
-
-
Tristan Van Berkom authored
* src/glade-command.c, src/glade-command.h: - Redesigned the implementation of the following commands: - glade_command_delete - glade_command_create - glade_command_cut - glade_command_copy - glade_command_paste These are now command aliases. - Added a new drag-and-drop command, glade_command_dnd, to replace former glade_command_cut/glade_command_paste command pairs. - Added the following set of canonical commands which comprise the implementation of the command aliases: - glade_command_add - glade_command_remove - glade_command_clipboard_add - glade_command_clipboard_remove * src/glade-gtk.c: Replaced the cut/paste command pair with the dnd command in glade_gtk_menu_shell_move_child(). * src/glade-base-editor.c: Replaced the cut/paste command pair with the dnd command in glade_base_editor_change_type() and glade_base_editor_move_child(). svn path=/trunk/; revision=1048
-
- 12 Dec, 2006 1 commit
-
-
Tristan Van Berkom authored
* src/glade-base-editor.c src/glade-clipboard-view.c src/glade-command.c src/glade-command.h src/glade-design-layout.c src/glade-design-view.c src/glade-editor-property.c src/glade-editor-property.h src/glade-editor.c src/glade-gnome.c src/glade-gtk.c src/glade-palette-box.c src/glade-palette-item.c src/glade-palette.c src/glade-project-view.c src/glade-project-window.c src/glade-project.c src/glade-property-class.c src/glade-property-class.h src/glade-property.c src/glade-property.h src/glade-python-gwa.c src/glade-python.c src/glade-utils.c src/glade-utils.h src/glade-widget-adaptor.c src/glade-widget-adaptor.h src/glade-widget.c src/glade-widget.h Renamed reserved C++ keywords "new", "class", "virtual", "template" and "this" as a prerequisite for adding gtkmm bindings
-
- 19 Oct, 2006 1 commit
-
-
Tristan Van Berkom authored
Added glade-widget-adaptor.[ch], removed glade-widget-class.[ch]. Modified most sources to cope with the major api change.
-
- 06 Sep, 2006 1 commit
-
-
Tristan Van Berkom authored
* src/glade-command.c: Backing out multiple consecutive pastes from 3.0, reopening bug 345603.
-
- 05 Sep, 2006 1 commit
-
-
Juan Pablo Ugarte authored
* src/glade-base-editor.c, src/glade-gtk.c: small optimization, there is no need to move a child if the new parent is the same as the old one. (in GladeBaseEditor "move-child" signal handlers) * src/glade-command.c: fixed a warnign in glade_command_delete_execute() Widgets in the clipboard have no parents.
-
- 17 Aug, 2006 1 commit
-
-
Tristan Van Berkom authored
* src/glade-command.c: Now you can paste widgets to your hearts content. (bug 345603)
-
- 16 Aug, 2006 1 commit
-
-
Juan Pablo Ugarte authored
* src/glade-command.c: fixed bug 345604 "Pasting a widget does not paste the packing options" * src/glade-property-class.[ch]: added transfer_on_paste property to GladePropertyClass. * src/glade-widget.[ch]: exported glade_widget_dup_properties() * src/glade.h added GLADE_TAG_TRANSFER_ON_PASTE tag. * widgets/gtk+.xml.in: set transfer-on-paste on corresponding packing properties.
-
- 11 Aug, 2006 1 commit
-
-
Tristan Van Berkom authored
* src/glade-command.c: Fixed bookkeeping of special-child-type when redoing a paste command.
-
- 10 Aug, 2006 1 commit
-
-
Tristan Van Berkom authored
* src/glade-utils.c: Now check if placeholders are GTK_WIDGET_MAPPED() before returning them, since placeholders "overlap" inside notebooks. * src/glade-command.c: bookkeeping on "special-child-type" for cut/copy/paste consistancy. * src/glade-gtk.c, widgets/gtk+.xml.in: Tons of code added to manage notebooks. * src/glade-widget.c: Change the order of an if statement (avoid comparing irrelevent memory).
-
- 08 Aug, 2006 1 commit
-
-
Juan Pablo Ugarte authored
* src/glade-app.c: reworked glade_app_command_paste () placeholders can not be selected anymore. * src/glade-command.c: in glade_command_cut_copy_paste_common () we try to use the placeholder which has the pointer over it first. * src/glade-fixed.[ch]: add new property "use-placeholders". * src/glade-gtk.c: set "use-placeholders" for GtkBox and GtkTable. * src/glade-popup.c: reworked glade_popup_create_placeholder_menu () and glade_popup_placeholder_paste_cb (), placeholders do not get selected anymore. * src/glade-utils.[ch] glade_util_selected_placeholder () removed, added glade_util_get_placeholder_from_pointer ().
-
- 27 Jul, 2006 1 commit
-
-
Juan Pablo Ugarte authored
* src/glade-base-editor.c, src/glade-editor-property.c: adapted to the new glade_command_set_property() prototype. * src/glade-command.[ch]: changed prototype of glade_command_set_property(), added glade_command_set_property_value() * src/glade-fixed.c: do not call gtk_widget_grab_focus() in glade_fixed_event() it makes widgets fight for the focus on some situations. * src/glade-gtk.c: GtkEntry and GtkTextView support improved. Now text property can be edited from the instance itself.
-
- 26 Jul, 2006 1 commit
-
-
Tristan Van Berkom authored
* src/glade-placeholder.c: Reset cursor after creating a widget. * src/glade-command.c: glade_command_push_group () now formats its own string. * src/glade-base-editor.c: simplify code by letting glade_command_push_group () format its own string. * src/glade-fixed.c, src/glade-gtk.c: Added cuter names for undo/redo items pertaining to drag/resize.
-
- 22 Jul, 2006 1 commit
-
-
Tristan Van Berkom authored
* src/glade-widget.c: Use gtk_widget_get_pointer on the event widget to retrieve the mouse position, not gdk_window_get_pointer on any arbitrary event widget of that window. * src/glade-fixed.c: Use gtk_widget_get_pointer() where we were using gdk_window_get_pointer(). * src/glade-command.c: disabling the debug print. * TODO: Updated
-
- 13 Jul, 2006 1 commit
-
-
Juan Pablo Ugarte authored
* src/Makefile.am: added files glade-base-editor.[ch] * src/glade-accumulators.[ch]: new accumulators glade_string_accumulator() and glade_stop_emission_accumulator () * src/glade-app.c, src/glade-project.c and src/glade-command.c: use of GladeWidgetClass toplevel flag. * src/glade-gtk.c: Use of GladeBaseEditor for GtkMenuBar, GtkToolBar and GtkMenu editors. * src/glade-marshallers.list: added OBJECT:OBJECT,UINT BOOLEAN:OBJECT,UINT BOOLEAN:OBJECT,OBJECT and STRING:OBJECT * src/glade-property.[ch]: Added old_value parameter to GladeProject "value_changed" signal. * src/glade-widget-class.[ch]: added toplevel flag to GladeWidgetClass * src/glade.h: added GLADE_XML_TAG_TOPLEVEL * src/glade-base-editor.[ch]: Created GladeBaseEditor class from GtkMenuBarEditor code from glade-gtk.c * widgets/gtk+.xml.in: o added launch-editor-function for GtkToolbar and GtkMenu. o Set GtkTextView post-create-function to empty (we do not need a placeholder in it). o Set toplevel="True" in GtkWindow and GtkMenu. * doc/widgetclasses.sgml: added toplevel property docs * po/POTFILES.in: added src/glade-base-editor.c
-
- 30 Jun, 2006 1 commit
-
-
Tristan Van Berkom authored
* src/glade-command.c: o Added "#if 0" debugging code and removed an old comment that doesnt make sence anymore. o Now refresh packing properties in set-property commands, as we keep a reference to the GladeProperty, which may be reset on the GladeWidget in question when added to a child. * src/glade-gtk.c: Removed a large complex code segment in glade_gtk_table_set_child_property() that in the end wasnt needed at all.
-
- 29 Jun, 2006 1 commit
-
-
Tristan Van Berkom authored
* src/glade-project.[ch], src/glade-command.[ch]: Major rework underway, phase one complete: Move undo/redo stack logic from glade-command to glade-project and add a "changed" signal on the project ("update-ui" is fired also anytime the "changed" signal is fired). * src/glade-app.c, src/glade-project-window.c: small changes to accomadated afore mentioned api changes. * src/glade-marshallers.list: Added new signal VOID:OBJECT,BOOLEAN
-
- 25 Jun, 2006 1 commit
-
-
Tristan Van Berkom authored
* src/glade-widget.[ch]: o gtk_window_set_decorated() all GtkWindows (bug 344817) o Fixed glade_widget_rebuild(), now properties of internal widgets to composite widgets' properties get transported along. o Fixed popups to only get spawned by the widget in question and not an unknown internal child. o Added widget superuser modes (used by the backend to check when its responsable for maintaining container sizes). o glade_widget_rebuild () fixed so that properties on rebuilt internal children are transfered. * src/glade-project.c: let glade-widget take care of property superuser mode at load time. * src/glade-fixed.ch: connect_after on button_press to give a chance to the selection * src/glade-command.c: Fixed unifies for properties (check that they are on the same widgets). * src/glade-gtk.c: o GtkBox check superuser mode to adjust box size
-
- 24 Jun, 2006 1 commit
-
-
Tristan Van Berkom authored
* src/glade-property.c: Dont call verify funcs in superuser mode * src/glade-command.c: Now unification/collapse of multiple properties works seemlessly * src/glade-editor.c, src/glade-editor-property.c: Added docs. * src/glade-property-class.c: compare 'packing' in glade_property_class_match(). * src/glade-widget-class.c: Fix compiler warnings.
-
- 18 Jun, 2006 1 commit
-
-
Tristan Van Berkom authored
-
- 17 Jun, 2006 1 commit
-
-
Tristan Van Berkom authored
* src/glade-property.[ch]: Added glade_property_[push/pop]_superuser() * src/glade-command.c: refined set_property_execute() and started using glade_property_push/pop_superuser(). * src/glade-project.c: super-user property mode at load time. * src/glade-fixed.c: Added "can-resize" property * src/glade-widget-class.c: Made sure to parse a "Fixed" if there are no other child tags. * src/glade-gtk.c, widgets/gtk+.xml.in: Implemented drag on GtkBox children
-