1. 04 Dec, 2009 1 commit
  2. 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
  3. 18 Sep, 2008 1 commit
    • Tristan Van Berkom's avatar
      - Show glade widgets in the workspace on selection changes in the project · 745b2193
      Tristan Van Berkom authored
      
      	* src/glade-window.c: 
      	  - Show glade widgets in the workspace on selection changes in the project 
      	    and not on item-activated.
      	  - Rename "Dock Editor" -> "Dock Properties" as per bug 487613.
      	
      	* gladeui/glade-design-layout.c: Fixed expose event to chain to parent class
      	  after drawing an orange box (non window widgets are usualy GTK_NO_WINDOW).
      
      	* gladeui/glade-widget.c: Made glade_widget_show() show the toplevel of any
      	  GtkWidget object, also now shows toplevel non window glade widgets in the
      	  workspace, if the widget is referenced by a property that as a result parents
      	  the widget (i.e. bears a "parentless-widget" property reference), then the
      	  referencing widget is shown instead.
      
      	* gladeui/glade-popup.c: Added devhelp icon to documentation menu item, added
      	  docs icon to normal menu.
      
      
      svn path=/trunk/; revision=1928
      745b2193
  4. 16 Sep, 2008 1 commit
  5. 08 Aug, 2007 1 commit
  6. 21 Jul, 2007 1 commit
  7. 20 Jul, 2007 1 commit
  8. 18 Jul, 2007 1 commit
  9. 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
  10. 12 Jul, 2007 1 commit
  11. 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
  12. 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
  13. 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
  14. 28 Jan, 2007 1 commit
    • Tristan Van Berkom's avatar
      Now works like a pure widget, uses gtk_widget_size_allocate() to resize · 6aa59c7b
      Tristan Van Berkom authored
      
      	* gladeui/glade-design-layout.[ch]: 
      	  Now works like a pure widget, uses gtk_widget_size_allocate() to resize 
      	  children and gtk_widget_queue_resize() to resize itself (removed default
      	  size control for now).
      
      	* gladeui/glade-xml-utils.[ch], gladeui/glade-widget.[ch], 
      	  gladeui/glade-widget-adaptor.[ch], plugins/gtk/gtk+.xml.in,
      	  plugins/gtk/glade-gtk.c, plugins/gnome/glade-gnome.c: 
      	  - Added glade_xml_get_property_int()
      	  - Added default-width/height to catalog/GWA
      	  - Added toplevel-width/height properties to GladeWidget
      	  - Use default-width/height in catalogs instead of gtk_window_set_default_size()
      	    in plugin code.
      
      
      svn path=/trunk/; revision=1061
      6aa59c7b
  15. 23 Jan, 2007 1 commit
  16. 17 Jan, 2007 1 commit
    • Christian Persch's avatar
      Include config.h. · 3c4caead
      Christian Persch authored
      2007-01-17  Christian Persch  <chpe@svn.gnome.org>
      
      	* src/glade-accumulators.c:
      	* src/glade-base-editor.c:
      	* src/glade-binding.c:
      	* src/glade-clipboard.c:
      	* src/glade-cursor.c:
      	* src/glade-debug.c:
      	* src/glade-design-layout.c:
      	* src/glade-design-view.c:
      	* src/glade-gnome.c:
      	* src/glade-id-allocator.c:
      	* src/glade-palette-box.c:
      	* src/glade-palette-expander.c:
      	* src/glade-palette-item.c:
      	* src/glade-parameter.c:
      	* src/glade-placeholder.c:
      	* src/glade-signal.c:
      	* src/glade-xml-utils.c: Include config.h.
      
              * src/glade-app.c: (glade_app_init): Bind the gettext domain. Bug
      	#397429.
      
      svn path=/trunk/; revision=1043
      3c4caead
  17. 12 Dec, 2006 1 commit
    • Tristan Van Berkom's avatar
      src/glade-base-editor.c src/glade-clipboard-view.c src/glade-command.c · c1fabcc8
      Tristan Van Berkom authored
      
      	* src/glade-base-editor.c src/glade-clipboard-view.c src/glade-command.c
      	src/glade-command.h src/glade-design-layout.c src/glade-design-view.c
      	src/glade-editor-property.c src/glade-editor-property.h
      	src/glade-editor.c src/glade-gnome.c src/glade-gtk.c
      	src/glade-palette-box.c src/glade-palette-item.c src/glade-palette.c
      	src/glade-project-view.c src/glade-project-window.c
      	src/glade-project.c src/glade-property-class.c
      	src/glade-property-class.h src/glade-property.c src/glade-property.h
      	src/glade-python-gwa.c src/glade-python.c src/glade-utils.c
      	src/glade-utils.h src/glade-widget-adaptor.c
      	src/glade-widget-adaptor.h src/glade-widget.c src/glade-widget.h
      
      	Renamed reserved C++ keywords "new", "class", "virtual", "template" and "this"
      	as a prerequisite for adding gtkmm bindings
      c1fabcc8
  18. 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
  19. 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
  20. 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