1. 04 Dec, 2009 1 commit
  2. 26 Apr, 2007 1 commit
    • Vincent Geddes's avatar
      - Hide private implementation details (Added GladeProjectPrivate). - Added · 27f06c2f
      Vincent Geddes authored
      	* gladeui/glade-project.h, gladeui/glade-project.c:
      	  - Hide private implementation details (Added GladeProjectPrivate).
                - Added private field accessors glade_project_get_path, glade_project_get_name,
                  glade_project_get_objects, and glade_project_get_has_unsaved_changes.
                - Removed project->name field.
                - Removed glade_project_display_name method.
                
              * gladeui/glade-editor-property.c, gladeui/glade-project-view.c,
      	  gladeui/glade-cursor.c, gladeui/glade-signal-editor.c, gladeui/glade-app.c
      	  gladeui/glade-property-class.c: Update for change in GladeProject.
         
              * src/glade-project-window.c: Update for change in GladeProject. Added
                methods for formatting paths and names. Fix display of tooltips for
                items in the project list menu.
                
              * gladeui/glade-palette-item.c, gladeui/glade-palette.c: Update to use 
                g_object_ref_sink().     
      
      svn path=/trunk/; revision=1278
      27f06c2f
  3. 10 Feb, 2007 1 commit
    • Vincent Geddes's avatar
      - Added a private initialisation function `glade_init_check()' for · f81607b3
      Vincent Geddes authored
              * gladeui/glade.h, gladeui/glade-app.[ch]:
                - Added a private initialisation function `glade_init_check()' for
                  libgladeui.
                - Removed the 'bad' public variables that defined various installation
                  paths. These paths can now be obtained from static class methods on
                  GladeApp (static as in the Java and C++ sense).        
              
              * src/main.c, src/glade-project-window.c, gladeui/glade-catalog.c,
                gladeui/glade-binding.c, gladeui/glade-cursor.c,
                gladeui/glade-palette.c gladeui/glade-widget-adaptor.c, 
                gladeui/glade-utils.c, bindings/python/glade-python.c: Use the new
                GladeApp methods for obtaining installation paths.
                
              * gladeui/glade-palette-box.[ch]: Use G_DEFINE_TYPE() and
                g_type_class_add_private().
      
      svn path=/trunk/; revision=1090
      f81607b3
  4. 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
  5. 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
  6. 23 Jan, 2007 1 commit
  7. 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
  8. 19 Oct, 2006 1 commit
  9. 09 Aug, 2006 1 commit
  10. 26 Jul, 2006 2 commits
    • 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
    • Tristan Van Berkom's avatar
      Dont require that an object be "toplevel" to be saved, just that it has no · ea5604d8
      Tristan Van Berkom authored
      
      	* src/glade-project.c: Dont require that an object be "toplevel" to be
      	  saved, just that it has no parent (toplevel means that it can _only_
      	  be top-level, and gwidget->parent == NULL means that it _happens_ to
      	  be top-level.
      
      	* src/glade-cursor.c: Hacked the cursor code to violently set cursors
      	  on all visible project widgets, this fixes bug 348657.
      
      	* TODO: Updated.
      ea5604d8
  11. 06 Jul, 2006 1 commit
    • Tristan Van Berkom's avatar
      Added new icons. · 927d5d32
      Tristan Van Berkom authored
      
      	* pixmaps/16x16/Makefile.am, pixmaps/22x22/Makefile.am:
      	  Added new icons.
      
      	* src/glade-widget.class.c, src/glade-cursor.c:
      	  Rework custom cursor code.
      927d5d32
  12. 22 Jun, 2006 1 commit
  13. 06 Dec, 2005 1 commit
    • Tristan Van Berkom's avatar
      Modified Files: ChangeLog po/az.po po/en_CA.po po/es.po po/ja.po po/ms.po · cf473018
      Tristan Van Berkom authored
      
      Modified Files:
       	ChangeLog po/az.po po/en_CA.po po/es.po po/ja.po po/ms.po
       	po/nn.po po/no.po po/pl.po po/pt.po po/ru.po po/sv.po po/ta.po
       	po/tr.po po/uk.po po/zh_CN.po src/glade-app.c src/glade-app.h
       	src/glade-catalog.c src/glade-catalog.h src/glade-command.c
       	src/glade-cursor.c src/glade-debug.c
       	src/glade-editor-property.c src/glade-editor.c src/glade-gtk.c
       	src/glade-id-allocator.c src/glade-palette.c
       	src/glade-parameter.c src/glade-placeholder.c
       	src/glade-popup.c src/glade-project-view.c
       	src/glade-project-window.c src/glade-project.c
       	src/glade-property-class.c src/glade-property.c
       	src/glade-signal-editor.c src/glade-signal.c src/glade-utils.c
       	src/glade-widget-class.c src/glade-widget.c src/main.c
      
        Updated land address for the Free Software Foundation in Boston.
      cf473018
  14. 09 Aug, 2005 1 commit
    • Tristan Van Berkom's avatar
      Added new GladeFixedManager code to handle GtkFixed and GtkLayout in a · 7f477ebb
      Tristan Van Berkom authored
      
      	* src/Makefile.am, src/glade-accumulators.[ch], glade-fixed-manager.[ch]:
      	  Added new GladeFixedManager code to handle GtkFixed and GtkLayout in a
      	  sexier fashion (and in a way that allows any GtkContainer to subscribe
      	  to this service through the plugin).
      
      	* src/glade-builtins.c: Fixed date typo
      
      	* src/glade-command.[ch]:
      	    - glade_command_set_properties () added to set multiple properties at
      	      the same time plus allowing to specify the old value that it changed
      	      from (this is usefull for drag & resize undo events).
      
      	    - Added a g_object_ref to the properties in set property commands
      
      	    - Create/Delete/Cut/Paste code to now use GladeFixedManager where appropriate
      
      	    - Now when we "Cut" a widget, we save a copy of its packing properties for
      	      future undo's (if it was pasted in another container and "undo" a couple
      	      times, this becomes nescisary).
      
      	* src/glade-cursor.[ch]: Added all the new cursor types needed
      	  for drag/resize events.
      
      	* src/glade-editor.[ch]: Handle property signals better, added
      	  signal handler for "value-changed" & "notify::enabled" signals to reload
      	  & update property values, removed alot of redundant property reloading code.
      
      	* src/glade-gtk.c: Remove the old clunky GtkFixed handling code and replaced
      	  it with a call to glade_fixed_manager_new () (also implemented fixed manager
      	  for GtkLayout).
      
      	* src/glade-marshallers.list: Added new marshallers
      
      	* src/glade-project-window.c, main.c: Removed all those includes and
      	  replaced with #include "glade.h".
      
      	* src/glade-property.[ch]: Fixed broken types from when I played with headers,
      	  now the forward declarations are back. (also changed CINFO for the more popular
      	  alternative; KLASS).
      
      	* src/glade-utils.c: glade_util_paste_clipboard () now is GladeFixedManager aware.
      
      	* src/glade-widget.[ch]:
      	    - use glade-fixed-manager to add children when loading glade files
      	    - notify manager of handled mouse events (this is a hack that should
      	      go, once we handle the streamlining of button-press-events on GladeWidget's
      	      properly).
      	    - fixed broken types.
      	    - Added glade_widget[_pack]_property_set_enabled()
      	    - Added some doc.
      	    - Made glade_widget_retrieve_from_position() public.
      
      	* src/glade.h: Added headers.
      
      	* widgets/gtk+.xml: GladeFixedManager on GtkFixed & GtkLayout.
      7f477ebb
  15. 04 Oct, 2004 1 commit
  16. 19 Jun, 2001 1 commit