1. 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
  2. 10 Apr, 2008 1 commit
    • 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
  3. 30 Jul, 2007 1 commit
    • Juan Pablo Ugarte's avatar
      removed every extra documentation, we keep them empty just because · 2d57d53f
      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
      2d57d53f
  4. 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
  5. 20 Jun, 2007 3 commits
    • Vincent Geddes's avatar
      Set up documentation for GladeInspector. · f228d65a
      Vincent Geddes authored
      	* doc/gladeui-docs.sgml, doc/gladeui.types, doc/gladeui-sections.txt,
      	  doc/tmpl/glade-inspector.sgml: Set up documentation for GladeInspector.
      	  
      	* po/POTFILES.in: Add glade-inspector.c
      	
      	* gladeui/glade-inspector.[ch]: Add convenience function
      	  `glade_inspector_new_with_project()'.
      
      svn path=/trunk/; revision=1374
      f228d65a
    • Juan Pablo Ugarte's avatar
      added extra check in project_remove_widget_cb() iter could be NULL! · 94b1780f
      Juan Pablo Ugarte authored
      * gladeui/glade-inspector.c: added extra check in project_remove_widget_cb()
        iter could be NULL!
      
      svn path=/trunk/; revision=1371
      94b1780f
    • Vincent Geddes's avatar
      New Inspector implementation. - The Inspector no longer records session · 552ea457
      Vincent Geddes authored
              * gladeui/glade-inspector.[ch]: New Inspector implementation.
                - The Inspector no longer records session data. 
                - GtkTreeModel of inspector is now synchronised with project data
                  in an incremental fashion, instead of being totally rebuilt on changes.
                
              * gladeui/glade-project-view.[ch]: Removed.
              
              * gladeui/glade-app.[ch]: Remove glade_app_add_project_view(). Inspectors
                are now managed by the frontend.
                
              * src/glade-project-window: A unique GladeInspector is associated with        
                each open project. These inspectors are stored in a GtkNotebook. 
      
      svn path=/trunk/; revision=1370
      552ea457