| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Make sure to save the style context before querying
with other states. This stops GTK+ from warning, and
makes things work.
|
|
|
|
|
|
| |
Used in GladePlaceholder and GladeDesignView to quickly create new widgets and objects.
This should be more than enough to close Bug 708146 "Catalog search entry"
|
|
|
|
| |
Fixed function prototype identation and spacing.
|
|
|
|
|
|
|
|
|
| |
The check should be for both x and y being less than 0, as when the
cursor is moved out of the design view "canvas" area, the values are set
to -1. Note this doesn't actually change behaviour, as the coordinates
are set to (-1, -1) whent the cursor leaves the area.
https://bugzilla.gnome.org/show_bug.cgi?id=723819
|
|
|
|
|
|
|
|
|
|
|
| |
Added private _GladeDrag interface. (only used internaly in gladeui)
Implemented _GladeDrag in GladePlaceholder GladeWidget GladeDesignView and GladeDesignLayout
Added drag-dest property to GladeWidget to enable/disable drag support
(used in GtkFixed GtkLayout and GtkOverlay containers)
Made GladeInspector a drag source by implementing GtkTreeDragSource interface in GladeProject
|
|
|
|
|
|
| |
subclasses
Avoids deprecation warnings from GtkVBox.
|
|
|
|
|
| |
Allow normal code paths to run at drop time, GladeWidget implementations
ensure that the child is dropped at the right location.
|
|
|
|
|
|
|
|
| |
This is a hack and all GTK_IS_FIXED() GTK_IS_LAYOUT() statements
in GladeDesignView code needs to go away.
This should instead be properly handled by a general feature of
GladeWidget/GladeWidgetAdaptor.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Added bg logo on empty GladeDesignView.
Migrated code using deprecated GtkStyle to GtkStyleContext
|
|
|
|
|
|
|
| |
o removed double click toplevel maximize feature
o replaced GDK_FLEUR cursor with GDK_BOTTOM_RIGHT_CORNER for resize action
* gladeui/glade-design-view.c: make layout_box GTK_ALIGN_START to fix toplevel alignment
|
|
|
|
|
|
|
|
|
|
| |
* gladeui/glade-design-view.c: pack toplevel widgets in GladeProject toplevels list order.
* gladeui/glade-property.c: added special case for parentless widget properties
on glade_property_set_value_impl() to show and hide new and old values.
* gladeui/glade-editor-property.c: removed glade_widget_hide() call on
glade_eprop_object_show_dialog() since now its handled on GladeProperty
|
|
|
|
|
|
|
|
| |
allocate all the remaining space to child, this fixes some allocation issues
on widget where gtk_widget_get_preferred_height() value is different than
the one returned by gtk_widget_get_preferred_size()
* gladeui/glade-design-view.c: set layout halign property to GTK_ALIGN_START
|
|
|
|
|
|
| |
gladeui/glade-design-view.[ch]: Relicensed LGPL, Juan Pablo Ugarte, Vincent Geddes and I
are the only Copyright holders for these files and I have thier consent to relicense
these files LGPL.
|
|
|
|
| |
glade_design_view_selection_changed()
|
|
|
|
|
|
|
|
|
|
|
|
| |
o implemented get_preferred_width_for_height() and get_preferred_width_for_height()
to fix allocation problem
o check if toplevel has a child selected before selecting it itself on button press
o dont draw selection if widget has no allocation
* gladeui/glade-design-view.c:
o delegate scrolling to size-allocate if toplevel layout has no allocation
Fixes scrolling while creating a new widget from the palette.
o also add widgets on visibility change
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o removed glade_design_view_get_layout() declaration
o removed gladeui/glade-design-layout.h include
o implemented _glade_design_view_freeze/thaw()
o handle widget adding and removal on project's add-widget and remove-widget signals
o use widget-visibility-changed to remove toplevel from project when its hidden
* gladeui/glade-design-layout.[ch]:
o added design-view construct only property
o use _glade_design_view_freeze/thaw() to avoid scrolling to selection from
the layout.
o removed unused _glade_design_layout_should_scroll()
* gladeui/glade-design-private.h: added new file to declare private API.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gladeui/glade-design-layout.[ch]:
o added widget maximization on label double click
o fixed size allocation to be able to maximize widget without making the viewport
scrollbars appear
o removed glade_design_layout_selection_set()
* gladeui/glade-design-view.c:
o improved viewport scrolling to selected toplevel, now we only scroll if
the selection was not triggered by the layout.
o replaced on_project_add_widget() on_project_remove_widget() with new project
signal widget-visibility-changed
* gladeui/glade-project.[ch]:
o added GladeProject::widget-visibility-changed signal
o added glade_project_widget_visibility_changed() function
* gladeui/glade-widget.c:
o added visible property.
o use glade_project_widget_visibility_changed() to emit signal on widget visibility change
* gladeui/glade.h: removed glade-design-layout.h since now its private
* gladeui/Makefile.am: do not install private header glade-design-layout.h
* plugins/gtk+/Makefile.am: do not install headers
|
|
|
|
| |
to allow the last layout to resize
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o draw viewport bg using base colors from style
o set Layout box border width and spacing
* gladeui/glade-design-layout.c:
o removed padding (now set on parent)
o added PangoLayout to draw widget name
o added space needed for widget name in glade_design_layout_get_preferred_height ()
o glade_design_layout_size_allocate() allocate enough space for widget name
o moved widget name to south east and used as resize grip
o update widget name on GladeWidget::notify:name
|
|
|
|
|
|
|
|
|
|
| |
o added a GtkVBox intead of a GladeDesignLayout to pack multiple layout/toplevels
o add/remove widgets from layout on GladeProject add-widget and remove-widget signals
* gladeui/glade-design-layout.c: draw widget name next to layout frame.
* gladeui/glade-widget.c: comented code in glade_widget_hide() that was crashing because
glade_design_view_get_layout() always returns NULL in this hack.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gladeui/glade-design-layout.[ch]:
o added glade_design_layout_selection_set() (removed project dependency)
o removed PointerRegion enum
o reworked cursors pointer in an array to ease seting them
o reemplazed glade_design_layout_get_pointer_region () with gdl_get_activity_from_pointer()
o removed call to gtk_widget_size_allocate() in glade_design_layout_update_child()
fixes rendering glith while resizing
o precompute child offset to optimize from-embeder to-embeder handlers
o draw "pretty" selection
* gladeui/glade-design-view.c: set layout selection on project's selection-changed signal
* gladeui/glade-app.[ch]:
o added glade_app_do_event()
o set custom gdk event handler to marshal event to GladeDesignLayouts using
glade_design_layout_do_event()
* gladeui/glade-utils.[ch]: removed unused function glade_util_draw_selection_nodes()
* gladeui/glade-widget-adaptor.c: removed g_signal_override_class_handler() event marshalling hack.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
indent \
--braces-after-if-line \
--case-brace-indentation0 \
--case-indentation2 \
--braces-after-struct-decl-line \
--line-length80 --no-tabs \
--dont-line-up-parentheses \
--continuation-indentation4 \
--continue-at-parentheses \
--honour-newlines --tab-size8 --indent-level2 -nbbo
|
|
|
|
| |
ellipsizing.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* gladeui/glade-design-view.c: Hide workspace and show load progress
while loading so that one cannot access project widgets during the load
(insensitive workspace was problematic and causing some loaded project
windows to be permanently insensitive).
* src/glade-window.c: Avoid any messups during project load, cannot close
projects while they are loading, etc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* autogen.sh: Run gtkdocize with --flavour=no-tmpl
* configure.ac: Require gtk-doc 1.9 and bump to 3.5.0 dev version.
* doc/gladeui-overrides.txt, doc/children.sgml, doc/tmpl/*: Removed unneeded.
* doc/gladeui-docs.sgml, doc/widgetclasses.sgml,
doc/catalogintro.sgml, doc/Makefile.am: Mega docs update, added new
files and completely rediscribed the catalog in its new form.
* gladeui/glade-design-view.c, gladeui/glade-widget.c,
gladeui/glade-widget-adaptor.c, gladeui/glade-command.c,
gladeui/glade-widget-adaptor.h, gladeui/glade-base-editor.c,
gladeui/glade-widget-action.c, gladeui/glade-xml-utils.c,
gladeui/glade-utils.c, gladeui/glade-catalog.c, gladeui/glade-property.c,
gladeui/glade-project.c: Added some description statements to newly
documented files, fixed some warnings in other sources.
M ChangeLog
M configure.ac
M doc/gladeui-docs.sgml
M doc/widgetclasses.sgml
M doc/catalogintro.sgml
D doc/gladeui-overrides.txt
M doc/Makefile.am
D doc/children.sgml
D doc/tmpl
M doc/gladeui-sections.txt
M doc/gladeui.types
M doc/properties.sgml
M gladeui/glade-design-view.c
M gladeui/glade-widget.c
M gladeui/glade-widget-adaptor.c
M gladeui/glade-command.c
M gladeui/glade-widget-adaptor.h
M gladeui/glade-base-editor.c
M gladeui/glade-widget-action.c
M gladeui/glade-xml-utils.c
M gladeui/glade-utils.c
M gladeui/glade-catalog.c
M gladeui/glade-property.c
M gladeui/glade-project.c
M autogen.sh
svn path=/trunk/; revision=1775
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
* Reorganised package structure, moved a lot of files
and directories. Modified the Makefile.am in most directories.
* po/POTFILES.in, po/POTFILES.skip: Update for reorganisation.
* configure.ac: Add files to AC_CONFIG_FILES. Change AC_CONFIG_SRCDIR.
svn path=/trunk/; revision=1050
|