1. 22 Sep, 2008 1 commit
    • Tristan Van Berkom's avatar
      Fixed adjustments when values are null in libglade mode · 3e54b226
      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
      3e54b226
  2. 20 Sep, 2008 1 commit
    • Tristan Van Berkom's avatar
      Updated. · d1fb1d2b
      Tristan Van Berkom authored
      
      	* TODO: Updated.
      
      	* plugins/gtk+/gtk+.xml.in: 
      	  - Added sizegroup support stuff
      
      	* plugins/gtk+/glade-gtk.c: 
      	  - Added GtkWidgetClass support for add to size group
      	    action with dynamic submenu
      	  - added sizegroup virtual "widgets" property
      	  - added custom load/save support for "widgets" property
      
      	* gladeui/glade-popup.c: Added support for dynamic action submenus
      
      	* gladeui/glade-widget-adaptor.[ch], gladeui/glade-xml-utils.h: Added
      	  GladeActionSubmenuFunc backend support for creation of dynamic
      	  action submenus.
      
      	* gladeui/glade-widget.[ch] removed deadcode glade_widget_create_action_menu()
      
      	* gladeui/glade-project.c: Added readonly "format" property
      
      
      svn path=/trunk/; revision=1940
      d1fb1d2b
  3. 18 Sep, 2008 1 commit
    • Tristan Van Berkom's avatar
      - Show glade widgets in the workspace on selection changes in the project · 745b2193
      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
      745b2193
  4. 17 Sep, 2008 1 commit
    • Tristan Van Berkom's avatar
      Exposed doc_search() command for palette popup · 08bb853e
      Tristan Van Berkom authored
      
      	* gladeui/glade-editor.[ch]: Exposed doc_search() command for palette popup
      
      	* gladeui/glade-popup.[ch]: Added glade_popup_palette_pop(), with add
      	  widget as toplevel feature & doc search feature.
      
      	* gladeui/glade-palette-item.c: Handle right-click for popup
      
      	* gladeui/glade-inspector.c: Make inspector list widgets in natural order
      
      	* gladeui/glade-project.c: Fixed widget order list (bug 422823)
      
      	* gladeui/glade-gtk.c: Fixed widget order inside GtkTable
      	  (bug 422823 - patch by Pavel Kostyuchenko)
      
      
      svn path=/trunk/; revision=1919
      08bb853e
  5. 16 Sep, 2008 1 commit
    • Pavel Kostyuchenko's avatar
      Creating toplevel widget through unified glade-palette interface. Removed · 7a250eda
      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
      7a250eda
  6. 25 Jul, 2007 1 commit
  7. 23 Jul, 2007 1 commit
  8. 18 Jul, 2007 1 commit
    • Tristan Van Berkom's avatar
      fixed memory leaks of description strings in usage of · a19c419e
      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
      a19c419e
  9. 11 Jul, 2007 1 commit
  10. 27 Jun, 2007 1 commit
    • Juan Pablo Ugarte's avatar
      gladeui/glade-popup.[ch] - added packing actions to placeholders · 312c7bca
      Juan Pablo Ugarte authored
      * gladeui/glade-popup.[ch]
        - added packing actions to placeholders
      
      * gladeui/glade-widget-action.[ch]: added "important" flag to GWActionClass
      
      * gladeui/glade-widget-adaptor.[ch]:
        - parse important tag in gwa_action_update_from_node()
      
        - added new "important" parameter to glade_widget_adaptor_pack_action_add() and
          glade_widget_adaptor_action_add()
      
      * gladeui/glade-xml-utils.h: addded GLADE_TAG_IMPORTANT tag
      
      * plugins/gtk+/gtk+.xml.in: marked launch_editor actions as important
      
      * gladeui/glade-inspector.c: make inspector popup include only normal actions.
      
      * src/glade-project-window.c: added important actions to the toolbar.
      
      svn path=/trunk/; revision=1403
      312c7bca
  11. 06 Jun, 2007 1 commit
    • Juan Pablo Ugarte's avatar
      added packing action list to GladePlaceholder · b702dbfa
      Juan Pablo Ugarte authored
      * gladeui/glade-placeholder.[ch]: added packing action list to GladePlaceholder
      
      * gladeui/glade-popup.c: added packing actions to placeholder popup
      
      * gladeui/glade-widget-adaptor.[ch]: added glade_widget_adaptor_pack_actions_new ()
      
      * gladeui/glade-widget.c: use new function glade_widget_adaptor_pack_actions_new () in
        glade_widget_set_packing_actions()
      
      * plugins/gtk+/glade-gtk.c: take into acount placeholders get paking actions
        glade_gtk_box_notebook_child_insert_action() and glade_gtk_table_child_insert_action() fixed.
      
      svn path=/trunk/; revision=1339
      b702dbfa
  12. 31 May, 2007 1 commit
    • Juan Pablo Ugarte's avatar
      added packing actions to glade_popup_action_populate_menu() · c00489f8
      Juan Pablo Ugarte authored
      * gladeui/glade-popup.c: added packing actions to glade_popup_action_populate_menu()
      
      * gladeui/glade-widget-action.c: fixed a couple of typos in glade_widget_action_constructor()
      
      * gladeui/glade-widget-adaptor.[ch]:
      
        - Added packing actions, just like properties the action tag should be inside an actions or
          packing-actions tag, also you can put an action tag inside other action tag :p
      
        - added GladeChildActionActivatedFunc child_action_activate to GladeWidgetAdaptorClass
      
        - added packing_actions list to GladeWidgetAdaptor
      
        - added new functions:
          glade_widget_adaptor_pack_action_add(), glade_widget_adaptor_pack_action_remove()
          and glade_widget_adaptor_child_action_activate()
      
      * gladeui/glade-widget.[ch]:
      
        - added packing_actions list to GladeWidget
      
        - set packing actions in glade_widget_set_parent()
      
        - added glade_widget_get_pack_action() and glade_widget_remove_pack_action()
      
      * gladeui/glade-xml-utils.h:
      
        - new tags GLADE_TAG_CHILD_ACTION_ACTIVATE_FUNCTION, GLADE_TAG_ACTIONS 
          and GLADE_TAG_PACKING_ACTIONS.
      
        - removed unused tag GLADE_TAG_ACTION_GROUP
      
      * plugins/gtk+/gtk+.xml.in: Added a couple of child packing actions (fixes #438881)
      
        - GtkBox:  insert_before and insert_after
      
        - GtkTable: insert_row/after, insert_row/before, insert_column/after and insert_column/before
      
      * plugins/gtk+/glade-gtk.c: added child-action-activate-function functions
        glade_gtk_box_child_action_activate () and glade_gtk_table_child_action_activate()
      
      svn path=/trunk/; revision=1330
      c00489f8
  13. 23 May, 2007 1 commit
    • Juan Pablo Ugarte's avatar
      added gladeui/glade-widget-action.[ch] · b9d02962
      Juan Pablo Ugarte authored
      * gladeui/Makefile.am: added gladeui/glade-widget-action.[ch]
      
      * gladeui/glade-popup.[ch]:
        - added glade_popup_action_populate_menu()
      
        - adapted popup code to reflect action changes.
      
      * gladeui/glade-widget-action.[ch]: GladeWidgetAction GObject sources.
      
      * gladeui/glade-widget-adaptor.[ch]:
      
        - action-activated signal removed
      
        - added GladeActionActivateFunc
      
        - added glade_widget_adaptor_action_add() and glade_widget_adaptor_action_remove()
      
        - glade_widget_adaptor_action_activate() reworked. 
      
        - load symbol and other catalog stuff in gwa_derived_class_init()
      
        - added the posibility to override GObject constructor from the catalog.
          This is a good place to add/remove actions, use GWA_GET_OCLASS() to chain up.
      
      * gladeui/glade-widget.[ch]:
        - removed action-activated signal
      
        - added glade_widget_get_action (), glade_widget_remove_action() and
          glade_widget_create_action_menu()
      
      * gladeui/glade-xml-utils.h: added GLADE_TAG_ACTION_ACTIVATE_FUNCTION and 
        GLADE_TAG_CONSTRUCTOR_FUNCTION tags
      
      * plugins/gtk+/glade-gtk.c:
        - added glade_gtk_menu_shell_action_activate() glade_gtk_menu_item_action_activate()
          and glade_gtk_toolbar_action_activate()
      
        - removed glade_gtk_menu_post_create() and glade_gtk_menu_launch_editor_action()
      
      * plugins/gtk+/gtk+.xml.in:
        - glade_gtk_menu_post_create() removed
      
        - added action-activate-function for MenuShell MenuItem and Toolbar.
      
      
      svn path=/trunk/; revision=1325
      b9d02962
  14. 02 May, 2007 1 commit
    • Tristan Van Berkom's avatar
      Removed submenus for the ancestry since Vincent did that magic to the · 737f62c3
      Tristan Van Berkom authored
      
      	* gladeui/glade-popup.[ch], gladeui/glade-widget.c, gladeui/glade-project-view.c: 
      	  Removed submenus for the ancestry since Vincent did that magic to the project view, 
      	  all is cleaner now.
      
      	* gladeui/glade-widget-adaptor.c: Removed #include "glade-binding.h" and
      	  all the scripting crap that went with it.
      
      
      svn path=/trunk/; revision=1294
      737f62c3
  15. 23 Jan, 2007 1 commit
  16. 21 Nov, 2006 1 commit
    • Juan Pablo Ugarte's avatar
      Added python/pygtk checks. · e29d9b0f
      Juan Pablo Ugarte authored
      * configure.in: Added python/pygtk checks.
      
      * src/Makefile.am: added glade-binding.[ch] and BUILD_PYTHON rules
      
      * src/glade-app.c:
        o added glade_scripts_dir and glade_bindings_dir globals
        o loading / unloading bindings.
      
      * src/glade-binding.[ch]: GladeBinding support this is the glue code
        between glade core and bindings modules.
      
      * src/glade-catalog.c: support for loading catalogs supported by
        bindings, added language member to GladeCatalog.
      
      * src/glade-marshallers.list: added new marshallers BOOLEAN:STRING and
        BOOLEAN:OBJECT,STRING
      
      * src/glade-paths.sh.in: added GLADE_BINDINGSDIR and GLADE_SCRIPTSDIR.
      
      * src/glade-popup.c: added support for GWAAction
        (shows context actions as menu items)
      
      * src/glade-project-window.c: added window which a console for each
        GladeBinding that provide a console.
      
      * glade-python-gwa.c: GladeWidgetAdaptor python wrapper.
      
      * glade-python-gwa.[defs override]: files used by pygtk-codegen-2.0
        to create glade-python-gwa.c
      
      * glade-python.c: GladeBinding plugin for python language.
      
      * src/glade-widget-adaptor.[ch]:
        o added GWAAction support.
        o added "action-activated" signal
        o added glade_create_reason_get_type() so the enum can be exposed in
          bindings as a GEnum.
        o added "adaptor" property to glade-widget-class this way non C catalog
          plugins can define the GladeWidgetAdaptor derived class.
          <glade-widget-class name="Custom" adaptor="CustomAdaptor"/>
        o setup binding scripts as actions.
        o added glade_widget_adaptor_emit_action_activated()
          (used in glade-popup.c)
      
      * src/glade-widget.[ch]: added "action-activated" signal.
      
      * src/glade.h: added GLADE_TAG_LANGUAGE, GLADE_TAG_ACTION_GROUP,
        GLADE_TAG_ACTION, GLADE_TAG_STOCK, glade_scripts_dir and
        glade_bindings_dir.
      e29d9b0f
  17. 29 Oct, 2006 1 commit
    • Tristan Van Berkom's avatar
      - Use the new GtkRecent API, and make it screen aware. - Added the notion · 8d0cbc8e
      Tristan Van Berkom authored
      	* src/glade-project-window.c:
      	  - Use the new GtkRecent API, and make it screen aware.
      	  - Added the notion of a 'default_path' for file open/save
      	    operations. Replaces the previous recent-file based
      	    implementation.
      	  - Hide statusbar grip when window is in maximised state.
      	  - Set a reasonable default size for props editor and tree.
      
      	* src/glade-popup.c: Removed the "Properties" context action as
      	  it doesn't really make sense in the single-window ui.
      
      	* widgets/gtk+.xml.in: Added some displayable values for the
      	  GtkWindow::type-hint property.
      8d0cbc8e
  18. 19 Oct, 2006 1 commit
  19. 12 Aug, 2006 1 commit
  20. 08 Aug, 2006 1 commit
    • Juan Pablo Ugarte's avatar
      reworked glade_app_command_paste () placeholders can not be selected · f02782c5
      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 ().
      f02782c5
  21. 06 May, 2006 1 commit
    • Tristan Van Berkom's avatar
      Fixed up GtkTable to not refresh placehlolders when doing a · 31f5587d
      Tristan Van Berkom authored
      
      	* src/glade-gtk.c: Fixed up GtkTable to not refresh placehlolders when
      	  doing a glade_gtk_table_replace_child() replacing a placeholder with
      	  a GladeWidget (only the other way around), this way placeholders are
      	  preserved during the operation of pasting multiple widgets to a GtkTable
      	  (and each pasted widget has its own seperate place in the table).
      
      	* src/glade-command.c: Fixed "props recorded" marker to be marked on a per
      	  widget basis, this was causing only one widget in a list of pasted widgets
      	  to have its newly introspected packing props recorded (now they are all
      	  recorded)
      
      	* src/glade-popup.c: Create insensitive 'paste' items when the clipboard
      	  has no selection.
      
      	* src/glade-editor.[ch]: Insensitive "Documentation" and "Reset" buttons when
      	  no widget is loaded.
      31f5587d
  22. 24 Apr, 2006 1 commit
    • Tristan Van Berkom's avatar
      Updated · 00859f54
      Tristan Van Berkom authored
      
      	* 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
      00859f54
  23. 15 Feb, 2006 1 commit
    • Tristan Van Berkom's avatar
      Fixed bug in glade_widget_dup_internal () (stupid typo of mine when fixing · 9b5aa90b
      Tristan Van Berkom authored
      	* src/glade-widget.c: Fixed bug in glade_widget_dup_internal ()
      	  (stupid typo of mine when fixing 320077)
      
      	* src/glade-utils.[ch]: Removed all the Cut/Copy/Paste/Delete
      	  stuff, now all in GladeApp.
      
      	* src/glade-app.c: Moved the bulk of code from glade-utils to
      	  glade-app (cut/copy/paste/delete) since it was confusing to
      	  see the chain of events, it should be simpler overall now.
      
      	* doc/glade-sections.txt, doc/tmpl/*: Adjusted doc structure
      	  for new apis and removed old apis.
      9b5aa90b
  24. 07 Feb, 2006 1 commit
    • Tristan Van Berkom's avatar
      require automake 1.9 · d6ea83cb
      Tristan Van Berkom authored
      
      
      	* autogen.sh: require automake 1.9
      
      	* Makefile.am, doc/Makefile.am, doc/.cvsignore, configure.in:
      	  Added environment for gtk-doc generation.
      
      	* doc/glade-docs.sgml, doc/glade-sections.txt, doc/glade.types,
      	  doc/version.xml.in, doc/tmpl/*: Added initial documentation
      	  metadata.
      
      	* src/*.h: Line break LIBGLADEUI_API everywhere so that documentation
      	  generation works (wierd trade, I know).
      
      	* po/POTFILES.in: Added glade-custom.c
      
      Modified Files:
      	ChangeLog Makefile.am autogen.sh configure.in po/POTFILES.in
      	src/glade-app.h src/glade-catalog.h src/glade-clipboard-view.h
      	src/glade-clipboard.h src/glade-command.c src/glade-command.h
      	src/glade-editor-property.c src/glade-editor-property.h
      	src/glade-editor.c src/glade-editor.h
      	src/glade-fixed-manager.h src/glade-gtk.c src/glade-palette.h
      	src/glade-parameter.h src/glade-placeholder.h
      	src/glade-popup.c src/glade-project-view.c
      	src/glade-project-view.h src/glade-project-window.c
      	src/glade-project.c src/glade-project.h
      	src/glade-property-class.c src/glade-property-class.h
      	src/glade-property.c src/glade-property.h
      	src/glade-signal-editor.h src/glade-signal.c src/glade-utils.c
      	src/glade-utils.h src/glade-widget-class.h src/glade-widget.c
      	src/glade-widget.h src/glade-xml-utils.h
      Added Files:
      	doc/.cvsignore doc/Makefile.am doc/glade-docs.sgml
      	doc/glade-sections.txt doc/glade.types doc/version.xml.in
      	doc/tmpl/glade-app.sgml doc/tmpl/glade-catalog.sgml
      	doc/tmpl/glade-clipboard-view.sgml
      	doc/tmpl/glade-clipboard.sgml doc/tmpl/glade-command.sgml
      	doc/tmpl/glade-editor-property.sgml doc/tmpl/glade-editor.sgml
      	doc/tmpl/glade-fixed-manager.sgml doc/tmpl/glade-palette.sgml
      	doc/tmpl/glade-parameter.sgml doc/tmpl/glade-parser.sgml
      	doc/tmpl/glade-placeholder.sgml
      	doc/tmpl/glade-project-view.sgml doc/tmpl/glade-project.sgml
      	doc/tmpl/glade-property-class.sgml
      	doc/tmpl/glade-property.sgml doc/tmpl/glade-signal-editor.sgml
      	doc/tmpl/glade-signal.sgml doc/tmpl/glade-utils.sgml
      	doc/tmpl/glade-widget-class.sgml doc/tmpl/glade-widget.sgml
      d6ea83cb
  25. 24 Jan, 2006 2 commits
  26. 09 Dec, 2005 1 commit
    • Tristan Van Berkom's avatar
      Added support for GtkCombo, GtkList, GtkCList Also added support for the · daee3ee2
      Tristan Van Berkom authored
      
      	* src/glade-gtk.c, widgets/gtk+.xml: Added support for GtkCombo, GtkList, GtkCList
      	  Also added support for the new "get_internal_children" backend function
      
      	* src/glade-popup.c: Adjusted to make the "Add" submenu available
      	  for any special container relationships (not just non-widgets).
      
      	* src/glade-utils.[ch]: Added glade_util_purify_list()
      
      	* src/glade-widget-class.[ch], src/glade.h: Added GladeGetInternalChildrenFunc and changed
      	  glade_widget_class_contains_non_widgets for glade_widget_class_contains_extra
      daee3ee2
  27. 06 Dec, 2005 1 commit
    • Tristan Van Berkom's avatar
      Modified Files: ChangeLog po/az.po po/en_CA.po po/es.po po/ja.po po/ms.po · cf473018
      Tristan Van Berkom authored
      
      Modified Files:
       	ChangeLog po/az.po po/en_CA.po po/es.po po/ja.po po/ms.po
       	po/nn.po po/no.po po/pl.po po/pt.po po/ru.po po/sv.po po/ta.po
       	po/tr.po po/uk.po po/zh_CN.po src/glade-app.c src/glade-app.h
       	src/glade-catalog.c src/glade-catalog.h src/glade-command.c
       	src/glade-cursor.c src/glade-debug.c
       	src/glade-editor-property.c src/glade-editor.c src/glade-gtk.c
       	src/glade-id-allocator.c src/glade-palette.c
       	src/glade-parameter.c src/glade-placeholder.c
       	src/glade-popup.c src/glade-project-view.c
       	src/glade-project-window.c src/glade-project.c
       	src/glade-property-class.c src/glade-property.c
       	src/glade-signal-editor.c src/glade-signal.c src/glade-utils.c
       	src/glade-widget-class.c src/glade-widget.c src/main.c
      
        Updated land address for the Free Software Foundation in Boston.
      cf473018
  28. 09 Aug, 2005 1 commit
    • Tristan Van Berkom's avatar
      Added new GladeFixedManager code to handle GtkFixed and GtkLayout in a · 7f477ebb
      Tristan Van Berkom authored
      
      	* src/Makefile.am, src/glade-accumulators.[ch], glade-fixed-manager.[ch]:
      	  Added new GladeFixedManager code to handle GtkFixed and GtkLayout in a
      	  sexier fashion (and in a way that allows any GtkContainer to subscribe
      	  to this service through the plugin).
      
      	* src/glade-builtins.c: Fixed date typo
      
      	* src/glade-command.[ch]:
      	    - glade_command_set_properties () added to set multiple properties at
      	      the same time plus allowing to specify the old value that it changed
      	      from (this is usefull for drag & resize undo events).
      
      	    - Added a g_object_ref to the properties in set property commands
      
      	    - Create/Delete/Cut/Paste code to now use GladeFixedManager where appropriate
      
      	    - Now when we "Cut" a widget, we save a copy of its packing properties for
      	      future undo's (if it was pasted in another container and "undo" a couple
      	      times, this becomes nescisary).
      
      	* src/glade-cursor.[ch]: Added all the new cursor types needed
      	  for drag/resize events.
      
      	* src/glade-editor.[ch]: Handle property signals better, added
      	  signal handler for "value-changed" & "notify::enabled" signals to reload
      	  & update property values, removed alot of redundant property reloading code.
      
      	* src/glade-gtk.c: Remove the old clunky GtkFixed handling code and replaced
      	  it with a call to glade_fixed_manager_new () (also implemented fixed manager
      	  for GtkLayout).
      
      	* src/glade-marshallers.list: Added new marshallers
      
      	* src/glade-project-window.c, main.c: Removed all those includes and
      	  replaced with #include "glade.h".
      
      	* src/glade-property.[ch]: Fixed broken types from when I played with headers,
      	  now the forward declarations are back. (also changed CINFO for the more popular
      	  alternative; KLASS).
      
      	* src/glade-utils.c: glade_util_paste_clipboard () now is GladeFixedManager aware.
      
      	* src/glade-widget.[ch]:
      	    - use glade-fixed-manager to add children when loading glade files
      	    - notify manager of handled mouse events (this is a hack that should
      	      go, once we handle the streamlining of button-press-events on GladeWidget's
      	      properly).
      	    - fixed broken types.
      	    - Added glade_widget[_pack]_property_set_enabled()
      	    - Added some doc.
      	    - Made glade_widget_retrieve_from_position() public.
      
      	* src/glade.h: Added headers.
      
      	* widgets/gtk+.xml: GladeFixedManager on GtkFixed & GtkLayout.
      7f477ebb
  29. 25 Jul, 2005 1 commit
    • Tristan Van Berkom's avatar
      Added show_properties method to app_class, this way the implementing · 7f08c6ac
      Tristan Van Berkom authored
      
      	* src/glade-app.[ch]: Added show_properties method to app_class, this way
      	  the implementing application can provide an implementation for show_properties.
      
      	* src/glade-project-window.c:
      	    - Implemented show_properties method
      	    - Linked the update_ui_cb directly to app_class->update_ui_signal
      	    - Removed ugly reference to editor->project_window
      
      	* src/glade-popup.c: Call show_properties upon "properties" popup click.
      
      	* src/glade-editor.h: Removed project_window from instance struct (useless and a PITA
      	  to set).
      7f08c6ac
  30. 02 May, 2005 1 commit
  31. 20 Apr, 2005 1 commit
  32. 02 Apr, 2005 1 commit
    • Tristan Van Berkom's avatar
      Added global selection API which takes multiple projects into account. · 72879b38
      Tristan Van Berkom authored
      
      	* src/glade-app.[ch]: Added global selection API which takes multiple
      	  projects into account.
      
      	* src/glade-command.c, src/glade-project-view.c,
      	  src/glade-utils.c, src/glade-widget.c:
      	  Use new selection API / Support paste on top-levels
      	  which change projects.
      
      	* src/glade-project.[ch]: Added glade_project_has_object ()
      
      	* src/glade-project-window.c: Made project menu items radio.
      72879b38
  33. 01 Apr, 2005 2 commits
    • Tristan Van Berkom's avatar
      fixed dialog behavior in list mode. · 4840235e
      Tristan Van Berkom authored
      
      	* src/glade-project-view.c: fixed dialog behavior in list mode.
      
      	* src/glade-app.c, src/glade-command.c,
      	  src/glade-utils.[ch], src/glade-popup.[ch]:
      	  Support for paste without selection (for toplevels only).
      
      	* src/glade-clipboard-view.c: Added context menu with Delete & Paste
      4840235e
    • Tristan Van Berkom's avatar
      Added MAINTAINERS file. · da22c8c6
      Tristan Van Berkom authored
      
      
      
      	* Added MAINTAINERS file.
      
      	* AUTHORS: Added me to authors list
      
      	* src/glade-popup.c: Fixed selection bug (placeholders
      	  werent loosing selection when selection changes through
      	  the popup).
      
      	* src/glade-project-window.c: Added "Expand all"/"Collapse all" in
      	  the widget tree veiw (bug 164740)
      
      	* src/glade-widget.c: Remove redundant paranoia code.
      da22c8c6
  34. 28 Feb, 2005 1 commit
  35. 05 Nov, 2004 1 commit
    • Tristan Van Berkom's avatar
      Implemented glade_command_copy () (undo/redo works like a charm :-) · 7e43051d
      Tristan Van Berkom authored
      2004-11-03  Tristan Van Berkom  <tristan.van.berkom@gmail.com>
      
              * src/glade-command.[ch], glade-popup.c, glade-project-window.c:
      	  Implemented glade_command_copy () (undo/redo works like a charm :-)
      
      	* src/glade-widget.c: Simplified / Improved code respecting custom properties.
      
      	* src/glade-project.c: Simplified some code around selection, project management
       	  (improved fixes for bugs 156515 and 155892).
      7e43051d
  36. 28 Oct, 2004 1 commit
    • Tristan Van Berkom's avatar
      Implemented glade_editor_query_popup(), also obsoleted common & packing · d718761f
      Tristan Van Berkom authored
      2004-10-28  Tristan Van Berkom  <tristan.van.berkom@gmail.com>
      
              * src/glade-editor.[ch]: Implemented glade_editor_query_popup(), also obsoleted
                common & packing booleans for a more convenient GladeEditorTableType field.
      
              * src/glade-gtk.c:
                - Refitted and integrated Mickael Cornet's patch to bug 153823
                - glade_gtk_table_set_n_common() now refuses to shrink when it involves
                  orhpaning widgets, Its also been improved to fill in all the blanks.
                - Removed all dialogs.
                - Fixed children are now born with size-request properties enabled.
                - Removed some `#if 0' code that I trust we dont need.
                - glade_gtk_box_set_size() Adjusted to match gtk_table behaviour
      
              * src/glade-plugin.h:
                - Added a header to the batch.
      
              * src/glade-popup.c: glade_popup_copy_cb() now duplicates the
                widget in question with glade_widget_dup().
      
              * src/glade-property-class.[ch]: glade_property_class_update_from_node() now
                flags properties that need a pupop dialog at creation time.
      
              * src/glade-property.[ch]: Implemented glade_property_sync() (Sychronizes
                the object with its glade_property), glade_property_set() now calls
                glade_property_sync().
      
              * src/glade-widget.[ch]:
                - Implemented glade_widget_dup().
                - Added call to glade_property_sync on appropriate properties that
                  need to be synchronized after a glade_widget_rebuild().
                - Added a call to glade_editor_query_popup() in the appropriate situation.
                - glade_widget_build_object() now takes into account property_class default values
                - glade_widget_new() now calls new function glade_widget_sync_query_props() in
                  popup cases (If properties dont change from there default, a synchronization is
                  needed at this point).
              * widgets/gtkbox.xml:
                - Removed reference to obsoleted post_create function.
                - Changed `ignore' to `empty' for the fill_empty funciton.
                - Tagged "Size" property as type "Query".
                - Added Default size 3
                - Changed Minimum size to 2
      
              * widgets/gtknotebook.xml:
                - Tagged "pages" property as type "Query".
                - Removed obsolete (or never implemented) Query section.
      
              * widgets/gtktable.xml:
                - Tagged "n-rows" and "n-columns" properties as type "Query".
                - Removed obsolete (or never implemented) Query section.
      
              * widgets/gtklabel.xml: Added default "" value for pattern property, this
                works around gtk+ bug 156720 which was causing us segfaults.
      d718761f
  37. 22 Oct, 2004 1 commit
    • Tristan Van Berkom's avatar
      Added functionality for GtkFixed (also replaced some ints with gints and · 36e15441
      Tristan Van Berkom authored
      2004-10-22  Tristan Van Berkom  <tristan.van.berkom@gmail.com>
      
      	* src/glade-gtk.c: Added functionality for GtkFixed (also replaced some
      	  ints with gints and chopped down some lines).
      
      	* src/glade-plugin.h: Added some headers for the plugin (needed for
      	  GtkFixed)
      
      	* src/glade-popup.c,src/glade-project.c: Replaced reference to
      	  GLADE_WIDGET_IS_TOPLEVEL (support for deprication of flags on
      	  GladeWidgetClass).
      
      	* src/glade-project-view.c: Replaced reference to
      	  GLADE_WIDGET_IS_TOPLEVEL (support for deprication of flags on
      	  GladeWidgetClass).
      
      	* src/glade-project-window.[ch]: Replace gpw->project with
      	  gpw->active_project and added
      	  glade_project_window_get_active_project() for clarity's sake.
      
      	* src/glade-property-class.h: Added construct_only as a quick reference
      	  (to G_PARAM_CONSTRUCT_ONLY).
      
      	* src/glade-property.c: glade_property_set() will now check for
      	  construct_only and call glade_widget_rebuild_instance() if needed.
      
      	* src/glade-utils.c: fixed the queue_nodes code to add a reference on
      	  the GladeWidget pertaining to the expose event, since the code
      	  depends on the existance of the GladeWidget, the GtkWidget and the
      	  GdkWindow as opposed to only the GdkWindow
      
      	* src/glade-widget-class.c: Update construct_only tab upon construction
      	  of GladePropertyClass structs. Removed set of depricated flags on
      	  GladeWidgetClass.
      
      	* src/glade-widget-class.h: Removed depricated flag macro definitions
      	  (and removed the flags)
      
      	* src/glade-widget.c:
      	- Fixed Segfaults (Removed glade_widget_class_free() in finalize)
      	- Objects are now built with thier properties as paramaters of
      	  g_object_newv
      	- Added glade_widget_rebuild_instance for the purpose of changing
      	  properties that are flagged as G_PARAM_CONSTRUCT_ONLY.
      
      	* pixmaps/fixed_bg.xpm: New picture for background of GtkFixed.
      
      	* widgets/gtkfixed.xml,widgets/Makefile.am: Add definition of GtkFixed.
      36e15441
  38. 04 Oct, 2004 1 commit