1. 04 Dec, 2006 2 commits
    • Tristan Van Berkom's avatar
      Rolling 3.1.1 · 0883606a
      Tristan Van Berkom authored
      
      	* configure.in, NEWS: Rolling 3.1.1
      0883606a
    • Tristan Van Berkom's avatar
      - Refactor GladePalette code slightly - Selector button can now be hidden. · cd38657c
      Tristan Van Berkom authored
      
      	* src/glade-palette.[ch]:
      	  - Refactor GladePalette code slightly
      	  - Selector button can now be hidden.
      	  - Palette items are now implemented as toggle buttons.
      
      	* src/glade-palette-item.[ch]: GladePaletteItem is now a
      	  subclass of GtkToggleButton instead of GtkRadioButton.
      
      	* src/glade-app.c, src/glade-fixed.c, src/glade-placeholder.c:
      	  update for change in GladePalette API.
      
      	* src/glade-design-layout.c: Improved drawing code.
      
      	* src/glade-project-window.c:
      	  - Refactored recent files code.
      	  - Added "Widget Selector" button to main toolbar. Is an
      	    external selector button for the palette
      	  - Fixed #373255 - "Doesn't warn about unsaved document
      	    on quit"
      
      	* pixmaps/selector.png: New selector button.
      cd38657c
  2. 30 Nov, 2006 1 commit
    • Juan Pablo Ugarte's avatar
      removed glade_gnome_about_dialog_get_children() · d11faf5d
      Juan Pablo Ugarte authored
      * widgets/gnome.xml.in: removed glade_gnome_about_dialog_get_children()
      
      * src/glade-gnome.c: Code cleanup
        o removed every g_return_if_fail()
        o removed glade_gnome_about_dialog_get_children()
        o glade_gnome_dpe_set_property() reworked. (lots of function merged)
        o glade_gnome_dps_set_property() fixed.
      d11faf5d
  3. 28 Nov, 2006 1 commit
    • Juan Pablo Ugarte's avatar
      o reference adaptor->type class in glade_widget_adaptor_constructor() · 1c90a025
      Juan Pablo Ugarte authored
      * src/glade-widget-adaptor.c:
        o reference adaptor->type class in glade_widget_adaptor_constructor()
          because gwa_setup_properties() and gwa_list_signals() need this.
        o added extra checks in adaptor methods
          g_type_is_a (G_OBJECT_TYPE (object), adaptor->type)
          now we can safelly get rid of checks in the plugin code.
      1c90a025
  4. 22 Nov, 2006 3 commits
  5. 21 Nov, 2006 3 commits
    • Tristan Van Berkom's avatar
      Fixed a segfault in glade_widget_dup(), some things are done before · 8549c3d0
      Tristan Van Berkom authored
      
      	* src/glade-property.c: Fixed a segfault in glade_widget_dup(), some things
      	  are done before setting the "class", so I made sure not to touch the
      	  class member during object construction time.
      8549c3d0
    • 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
    • Tristan Van Berkom's avatar
      - glade_property_set_enabled(), when enableing a property, sync its value · e6484fc8
      Tristan Van Berkom authored
      
      	* src/glade-property.c:
      	  - glade_property_set_enabled(), when enableing a property, sync its
      	    value incase it has any visual feedback.
      	  - removed the horrid code that dealt with the project and selection
      	    when calling glade_widget_rebuild()
      	  - use new glade_widget_object_set_property()/glade_widget_child_set_property().
      
      	* src/glade-widget.c:
      	  - glade_widget_rebuild(), added the afore mentioned horrid code - doesnt
      	    seem so horrid over here.
      	  - added apis to proxy property setting onto the object (via the gwa).
      	  - Now sync all properties again at sync_custom_props() time (since there's
      	    no set_function anymore and property->class->virtual isnt enough).
      
      	* src/glade-design-layout.c: Added commented alternative code for
      	  resizing, TODO remove the direct property setting stuff and handle it
      	  somewhere appropriate.
      
      	* src/glade-fixed.c: Commented out a g_return_if_fail and temporarily
      	  put an if (statement) return; need to work on handling events differently
      	  now (its no big deal, there are just some extra events now comming from the
      	  toplevels at focus change times and stuff that are irrelevent to the
      	  glade widgets and so the code complains).
      
      	* src/glade-gnome.c, src/glade-gtk.c: Ported to the new api for
      	  set_property/get_property/verify_property.
      
      	* src/glade-property-class.[ch]: Removed get/set/verify property backend hooks
      
      	* src/glade-widget-adaptor.[ch]: Added get/set/verify property backend hooks,
      	  now the adaptor is a solid self-contained proxy to the plugin.
      e6484fc8
  6. 16 Nov, 2006 1 commit
  7. 09 Nov, 2006 1 commit
    • Juan Pablo Ugarte's avatar
      o manage all GModules with a hash table. o added · 68308571
      Juan Pablo Ugarte authored
      * src/glade-catalog.[ch]:
        o manage all GModules with a hash table.
        o added glade_catalog_modules_close()
      
      * src/glade-app.c:
        o call glade_catalog_modules_close() when the app finalize.
        o removed unnecesary headers.
      * src/glade-gnome.c: fixed some warnings.
      
      * src/glade-utils.c: slight optimization in function
        glade_util_get_type_from_name (), check if type is already registered.
      
      * src/glade.h: removed unneeded #ifdef GLADE_H check.
      
      * src/glade-widget-adaptor.[ch]:
        o removed module member from GladeWidgetAdaptorPriv since now we keep
          all the openned modules inside glade-catalog.c
        o added glade_abort_if_derived_adaptors_exist().
      68308571
  8. 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
  9. 27 Oct, 2006 4 commits
  10. 26 Oct, 2006 1 commit
    • Tristan Van Berkom's avatar
      o integrate ui into one main window. o A GtkNotebook is used to display · 90ba661f
      Tristan Van Berkom authored
      
      	* src/glade-project-window.c:
      	  o integrate ui into one main window.
      	  o A GtkNotebook is used to display GladeDesignView's.
      
      	* src/glade-project-view.[ch]: add "item-activated" signal.
      
      	* src/glade-design-layout.[ch], src/glade-design-view.[ch]:
      	  new files.
      
      	* src/glade-widget.[ch]:
      	  o Added functions for embedding toplevel GladeWidgets
      	  o glade_widget_show() modified to manage embedding of
      	    toplevels.
      90ba661f
  11. 23 Oct, 2006 3 commits
  12. 20 Oct, 2006 1 commit
    • Tristan Van Berkom's avatar
      Removed the python check · 812eb6a3
      Tristan Van Berkom authored
      
      	* configure.in: Removed the python check
      
      	* src/glade-widget-adaptor.c: Fixed properties
      	  (some were being ignored).
      
      	* src/glade-gtk.c, widget/gtk+.xml:
      	  Gave some love to some 2.10 properties
      812eb6a3
  13. 19 Oct, 2006 1 commit
  14. 18 Oct, 2006 2 commits
  15. 17 Oct, 2006 1 commit
  16. 09 Oct, 2006 1 commit
  17. 05 Oct, 2006 2 commits
  18. 04 Oct, 2006 2 commits
  19. 01 Oct, 2006 1 commit
  20. 29 Sep, 2006 4 commits
  21. 23 Sep, 2006 1 commit
    • Juan Pablo Ugarte's avatar
      fixed bug 353126 "glade3.0.1 lost icons in gtkmenuitem" · bda0f642
      Juan Pablo Ugarte authored
      * src/glade-property-class.c: fixed bug 353126
        "glade3.0.1 lost icons in gtkmenuitem"
        glade_property_class_make_object_from_string() now returns a new
        pixfuf for each missing file name.
      
      * src/glade-editor-property.c: make GladeEPropResource change property
        value on focus-out event.
      bda0f642
  22. 22 Sep, 2006 3 commits