summaryrefslogtreecommitdiff
path: root/gladeui/glade-inspector.c
Commit message (Collapse)AuthorAgeFilesLines
* Use g_list_free_full() instead of g_list_foreach() + g_list_free()Juan Pablo Ugarte2020-08-171-2/+1
| | | | Also fix -Wcast-function-type warnings
* GladeInspector: plug object leakJuan Pablo Ugarte2020-08-071-18/+10
| | | | | Fix leak in button_press_cb(). Use g_autoptr when getting an object from a model.
* Use symbolic icon names.Juan Pablo Ugarte2020-07-291-1/+1
|
* gladeui: Use G_DECLARE_DERIVABLE_TYPE for GladeInspectorCorentin Noël2019-08-201-43/+42
|
* dnd: Enable Drag&Drop on waylandAlberto Fanjul2019-08-061-1/+1
|
* introspection: Add many annotations to sourcesCorentin Noël2019-04-011-5/+5
|
* Fix tab/space identationJuan Pablo Ugarte2018-08-021-93/+93
|
* GladeInspector: use new api to check if a widget has a nameJuan Pablo Ugarte2016-01-281-19/+22
|
* GladeInspector: added inspector_set_complete_text() function to optimize ↵Juan Pablo Ugarte2016-01-281-33/+25
| | | | search by not casefolding the needle each time we need to search for it.
* GladeInspector: skip unnamed widgets in searchJuan Pablo Ugarte2016-01-281-0/+6
|
* GladeInspector: do not show widget name if its unnamed (has prefix ↵Juan Pablo Ugarte2016-01-271-0/+24
| | | | __glade_unnamed_)
* Replaced deprecated functionsJuan Pablo Ugarte2014-05-071-1/+1
| | | | | | | | | | | | | | | | gtk_button_new_from_stock() -> gtk_button_new_from_icon_name() gtk_widget_render_icon_pixbuf() -> gtk_icon_theme_load_icon() gtk_widget_set_margin_left() -> gtk_widget_set_margin_start() Stock images with icon names GTK_STOCK_ADD -> "list-add" GTK_STOCK_REMOVE -> "list-remove" GTK_STOCK_OPEN -> "document-open" GTK_STOCK_GO_DOWN -> "go-down" GTK_STOCK_DIALOG_WARNING -> "dialog-warning" GTK_STOCK_INFO -> "dialog-information" GTK_STOCK_SAVE -> "document-save" GTK_STOCK_REFRESH -> "view-refresh"
* Convert every object to use G_DEFINE_TYPE_WITH_CODE() or G_ADD_PRIVATE() macrosJuan Pablo Ugarte2014-04-171-57/+56
| | | | Fixed function prototype identation and spacing.
* Drag&Drop clean up.Juan Pablo Ugarte2013-08-191-0/+6
| | | | | | | | | | | 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
* Revert "glade-inspector: Use a GtkSearchEntry"Tristan Van Berkom2013-06-181-2/+2
| | | | | | | | This reverts commit 9d462d504e3f82df7524c68f13bc98863272919c. The search entry dominates the entry icons, which are used by Glade (Glade uses the secondary icon to 'expand-all' the treeview in a single click).
* Only update project if the project has indeed changed.Marco Diego Aurélio Mesquita2013-06-181-0/+3
|
* glade-inspector: Use a GtkSearchEntryJasper St. Pierre2013-06-141-2/+2
|
* GladeInspector: Add ellipsizing textTristan Van Berkom2013-04-261-19/+38
| | | | | Now we combine the type name & detail cells into the same cell and ellipsize that cell (it works better if only one cell ellipsizes).
* GladeInspector: Derive from GtkBoxTristan Van Berkom2013-04-141-5/+9
|
* GladeInspector: Add an icon to expand all rows.Tristan Van Berkom2013-04-111-1/+6
|
* GladeInspector: Now show a warning icon and tooltip text if a widget has a ↵Tristan Van Berkom2013-04-111-3/+38
| | | | | | | | | warning This makes support warnings much easier to catch, instead of having to dig into the properties dialog (or wait until save time) you can see directly in the inspector if any of your widgets have any deprecation/versioning warnings.
* GladeInspector: Search entry completes on GladeProjectTristan Van Berkom2013-04-081-1/+1
| | | | | | Instead of completing on the filtered model, it's more reliable to fetch completions from the real project model, and use those completions to feed the filtering mechanism.
* GladeInspector: Enhanced search entry.Tristan Van Berkom2013-04-081-10/+41
| | | | | Now find the first complete match when ENTER is pressed, if a complete match is found, then select it.
* GladeInspector: Re-enable completions in the search entry.Tristan Van Berkom2013-04-081-72/+169
| | | | | | Guys, it's twice now that someone breaks completions, with the naive idea that some stock function from GTK+ can do it right, please, please never break completions in the inspector again, thankyou.
* Revert "Removed search entry from GladeInspector"Tristan Van Berkom2013-04-081-87/+241
| | | | This reverts commit 644299857b3cdd3861bfebfb7aefdabe0e93fb30.
* Cleanup deprecations all around.Tristan Van Berkom2013-04-011-4/+0
| | | | | | | | GtkColorChooser APIs now used for color editing GladeBaseEditor now uses a GtkGrid for it's last GtkTable In some places to support deprecated types, we explicitly add G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS statements.
* GladeInspector: Making treeview more prettyTristan Van Berkom2013-04-011-8/+33
| | | | let text flow freely with no fixed size renderers.
* Clear search entry on disposeJuan Pablo Ugarte2013-03-291-0/+1
|
* Removed search entry from GladeInspectorJuan Pablo Ugarte2013-03-121-241/+87
| | | | Added glade_inspector_set_search_entry()
* Removed use of deprecated object GCompletionJuan Pablo Ugarte2012-04-031-128/+107
| | | | replaced deprecated function g_value_get_char with g_value_get_schar()
* Fixed "variable set but not used" warnings (-Wunused-but-set-variable)Juan Pablo Ugarte2011-05-201-2/+1
|
* * gladeui/glade-base-editor.c,Juan Pablo Ugarte2011-03-311-12/+13
| | | | | | | | | | | | | | gladeui/glade-cell-renderer-icon.c, gladeui/glade-clipboard.c, gladeui/glade-editor.c, gladeui/glade-inspector.c, gladeui/glade-palette.c, gladeui/glade-project.c, gladeui/glade-property.c, gladeui/glade-signal.c, gladeui/glade-widget-action.c, gladeui/glade-widget.c: Replaced g_object_notify() with g_object_notify_by_spec()
* * gladeui/glade-catalog.c, gladeui/glade-inspector.c, ↵Tristan Van Berkom2011-01-161-0/+10
| | | | | | | | gladeui/glade-property-class.c, gladeui/glade-utils.c, gladeui/glade-widget-adaptor.c, gladeui/glade-widget.c, gladeui/glade-xml-utils.c, plugins/gtk+/glade-gtk.c: Plugging leaks found with valgrind.
* * gladeui/glade-inspector.c: Updated to use GtkStyleContext to set the italic &Tristan Van Berkom2011-01-071-8/+14
| | | | insensitive color for the < search widgets > entry.
* Fixed some code alignment.Tristan Van Berkom2011-01-061-12/+12
|
* * gladeui/glade-inspector.c: Fixed to not access the treeview from ↵Tristan Van Berkom2011-01-051-2/+0
| | | | | | set_project() (since we do it in expose and the view gets destroyed without us unsetting the pointer).
* * Another major refactor, tasks accomplished:Tristan Van Berkom2011-01-031-5/+5
| | | | | | | | | | | | | | - Removed GladeApp selection handling, only on the project now - Removed "Copy" as a command, copying widgets no longer dirty documents (bug 546873) - Removed GladeApp "active_project" concept, every interaction is associated with a GladeProject - Simplified GladeClipboard, the clipboard now only has a list of widgets and not a "selection", everything is removed from the clipboard when new widgets are added there. - GladePalette now has a "project" property and does not need to be refreshed by an external entity. 19 files changed, 652 insertions(+), 1135 deletions(-)
* * Made GladeWidget internalize *everything* into a private data structure,Tristan Van Berkom2011-01-021-1/+1
| | | | 33 files changed, 1318 insertions(+), 1230 deletions(-)
* * ALL SOURCE FILES: Removed 8-space indentation, reformatted all code with:Tristan Van Berkom2010-12-301-635/+615
| | | | | | | | | | | | | 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
* Merge branch 'master' into offscreen-gtk3Tristan Van Berkom2010-12-221-8/+30
|\ | | | | | | | | | | | | Conflicts: ChangeLog gladeui/Makefile.am gladeui/glade-widget.c
| * * gladeui/glade-inspector.c:Tristan Van Berkom2010-12-171-8/+30
| | | | | | | | | | | | | | | | | | | | | | - Avoid changing project selection when selection is cleared, selection get's cleared when the user changes a widget name and a filter is applied (removing the entry from the filtered model), avoiding syncing project selection avoids making the editor disappear when the user changes a widget name (fixes bug 604322). - Also plugged some leaked objects retrieved by gtk_tree_model_get(). * gladeui/glade-editor-table.c: Fire a warning when entry is edited with no widget loaded, also change the ->loading flag strategy for blocking signal emission instead.
* | Merge branch 'master' into offscreenTristan Van Berkom2010-10-121-11/+11
|\ \ | |/
| * * gladeui/glade-inspector.c: Fixed project leakage at dispose time.Tristan Van Berkom2010-10-111-11/+11
| |
* | Merge branch 'master' into offscreenTristan Van Berkom2010-10-091-0/+4
|\ \ | |/ | | | | | | Conflicts: gladeui/glade-named-icon-chooser-dialog.c
| * * gladeui/glade-inspector.c, gladeui/glade-named-icon-chooser-dialog.c:Tristan Van Berkom2010-09-211-0/+4
| | | | | | | | Some build fixes to help compile against GTK+ 3.0
* | Fixed compitation for gtk+-3.0Juan Pablo Ugarte2010-09-191-2/+2
|/
* * gladeui/glade-project.[ch]:Tristan Van Berkom2010-08-291-11/+22
| | | | | | | | | | - Added MISC column to the project model (displayable information about whether the widget is an internal child of a composite widget or a frame's label or notebook's tab). * gladeui/glade-inspector.c: Fixed regression in the inspector; inspector was failing to display information about frame labels and internal action areas and such.
* Added ChangeLog entry for Johannes's work, fixed some compile warnings.Tristan Van Berkom2010-05-141-1/+2
|
* Cache the list of objects in the projectsJohannes Schmid2010-05-141-3/+1
| | | | Fixes some memory leaks and is probably also better performance-wise
* inspector: Bring back old search entryJohannes Schmid2010-05-141-30/+166
|