1. 04 Dec, 2009 1 commit
  2. 29 Jun, 2009 1 commit
    • Tristan Van Berkom's avatar
      * configure.ac, gladeui/glade-app.c: Added --enable-mac-bundle configure option to · 8dfa0710
      Tristan Van Berkom authored
      special case runtime path lookups to bundling builds.
      
      * gladeui/glade-popup.[ch]: Added glade_popup_is_popup_event () to check the correct
      GdkEventButton state for a context menu (in a platform independant way).
      
      * gladeui/glade-base-editor.c, gladeui/glade-editor-property.c, gladeui/glade-palette-item.c,
      gladeui/glade-placeholder.c, gladeui/glade-widget.c, gladeui/glade-inspector.c: Use new
      popup function to detect whether to show a context menu or not (bug 587128).
      
      * gladeui/glade-base-editor.c: Fixed crashes with editable treeview column types (bug 586715).
      8dfa0710
  3. 23 Jun, 2009 1 commit
  4. 20 Jan, 2009 1 commit
    • Juan Pablo Ugarte's avatar
      added GladeDesignLayout::widget-event signal. Patch by Pavel Kostyuchenko · 9f6a6732
      Juan Pablo Ugarte authored
      * gladeui/glade-design-layout.[ch]: added GladeDesignLayout::widget-event
        signal. Patch by Pavel Kostyuchenko (bug 542337).
      
      * gladeui/glade-accumulators.[ch]: added glade_integer_handled_accumulator()
      
      * gladeui/glade-signal-editor.[ch], gladeui/glade-signal-editor.[ch],
        gladeui/glade-app.[ch], src/glade-window.c: 
        "Improvement of GladeSignalEditor" Bug 540691 by Pavel Kostyuchenko.
      
      * plugins/gnome/glade-gnome.c: Fixed compiler warnings in
        glade_gnome_bonobodockitem_get_props()
      
      svn path=/trunk/; revision=2094
      9f6a6732
  5. 05 Jan, 2009 1 commit
  6. 15 Dec, 2008 1 commit
    • Przemysław Grzegorczyk's avatar
      Cleaned up gtk and glib includes to use only toplevel headers. Patch from · 42dc9cff
      Przemysław Grzegorczyk authored
      2008-12-15  Przemysław Grzegorczyk  <pgrzegorczyk@gmail.com>
      
      	* src/glade-window.c:
      	* src/glade-window.h:
      	* gladeui/glade-palette-box.h:
      	* gladeui/glade-design-view.h:
      	* gladeui/glade-design-layout.h:
      	* gladeui/glade-palette-expander.c:
      	* gladeui/glade-palette-expander.h:
      	* gladeui/glade-widget-adaptor.c:
      	* gladeui/glade-palette-item.c:
      	* gladeui/glade-palette-item.h:
      	* gladeui/glade-palette.h:
      	* gladeui/glade-named-icon-chooser-dialog.h:
      	* gladeui/glade-app.c:
      	* gladeui/glade-property-class.h: Cleaned up gtk and glib includes
      	to use only toplevel headers. Patch from Maxim Ermilov. Bug #561260.
      
      svn path=/trunk/; revision=2068
      42dc9cff
  7. 15 Nov, 2008 1 commit
    • Tristan Van Berkom's avatar
      Update glade-app accel group. · 4020dd82
      Tristan Van Berkom authored
      
      	* src/glade-window.c: Update glade-app accel group.
      
      	* gladeui/glade-project.[ch], gladeui/glade-app.c: Remove accel group notion from projects
      
      	* gladeui/glade-base-editor.c:
      	  - Use global accel group (with keypress editor hijack in place)
      	  - No longer modal
      	  - added "container" property on the editor
      	  - dedicated dialogs self destruct if their container changes
      
      
      svn path=/trunk/; revision=2029
      4020dd82
  8. 13 Nov, 2008 1 commit
  9. 31 Oct, 2008 1 commit
    • Tristan Van Berkom's avatar
      Added glade_widget_[un]lock() and glade_command_[un]lock_widget(). · 1e70cf40
      Tristan Van Berkom authored
      
      	* gladeui/glade-widget.[ch], gladeui/glade-command.[ch]: Added
      	glade_widget_[un]lock() and glade_command_[un]lock_widget().
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/gtk+.xml.in, plugins/gtk+/glade-convert.c,
      	plugins/gtk+/glade-image-item-editor.c: Dual format menu editing support
      	depending on my gtk+ patch on bug 527672, TODO: still need to add accel-groups
      	to GtkWindow on the glade side of things.
      
      
      svn path=/trunk/; revision=2013
      1e70cf40
  10. 25 Oct, 2008 1 commit
    • Tristan Van Berkom's avatar
      Fixed glade_property_class_make_adjustment() for floating and double · 77a9f9ea
      Tristan Van Berkom authored
      
      	* gladeui/glade-property-class.c: Fixed glade_property_class_make_adjustment()
      	for floating and double values (page inc and size were not properly set).
      
      	* gladeui/glade-app.c: Fixed a warning
      
      	* gladeui/glade-editor-table.c: Was loading invisible properties, oops.
      	
      	* doc/properties.sgml: Documented custom-layout property.
      
      
      svn path=/trunk/; revision=1996
      77a9f9ea
  11. 16 Oct, 2008 1 commit
    • Tristan Van Berkom's avatar
      Encapsulated name tracking mechanism · 4f1e473e
      Tristan Van Berkom authored
      
      	* gladeui/Makefile.am, gladeui/glade-name-context.[ch]: Encapsulated name tracking mechanism
      
      	* gladeui/glade-project.c, gladeui/glade-command.c: Now added a naming policy to the project
      	with prefs and load/save support + a glade command to set it - also revamped the prefs dialog,
      	it also pops up automatically for new projects.
      
      	* gladeui/glade-editor.c, gladeui/glade-editor-property.c, gladeui/glade-property-class.c,
      	gladeui/glade-property.c, gladeui/glade-widget.c: All effected since now 
      	glade_property_class_make_gvalue_from_string () needs a GladeWidget argument to do
      	hierachic context sensitive searches... that and naming is much cleaner now.
      	
      	* src/glade-window.c: remember to pass ownership of the project to the app.
      
      	* plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-column-types.c, plugins/gtk+/glade-model-data.c:
      	BEWARE: Dangerous and still a work in progress.
      
      
      svn path=/trunk/; revision=1972
      4f1e473e
  12. 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
  13. 20 Sep, 2008 1 commit
  14. 19 Sep, 2008 1 commit
    • Tristan Van Berkom's avatar
      Now we have a conversion routine that is run in the plugin to convert some · 351a89ed
      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
      351a89ed
  15. 18 Sep, 2008 1 commit
  16. 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
  17. 10 Apr, 2008 2 commits
    • 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
  18. 09 Apr, 2008 1 commit
    • 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
  19. 10 Mar, 2008 2 commits
  20. 09 Mar, 2008 1 commit
  21. 19 Dec, 2007 1 commit
    • Christian Persch's avatar
      Port to gtk 2.12 tooltips API. Bug #500947. Remove the unnecessary event · c651fba1
      Christian Persch authored
      2007-12-19  Christian Persch  <chpe@gnome.org>
      
      	* configure.ac:
      	* gladeui/glade-app.c: (glade_app_refresh_undo_redo_button):
      	* gladeui/glade-base-editor.c: (glade_base_editor_add_properties):
      	* gladeui/glade-editor-property.c:
      	(glade_editor_property_tooltip_cb),
      	(glade_editor_property_sensitivity_cb),
      	(glade_editor_property_create_info_button),
      	(glade_editor_property_constructor),
      	(glade_editor_property_finalize),
      	(glade_editor_property_load_common),
      	(glade_eprop_text_show_i18n_dialog),
      	(glade_eprop_adjustment_table_add_label):
      	* gladeui/glade-editor-property.h:
      	* gladeui/glade-editor.c: (glade_editor_notebook_page),
      	(glade_editor_create_info_button),
      	(glade_editor_create_reset_button),
      	(glade_editor_table_append_item):
      	* gladeui/glade-palette.c: (glade_palette_dispose),
      	(glade_palette_new_item), (glade_palette_new_item_group),
      	(glade_palette_update_appearance), (glade_palette_init):
      	* gladeui/glade-project.c: (glade_project_dispose),
      	(glade_project_init):
      	* gladeui/glade-project.h:
      	* gladeui/glade-property-class.c:
      	(glade_property_class_new_from_spec):
      	* gladeui/glade-utils.c:
      	* gladeui/glade-widget.c: (expose_draw_selection):
      	* plugins/gtk+/glade-gtk.c: (glade_gtk_widget_set_property),
      	(glade_gtk_widget_get_property):
      	* src/glade-window.c: (format_project_list_item_tooltip),
      	(refresh_projects_list_menu), (glade_window_init): Port to gtk 2.12
      	tooltips API. Bug #500947. Remove the unnecessary event boxes on the property
      	labels, part of bug #490157.
      
      svn path=/trunk/; revision=1660
      c651fba1
  22. 10 Dec, 2007 1 commit
  23. 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
  24. 24 Jul, 2007 1 commit
    • Tristan Van Berkom's avatar
      Set custom label on the property editor sensitive/insensitive according to · ba93bf37
      Tristan Van Berkom authored
      
      	* src/glade-window.c: Set custom label on the property editor sensitive/insensitive
      	  according to whether there is a project loaded or not
      
      	* gladeui/glade-app.c: Unset editor widget and set insensitive when no project is
      	  loaded (fixes segfaults from editing widgets that dont exist when project is
      	  closed, also looks consistant with the rest of the insensitive UI with no project
      	  loaded).
      
      
      svn path=/trunk/; revision=1507
      ba93bf37
  25. 17 Jul, 2007 1 commit
    • Tristan Van Berkom's avatar
      Removed glade_app_widget_event() and the "widget-event" signal · 6ae429f3
      Tristan Van Berkom authored
      	* gladeui/glade-app.[ch]: Removed glade_app_widget_event() and the "widget-event"
      	  signal
      
      	* gladeui/glade-design-layout.c: Expose glade_design_layout_widget_event() to
      	  be used internally by GladeWidget (no longer listening to "widget-event" signal
      	  on glade-app).
      
      	* gladeui/glade-widget.c: glade_widget_event_private() Find the parenting
      	  GladeDesignLayout and dispatch the event through glade_design_layout_widget_event()
      	  (this fixes multiple projects recieving the same events, bug 456013).
      
      
      svn path=/trunk/; revision=1481
      6ae429f3
  26. 11 Jul, 2007 2 commits
  27. 04 Jul, 2007 1 commit
    • Vincent Geddes's avatar
      New method glade_app_new(). · 741d228a
      Vincent Geddes authored
      	* gladeui/glade-app.h, gladeui/glade-app.c: New method glade_app_new().
      
      	* src/glade-project-window.h, src/glade-project-window.c: Renamed
      	  to glade-window.h and glade-window.c respectively. GladeWindow now
      	  subclasses GtkWindow instead of GladeApp (#449928).
      
      svn path=/trunk/; revision=1433
      741d228a
  28. 02 Jul, 2007 2 commits
  29. 01 Jul, 2007 1 commit
  30. 21 Jun, 2007 2 commits
    • Vincent Geddes's avatar
      Fix "missing prototype" errors reported by gcc due to increased warning · d6cfd1e4
      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
      d6cfd1e4
    • Vincent Geddes's avatar
      Misc cleanups. · a89d528d
      Vincent Geddes authored
      	* gladeui/glade-app.[ch], gladeui/glade-widget-adaptor.c: Misc cleanups.
      
      svn path=/trunk/; revision=1381
      a89d528d
  31. 20 Jun, 2007 2 commits
    • 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
    • Tristan Van Berkom's avatar
      - Added Drag/Resize button in the toolbar · 3a903cdd
      Tristan Van Berkom authored
      
      	* src/glade-project-window.c: 
      	  - Added Drag/Resize button in the toolbar
      
      	* gladeui/glade-design-layout.c: More reliable pointer handling
      
      	* gladeui/glade-app.c: New pointer-mode property
      	
      	* gladeui/glade-fixed.c, gladeui/glade-placeholder.c, gladeui/glade-palette.c:
      	  Use pointer-mode to set pointer interaction mode
      
      	* gladeui/glade-builtins.c: Added trailing end marker on the stock list
      	  enum paramspec.
      
      
      svn path=/trunk/; revision=1368
      3a903cdd
  32. 13 Jun, 2007 1 commit
  33. 06 Jun, 2007 1 commit
  34. 26 Apr, 2007 1 commit