1. 16 Sep, 2008 2 commits
    • 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
    • Tristan Van Berkom's avatar
      Fixed calculation to get deepest wrapped glade widget (bug 539924 - fix by · 8a3fe789
      Tristan Van Berkom authored
      
      	* gladeui/glade-design-layout.c: Fixed calculation to get deepest
      	  wrapped glade widget (bug 539924 - fix by Pavel Kostyuchenko).
      
      
      svn path=/trunk/; revision=1906
      8a3fe789
  2. 02 Sep, 2008 1 commit
  3. 17 Aug, 2008 1 commit
  4. 09 Aug, 2008 2 commits
  5. 06 Aug, 2008 2 commits
  6. 24 Jul, 2008 1 commit
    • Juan Pablo Ugarte's avatar
      added name parameter to GladeCatalogInitFunc. · 94982e05
      Juan Pablo Ugarte authored
      * gladeui/glade-catalog.c: added name parameter to
        GladeCatalogInitFunc.
      
      * python/glade-python.c: New plugin to support python widget
        at runtime.
      
      * m4/python.m4, glade3/configure.ac, plugins/Makefile.am,
        plugins/python/Makefile.am:
        added python check and build rules.
      
      * gnome/glade-gnome.c: updated glade_gnomeui_init() prototype
      
      
      svn path=/trunk/; revision=1844
      94982e05
  7. 27 May, 2008 1 commit
  8. 13 May, 2008 1 commit
  9. 11 May, 2008 2 commits
  10. 05 May, 2008 1 commit
  11. 02 May, 2008 1 commit
    • Tristan Van Berkom's avatar
      Removed unused prototypes · a4358b60
      Tristan Van Berkom authored
      
      	* gladeui/glade-utils.h, gladeui/glade-builtins.h: Removed unused prototypes
      
      	* gladeui/glade-editor.c: Added safety check.
      
      	* gladeui/glade-property.c: Dont load virtual properties.
      
      	* gladeui/glade-property-class.c: Fixed bug where G_PARAM_SPEC_BOXED was
      	  used to check if the value held a boxed type.
      
      
      svn path=/trunk/; revision=1810
      a4358b60
  12. 17 Apr, 2008 1 commit
    • Juan Pablo Ugarte's avatar
      added glade_property_class_compare() · 7fd3d8fc
      Juan Pablo Ugarte authored
      * gladeui/glade-property-class.[ch]: added glade_property_class_compare()
      	
      * gladeui/glade-editor-property.c: use new compare function in
        glade_editor_property_commit() instead of g_param_values_cmp()
        since GBoxed comparison is not well defined.
        Fixes bug #528511.
      
      svn path=/trunk/; revision=1800
      7fd3d8fc
  13. 16 Apr, 2008 1 commit
  14. 12 Apr, 2008 1 commit
    • Tristan Van Berkom's avatar
      Fixed invisible labels in the menu editor. · d1f3913c
      Tristan Van Berkom authored
      
      	* gladeui/glade-editor-property.c: Fixed invisible labels in
      	the menu editor.
      
      	* gladeui/glade-widget.c, gladeui/glade-widget.h, gladeui/glade-xml-utils.c,
      	gladeui/glade-utils.c, gladeui/glade-xml-utils.h, gladeui/glade-utils.h,
      	gladeui/glade-property.c, gladeui/glade-property-class.c,
      	gladeui/glade-property-class.h, gladeui/glade-project.c, gladeui/glade-project.h:
      	implemented "factory-stock-id" in the catalog, this allows you to take a resource
      	image file property formerly hacked as a custom property in libglade, and glade
      	will generate a hidden icon factory in builder files so that it will be loaded
      	through the stock system instead, "factory-stock-id" depicts the name of the
      	stock property of the property-class in question.
      
      
      svn path=/trunk/; revision=1796
      d1f3913c
  15. 11 Apr, 2008 2 commits
  16. 10 Apr, 2008 5 commits
    • Tristan Van Berkom's avatar
      added translator comments to some strings · 072bcf8a
      Tristan Van Berkom authored
      svn path=/trunk/; revision=1793
      072bcf8a
    • Tristan Van Berkom's avatar
      Now load insensitive when widgets are unsupported, and use a warning icon · 5a3db79a
      Tristan Van Berkom authored
      
      	* gladeui/glade-palette-item.c, gladeui/glade-palette.c,
      	gladeui/glade-palette-item.h, gladeui/glade-palette.h:
      	Now load insensitive when widgets are unsupported, and use
      	a warning icon when they are deprecated, use tooltips from
      	glade_project_verify_adaptor ().
      
      	* gladeui/glade-app.[ch]: Added glade_app_check_get_project ()
      
      	* gladeui/glade-project.c, gladeui/glade-project.h: fix some mistakes
      
      
      svn path=/trunk/; revision=1791
      5a3db79a
    • Tristan Van Berkom's avatar
      Added padding on top of undocked tools, removed custom label handling of · 3eb37dae
      Tristan Van Berkom authored
      
      	* src/glade-window.c: Added padding on top of undocked tools, removed
      	custom label handling of widget name.
      
      	* gladeui/glade-editor-property.c: Adapted and applied Thomas Rydzynski's patch
      	so that text wraps in property editor (bug 351902)
      
      	* gladeui/glade-editor.c: Trash the class entry and put a class header
      	on the whole editor widget, fixed a bug on my signal disconnections.
      
      
      svn path=/trunk/; revision=1790
      3eb37dae
    • Tristan Van Berkom's avatar
      Preferences dialog is not modal anymore ;-) · 300994b5
      Tristan Van Berkom authored
      
      svn path=/trunk/; revision=1789
      300994b5
    • Tristan Van Berkom's avatar
      Loaded and watched the new support_warning on GladeWidget · 2606b29f
      Tristan Van Berkom authored
      
      	* gladeui/glade-editor.c, gladeui/glade-editor.h:
      	Loaded and watched the new support_warning on GladeWidget
      
      	* gladeui/glade-editor-property.c, gladeui/glade-editor-property.h:
      	Loaded and watched the new support_warning on GladeProperty
      	
      	* gladeui/glade-widget.c, gladeui/glade-widget.h: Keep a support-warning
      	property around as metadata updated by GladeProject.
      
      	* gladeui/glade-property.c, gladeui/glade-property.h:
      	Added new support_warning and state properties.
      
      	* gladeui/glade-project.c, gladeui/glade-project.h:
      	Now GladeProject generates strings to show in the normal
      	UI along with longer style reports, always updates widgets
      	warning message metadata when they come into the project 
      	or when the format or target versions change.
      
      	* gladeui/glade-signal.c: Removed a bogus return.
      
      
      svn path=/trunk/; revision=1788
      2606b29f
  17. 09 Apr, 2008 4 commits
    • Tristan Van Berkom's avatar
      Rolling 3.5.2. quick bugfix release · 1e2f5fb3
      Tristan Van Berkom authored
      
      	* NEWS, configure.ac: Rolling 3.5.2. quick bugfix release
      
      	* gladeui/glade-widget-adaptor.c: oops, was parsing booleans
      	as doubles, fixed bugs with builder-unsupported and deprecated.
      
      
      svn path=/trunk/; revision=1786
      1e2f5fb3
    • Tristan Van Berkom's avatar
      enhanced output and fixed a crasher in my last patch. · b5a75835
      Tristan Van Berkom authored
      
      svn path=/trunk/; revision=1782
      b5a75835
    • Tristan Van Berkom's avatar
      fixed signals and properties to inherit the base version · 8f4cf887
      Tristan Van Berkom authored
      of the widget in question.
      
      
      svn path=/trunk/; revision=1781
      8f4cf887
    • Tristan Van Berkom's avatar
      Filled in all since, deprecated and builder-unsupported properties. · 1dd08365
      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
      1dd08365
  18. 08 Apr, 2008 1 commit
    • Tristan Van Berkom's avatar
      Reverted the project format menu from edit · fb79368d
      Tristan Van Berkom authored
      
      	* src/glade-window.c: Reverted the project format menu from edit
      
      	* src/glade-utils.c: Add file format option to "save as" dialog,
      	also added new filters for .ui files.
      
      
      svn path=/trunk/; revision=1777
      fb79368d
  19. 07 Apr, 2008 1 commit
    • Tristan Van Berkom's avatar
      Run gtkdocize with --flavour=no-tmpl · c43aaea0
      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
      c43aaea0
  20. 06 Apr, 2008 3 commits
  21. 05 Apr, 2008 2 commits
  22. 04 Apr, 2008 1 commit
  23. 03 Apr, 2008 3 commits
    • Johan Dahlin's avatar
      reviewed by: Tristan · 85ed0ae1
      Johan Dahlin authored
      2008-04-03  Johan Dahlin  <jdahlin@async.com.br>
      
          reviewed by: Tristan
      
          * gladeui/glade-project.c:
          * gladeui/glade-project.h:
      
          Add file format to GladeProject and public accessors.
      
      
      svn path=/trunk/; revision=1766
      85ed0ae1
    • Tristan Van Berkom's avatar
      Fixed crasher on null string when parsing modifiers. · 7f4d6839
      Tristan Van Berkom authored
      
      	* plugins/gtk+/glade-gtk.c: Fixed crasher on null string
      	  when parsing modifiers.
      
      
      svn path=/trunk/; revision=1765
      7f4d6839
    • Tristan Van Berkom's avatar
      merging builder branch into trunk · 64bb8141
      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
      64bb8141