1. 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
  2. 17 Jul, 2007 1 commit
  3. 20 Jun, 2007 1 commit
    • 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
  4. 08 Feb, 2007 1 commit
    • Vincent Geddes's avatar
      Replaced C++ style comments with the more portable ISO C syntax. · 5b14b631
      Vincent Geddes authored
              * gladeui/*.[ch]: Replaced C++ style comments with the more portable ISO C syntax.
                
              * gladeui/glade-app.[ch]: Use the G_DEFINE_TYPE() and
                g_type_class_add_private() idioms for registering the class.
                
              * README.cvs: Renamed to 'README.svn'.
              
              * plugins/gtk+/icons/16x16/Makefile.am, plugins/gtk+/icons/22x22/Makefile.am:
                Added some icons.
                
              * src/glade-project-window.c: Set the label for the Selector toolbutton.
      
      svn path=/trunk/; revision=1080
      5b14b631
  5. 01 Feb, 2007 1 commit
    • Tristan Van Berkom's avatar
      Changed the hierarchy changed signal for a "widget-event" signal. · 13cd1b35
      Tristan Van Berkom authored
      
      	* gladeui/glade-app.[ch]: Changed the hierarchy changed signal
      	  for a "widget-event" signal.
      
      	* gladeui/glade-design-layout.c: Catch the "widget-event" signal
      	  and propagate the event from there, dont raise the event_window anymore.
      
      	* gladeui/glade-widget.c: 
      	  - Removed "enter-notify-event"
      	  - Catch "event" signal on GtkWidget instances and forward
      	    the event to GladeApp
      	  - When handling selection and SHIFT is down, dont stop emmission
      	    (better handling of drag/resize)
      
      	* gladeui/glade-fixed.c: Only drag/resize with shift down
      	
      	* gladeui/glade-marshallers.list: added new marshaller
      
      
      svn path=/trunk/; revision=1066
      13cd1b35
  6. 31 Jan, 2007 1 commit
    • Tristan Van Berkom's avatar
      o Removed search algorythm for child widgets, removed · 086b27dc
      Tristan Van Berkom authored
      
      	* gladeui/glade-widget.[ch]: 
      	  o Removed search algorythm for child widgets, removed glade_widget_event_widget (), 
      	    removed popup-menu signal handler, removed call to gtk_window_set_decorated() 
      	    on toplevel project widgets, removed widget->setup_events(), removed hide_on_delete()
      	  o Added glade_widget_event() to feed events directly to widgets from the design layout.
      	  o Call glade_app_hierarchy_changed() upon add/remove/replace operations
      
      	* gladeui/glade-utils.c: Removed glade_utils_deep_fixed_event() and the
      	  hacky widget grab that went with it.
      
      	* gladeui/glade-app.[ch]: Added glade_app_hierarchy_changed() and added
      	  "hierarchy-changed" signal.
      	
      	* gladeui/glade-design-layout.c: 
      	  o Make sure event window is always on top by trapping GladeApp's "hierarchy-changed"
      	    signal
      	  o Feed events directly to the proper GladeWidget, if its not handled then pass it
      	    on to the underlying widgets (using gtk_widget_event() directly).
      
      	* gladeui/glade-cursor.c: Removed the recursive cursor setting routine.
      
      	* gladeui/glade-fixed.c: Simplified immensely by removing redundant code,
      	  now there is only one GladeWidget to deal with, no searching and gropeing
      	  for the appropriate widget to operate on.
      
      
      svn path=/trunk/; revision=1065
      086b27dc
  7. 27 Jan, 2007 1 commit
    • Tristan Van Berkom's avatar
      Set project properly in glade_command_remove() (this fixes undo/redo of · 1934d006
      Tristan Van Berkom authored
      
      	* gladeui/glade-command.c: Set project properly in glade_command_remove()
      	  (this fixes undo/redo of add/remove commands in the menueditor... along
      	  with the following fixes).
      
      	* gladeui/glade-widget-adaptor.[ch], gladeui/glade-xml-utils.h: 
      	  Added GWA_USE_PLACEHOLDERS(), a boolean on the GWA that is loaded 
      	  from the catalog.
      
      	* gladeui/glade-utils.[ch]: Removed glade_util_[any_]container_relation.
      
      	* gladeui/glade-widget.[ch]: Added glade_widget_placeholder_relation
      
      	* gladeui/glade-app.c, gladeui/glade-fixed.c: Adjusted callers for new
      	  glade-widget api.
      
      	* gladeui/glade-fixed.[ch]: Removed the "use-placehodlers" property
      	  since it is now redundant with the new GWA_USE_PLACEHOLDERS (this
      	  simplifies things a little).
      
      	* gladeui/glade-binding.c: Fixed obnoxious startup errors (bug 399178),
      	  glade_binding_get_all(), use g_list_prepend()/g_list_reverse() instead
      	  of g_list_append() to build a list.
      
      	* gladeui/glade-base-editor.c: Use the right adaptor for gwa_get_children
      	  in glade_base_editor_change_type () (was using adaptor for the destination
      	  type).
      	
      	* plugins/gtk/glade-gtk.c: Remove use of "use-placeholders" property
      	  on GladeFixed objects.
      
      	* plugins/gtk/gtk+.xml.in: Setup the "use-placeholders" attribute properly
      	  (TRUE on GtkContainer, FALSE on GtkMenuShell, GtkMenuItem, GtkToolBar,
      	  GtkFixed, GtkLayout).
      
      
      svn path=/trunk/; revision=1057
      1934d006
  8. 23 Jan, 2007 1 commit
  9. 04 Dec, 2006 1 commit
    • 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
  10. 21 Nov, 2006 1 commit
    • 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
  11. 19 Oct, 2006 1 commit
  12. 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
  13. 02 Aug, 2006 1 commit
    • Juan Pablo Ugarte's avatar
      fixed bug 348570 "GladeFixed drag/resize "sticks"" added · 86b230c8
      Juan Pablo Ugarte authored
      * src/glade-fixed.c, src/glade-utils.[ch]: fixed bug 348570
        "GladeFixed drag/resize "sticks"" added glade_util_set_grabed_widget()
      
      * src/glade-gtk.c: fixed bug 348964
        "Double-clicking in a TextView hangs Glade3"  added callback to stop
        GtkTextView's double clicks.
      86b230c8
  14. 27 Jul, 2006 6 commits
  15. 26 Jul, 2006 1 commit
    • Tristan Van Berkom's avatar
      Reset cursor after creating a widget. · eeb31902
      Tristan Van Berkom authored
      
      	* src/glade-placeholder.c: Reset cursor after creating a widget.
      
      	* src/glade-command.c: glade_command_push_group () now formats its own string.
      
      	* src/glade-base-editor.c: simplify code by letting glade_command_push_group ()
      	  format its own string.
      
      	* src/glade-fixed.c, src/glade-gtk.c: Added cuter names for undo/redo items
      	  pertaining to drag/resize.
      eeb31902
  16. 22 Jul, 2006 2 commits
    • Tristan Van Berkom's avatar
      o Removed some debug prints. · e061236d
      Tristan Van Berkom authored
      
      
      	* src/glade-widget.c:
      	  o Removed some debug prints.
      
      	* src/glade-fixed.c:
      	  o Use gtk_widget_translate_coordinates() for child coordinates (some widgets
      	    like GtkEntry dont respect gtk_widget_get_pointer(), we trust containers only).
      e061236d
    • Tristan Van Berkom's avatar
      Use gtk_widget_get_pointer on the event widget to retrieve the mouse · 47dee8c0
      Tristan Van Berkom authored
      
      	* src/glade-widget.c: Use gtk_widget_get_pointer on the event widget
      	  to retrieve the mouse position, not gdk_window_get_pointer on any
      	  arbitrary event widget of that window.
      
      	* src/glade-fixed.c: Use gtk_widget_get_pointer() where we were using
      	  gdk_window_get_pointer().
      
      	* src/glade-command.c: disabling the debug print.
      
      	* TODO: Updated
      47dee8c0
  17. 25 Jun, 2006 2 commits
    • Tristan Van Berkom's avatar
      o gtk_window_set_decorated() all GtkWindows (bug 344817) o Fixed · 36d1b086
      Tristan Van Berkom authored
      
      	* src/glade-widget.[ch]:
      	  o gtk_window_set_decorated() all GtkWindows (bug 344817)
      	  o Fixed glade_widget_rebuild(), now properties of internal widgets to composite
      	    widgets' properties get transported along.
      	  o Fixed popups to only get spawned by the widget in question
      	    and not an unknown internal child.
      	  o Added widget superuser modes (used by the backend to check when
      	    its responsable for maintaining container sizes).
      	  o glade_widget_rebuild () fixed so that properties on rebuilt internal
      	    children are transfered.
      
      	* src/glade-project.c: let glade-widget take care of property superuser mode
      	  at load time.
      
      	* src/glade-fixed.ch: connect_after on button_press to give a chance to
      	  the selection
      
      	* src/glade-command.c: Fixed unifies for properties (check that they
      	  are on the same widgets).
      
      	* src/glade-gtk.c:
      	  o GtkBox check superuser mode to adjust box size
      36d1b086
    • Tristan Van Berkom's avatar
      o Added proxy signals for events used by parenting GladeFixed objects, · 922158ec
      Tristan Van Berkom authored
      
      	* src/glade-widget.[ch]:
      	  o Added proxy signals for events used by parenting GladeFixed objects,
      	    this way they recieve the event via the "event" signal, and therefore
      	    earlier on in the food chain.
      	  o Call ->setup_events() recursively in glade_widget_connect_signal_handlers()
      	    (now we get all needed events from internal children of composite widgets)
      
      	* src/glade-fixed.[ch]:
      	  o Reduced code by using gtk_widget_get_pointer ()
      	  o Adjusted to use the new signals on GladeWidget
      	  o Removed the redundant override of ->setup_events vfunc.
      
      	* src/glade-marshallers.list: Added BOOLEAN:BOXED type for event signals.
      922158ec
  18. 22 Jun, 2006 2 commits
  19. 21 Jun, 2006 1 commit
    • Tristan Van Berkom's avatar
      Added glade-palette-item.[ch], glade-palette-box.[ch] and · 97b88b88
      Tristan Van Berkom authored
      
      	* src/Makefile.am: Added glade-palette-item.[ch],
      	  glade-palette-box.[ch] and glade-palette-expander.[ch]
      	  to build sources.
      
      	* src/glade.h, src/glade-builtins.[ch]: Declare an enum
      	  GladeItemAppearance and define a GType for it.
      
      	* src/glade-palette.[ch]: Entirely reworked. new API.
      
      	* src/glade-app.c, src/glade-fixed.c,
      	  src/glade-placeholder.c: Recognize new palette API.
      
      	* src/glade-project-window.c: Added UI functionality
      	  to support features in the new palette.
      97b88b88
  20. 17 Jun, 2006 1 commit
    • Tristan Van Berkom's avatar
      Added glade_property_[push/pop]_superuser() · d3038a8e
      Tristan Van Berkom authored
      
      	* src/glade-property.[ch]: Added glade_property_[push/pop]_superuser()
      
      	* src/glade-command.c: refined set_property_execute() and started using
      	  glade_property_push/pop_superuser().
      
      	* src/glade-project.c: super-user property mode at load time.
      
      	* src/glade-fixed.c: Added "can-resize" property
      
      	* src/glade-widget-class.c: Made sure to parse a "Fixed" if there are no
      	  other child tags.
      
      	* src/glade-gtk.c, widgets/gtk+.xml.in: Implemented drag on GtkBox children
      d3038a8e
  21. 14 Jun, 2006 1 commit
    • Tristan Van Berkom's avatar
      fixed typos · acb6a548
      Tristan Van Berkom authored
      
      	* doc/catalogintro.sgml: fixed typos
      
      	* src/glade-command.c: Removed unneeded "if"
      
      	* src/glade-fixed.[ch]: connect/disconnect child now takes GObject arg
      	  instead of GladeWidget (for cases of widget rebuilds), removed redundant
      	  variables
      
      	* src/glade-gnome.c, src/glade-gtk.c: changed glade_widget_class_container_add
      	  to glade_widget_add_child()
      
      	* src/glade-widget.c:
      	  o Fixed glade_widget_rebuild() in regards to using the
      	    _add_child()/_remove_child() api and visibility.
      	  o Fixed more event related selection bugs (by retrieving the mouse
      	    pointer with window_get_pointer())
      	  o Fixed GladeWidgetDataTag to use the quark everywhere
      acb6a548
  22. 12 Jun, 2006 2 commits
  23. 11 Jun, 2006 2 commits
    • Tristan Van Berkom's avatar
      Fixed bug · c7ee76cd
      Tristan Van Berkom authored
      c7ee76cd
    • Tristan Van Berkom's avatar
      updated · 020446e2
      Tristan Van Berkom authored
      
      	* doc/tmpl/*: updated
      
      	* src/glade-fixed.[ch], src/glade-widget.[ch]:
      	  Improved, now made replace_child a vfunc... fixed some
      	  event related bugs.
      
      	* src/glade-gtk.c, widgets/gtk+.xml.in: Added free-form placement
      	  for GtkTable widget.
      
      	* src/glade-utils.c: added glade_util_deep_fixed_event(), used to
      	  propagate events down to fixed containers that dont have windows.
      020446e2
  24. 10 Jun, 2006 4 commits
  25. 09 Jun, 2006 3 commits
    • Tristan Van Berkom's avatar
      Fixing typo · b1b086b0
      Tristan Van Berkom authored
      b1b086b0
    • Tristan Van Berkom's avatar
      o Fixed "paste at mouse position" o Fixed cursors a bit... event handling · ed2e3af6
      Tristan Van Berkom authored
      
      	* src/glade-fixed.c:
      	  o Fixed "paste at mouse position"
      	  o Fixed cursors a bit... event handling a bit too
      
      	* src/glade-placeholder.c: Special case fixed stuff for now,
      	  so that drag/resize works at least from deep placeholders.
      
      	* src/glade-widget.c: Touched the event handling code.
      ed2e3af6
    • Tristan Van Berkom's avatar
      Made changes for changed files. · 16743369
      Tristan Van Berkom authored
      
      	* src/Makefile.am, po/POTFILES.in: Made changes for changed files.
      
      	* src/glade-fixed.[ch]: The new GladeWidget derived free form placement
      	  support object.
      
      	* src/glade-fixed-manager.[ch]: Removed.
      
      	* doc/catalogintro.sgml: made mention of new 'fixed' property on
      	  'glade-widget-class' tag
      
      	* doc/gladeui-sections.txt, doc/Makefile.am,
      	  doc/tmpl/*, doc/gladeui.types: Updated for file changes.
      
      	* src/glade-app.c, src/glade-command.c, src/glade-gnome.c, src/glade.h:
      	  Changed for new apis in glade-widget and glade-fixed.
      
      	* src/glade-gtk.c:
      	  o Changed for new apis in glade-widget and glade-fixed.
      	  o Restructured, now *all* class supports are listed class
      	    by class
      
      	* src/glade-property-class.h: Fixed docs.
      
      	* src/glade-widget-class.[ch]:
      	  o Added glade_widget_class_query ()
      	  o Added glade_widget_class_create_widget ()
      	  o Added glade_widget_class_create_internal ()
      
      	* src/glade-widget.[ch]: API is stablizing now... lots of cleanup done,
      	  added construct properties used in the constructor to create properties and
      	  runtime instances.
      
      	* widgets/gtk+.xml.in:
      	  o Toolbars expand=False by default in GtkVBoxes
      	  o GtkPaned now works a little stabler
      	  o GtkFixed/GtkLayout marked 'fixed'.
      16743369