summaryrefslogtreecommitdiff
path: root/gladeui
Commit message (Collapse)AuthorAgeFilesLines
* widget: canonicalize support-warning property nameChristian Hergert2020-02-261-1/+1
| | | | | | | | This has been causing issues in Builder recently, preventing users from opening some projects. It appears related to GLib tightening restrictions on property names in GNOME/glib@30e630c9df792cf36cdb1cceb3daefbde1dc898a. Fixes #403
* GladeCommand: ignore special child types placeholders in add command.Juan Pablo Ugarte2018-05-121-2/+3
| | | | | | | | GladeGtkWindow: mark titlebar placeholder as special child type. Fix bug "Glade deletes all widgets when adding a Scrolled Window parent, but doesn't show it." https://gitlab.gnome.org/GNOME/glade/issues/196
* GladeAdaptorChooser: add missing translation domainPiotr Drąg2018-03-231-1/+1
|
* Fix glade_util_container_get_all_children()Juan Pablo Ugarte2018-03-061-1/+3
| | | | | | | | | | | | gtk_container_forall() no longer returns all children for all classes For example in GtkActionBar forall() only returns the internal revealer child and foreach() returns all the widgets added by the user which are inside a box which parent its the internal revealer So in order to get all the children we need to call forall() and foreach() and remove duplicates This fixes bug #778537 "ActionBar need placeholder"
* Revert "GladeWidgetAdaptor: fix glade_widget_adaptor_get_parent_adaptor()"Juan Pablo Ugarte2018-02-281-15/+1
| | | | | | | | This reverts commit b9763bfada7c9ecc2532563a97c387f8c20962b5. Revert "GtkPopover: rework support code to fix bugs and warnings" This reverts commit d2bedbab24c64198b373345e973d00e1f9fdc33c.
* GladeWidgetAdaptor: fix glade_widget_adaptor_get_parent_adaptor()Juan Pablo Ugarte2018-02-261-1/+15
| | | | | | Use adaptor real_type instead of runtime type which could be a derived type glade_widget_adaptor_from_catalog() Add check for get-type-function return value
* GladeEditorPropertyTextClass: use relative paths for resourcesJuan Pablo Ugarte2018-02-241-12/+10
| | | | | From now one Glade will use relative paths for filename properties like image resources.
* GladeProject: always treat resource properties as relativeJuan Pablo Ugarte2018-02-241-13/+105
|
* Add _glade_util_file_get_relative_path() to the private zoo.Juan Pablo Ugarte2018-02-242-0/+44
|
* GladePropertyClass: fix missing images data lossJuan Pablo Ugarte2018-02-241-2/+5
| | | | | | | | Make make_object_from_string() always return a different pixbuf for image properties to avoid loosing data by returning a copy of gtk_icon_theme_load_icon() Dix bug #772485 "File Name property of GtkImage is copied to all other GtkImage"
* GladeDesignView: set selected layout stateJuan Pablo Ugarte2018-01-304-56/+46
| | | | Update layout state in order to change border color with css
* GladeAdaptorChooserWidget: enable Drag & DropJuan Pablo Ugarte2018-01-201-0/+49
| | | | NOTE: Gtk bug #771986 needs to be fixed for this to work
* Fix some typos in new stringsPiotr Drąg2018-01-081-2/+2
|
* GladeAdaptorChooserWidget: activate treeview with single clickJuan Pablo Ugarte2018-01-061-1/+2
|
* Add highlighting of deprecated property & class namesDaniel P. Berrange2018-01-041-8/+10
| | | | | | | Use bold text to highlight the deprecated property & class names to make the deprecation messages easier to scan over. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Fix formatting / layout of project verification detailsDaniel P. Berrange2018-01-041-2/+3
| | | | | | | | | | | Two of the common deprecation messages are missing a newline, causing the message display to be 1000's of pixels wide The scrolled window displaying the messages is also not set to expand as the window grows, leaving only three lines of text visible by default. These bugs make the verification message display almost unusable. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* GladebaseEditor: Implement it as a template classJuan Pablo Ugarte2017-12-314-358/+450
| | | | Simplify UI by removing general tab and only keeping the hierarchy editor
* GladeBaseEditor: use GSIZE_TO_POINTER to store a GType on a pointerJuan Pablo Ugarte2017-12-311-3/+3
| | | | Fix bug 774994 "in treeview columns editor contextual menu does nothing"
* GladeApp: add GLADE_ENV_ICON_THEME_PATHJuan Pablo Ugarte2017-12-302-2/+17
| | | | Add env variable to append extra icon theme search paths
* GladeWidgetAdaptor: use real type to register adaptorsJuan Pablo Ugarte2017-12-301-1/+1
| | | | This way classes that have a different runtime type like GtkOffscreenWindow can be registered.
* Add UI interactive introductionmodern-uiJuan Pablo Ugarte2017-12-301-0/+4
|
* GladeAdaptorChooserWidget: set scrolled window max height on mapJuan Pablo Ugarte2017-12-301-0/+23
|
* GladeDesignView,GladePlaceholder: use gtk_popover_popup() instead of ↵Juan Pablo Ugarte2017-12-302-2/+2
| | | | gtk_widget_show()
* GladeAdaptorChooser: show group title in chooser with more than oneJuan Pablo Ugarte2017-12-301-6/+9
|
* GladeAdaptorChooserWidget: add show-group-title propertyJuan Pablo Ugarte2017-12-302-28/+108
|
* GladePlaceholder: use middle click button to create more than one widgetJuan Pablo Ugarte2017-12-301-26/+30
|
* GladeAdaptorChooser: implemented new class to replace paletteJuan Pablo Ugarte2017-12-305-0/+500
|
* Rename GladeAdaptorChooser to GladeAdaptorChooserWidgetJuan Pablo Ugarte2017-12-308-188/+184
|
* _GladeAdaptorChooser: add new APIJuan Pablo Ugarte2017-12-302-75/+127
| | | | | | Project is no longer a construct porperty. Move flags and project logic to filter funtion. Add _populate(), _add_catalog() and add_group() methods
* GladeWidgetAdaptor: do not query user by defaultJuan Pablo Ugarte2017-12-301-1/+17
|
* GladeEditor: add show-border propertyJuan Pablo Ugarte2017-12-301-1/+15
|
* GladeAdaptorChooser: set viewport max content height instead of minJuan Pablo Ugarte2017-12-301-3/+5
|
* GladeDesignView: include all widget in widget chooserJuan Pablo Ugarte2017-12-301-1/+2
| | | | Since currently this is the only way to add widget, we need to be able to add any kind of widget.
* GladeAdaptorChooser: add GLADE_ADAPTOR_CHOOSER_SKIP_DEPRECATED flagJuan Pablo Ugarte2017-12-302-4/+6
| | | | From now on the chooser will include deprecated classes by default.
* add background class to GladeDesignLayout childrenLukas K2017-11-261-0/+3
|
* Use new utility function to parse boolean values.Juan Pablo Ugarte2017-11-182-46/+10
| | | | Fixes bug 790452 "Glade saves invalid GtkBuilder XML"
* Add glade_utils_boolean_from_string() to the zooJuan Pablo Ugarte2017-11-182-0/+49
|
* Fix use of GTK+ style context in GladeDesignLayout.Arnaud Rebillout2017-06-141-3/+4
| | | | | | | | | | It seems like modifying the style context in the 'draw' handler is not recommended, and we need to save/restore the context. Otherwise, for some widgets (GtkButton, GtkComboBox), the GladeDesignLayout gets trapped in draw-damage loop. See 0c076cc8828cd80f1f156a08569199675bf35165 for reference.
* Use g_ptr_array_find() from GLibJonh Wendell2017-05-041-20/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=782161
* GladeBaseEditor: fixed bug #773997 "GLADE 3.20: crash on changing ToolItem type"Juan Pablo Ugarte2016-12-252-4/+2
| | | | Do not use a custom marshaller for signals with a GType param.
* GladeEditorProperty: Add 4px box spacingTristan Van Berkom2016-10-291-0/+1
| | | | | | | This causes the optional properties with the added check mark to look much better. From patch contributed by Lukas K <lu@0x83.eu> on bug 351645
* Bug 351645 - glade-editor-property.c: Use glade_util_remove_scroll_events()Tristan Van Berkom2016-10-291-38/+4
| | | | | | Use the new shared function for handling scroll events. From patch contributed by Lukas K <lu@0x83.eu>
* Bug 351645 - glade-utils.[ch]: Add glade_util_remove_scroll_events()Tristan Van Berkom2016-10-292-0/+36
| | | | | | | Allow plugins to use the event propagation hack we use to avoid scroll events in a scrolled window being eaten up by child widgets. From patch contributed by Lukas K <lu@0x83.eu>
* GladeEditor: fixed glade_editor_switch_page() signal connection.Juan Pablo Ugarte2016-05-201-1/+1
| | | | Fixes bug #765562 "Using Spacebar to change menu selction causes crash"
* GladeWidgetAdaptor: use a direct hash for the adaptor hash table by stuffing ↵Juan Pablo Ugarte2016-05-181-44/+9
| | | | the GType into a pointer with GSIZE_TO_POINTER()
* glade-previewer: adapted GladePreviewWindow as GladePreviewer to not longer ↵Juan Pablo Ugarte2016-04-086-1307/+1267
| | | | | | pack toplevels inside a window This avoids bug #761651 "[Wayland] glade previewer is resizing windows until it crashes gnome-shell"
* GladeDesignLayout: fixed regresion drawing nodes and pushpin in margins and ↵Juan Pablo Ugarte2016-03-223-20/+18
| | | | | | alginment edit modes. _glade_design_layout_get_colors() removed context parameter.
* gladeui/glade-base-editor.c: relicense as LGPLJuan Pablo Ugarte2016-03-141-11/+11
|
* gladeui/glade-design-layout.css: relicense as LGPLJuan Pablo Ugarte2016-03-141-13/+13
|
* GladeDesignLayout: updated to new class css name APIJuan Pablo Ugarte2016-03-142-6/+9
|