summaryrefslogtreecommitdiff
path: root/gladeui
Commit message (Collapse)AuthorAgeFilesLines
* GladeProject: Segfault in gnome-builder when widget doesn't have a namePeter Maatman2021-07-131-1/+3
|
* Output .glade files saved in Windows containing Pixbuf widgets with relative ↵jmoorecec2021-07-091-1/+1
| | | | paths to image files e.g. ui_graphics/background.png were changed from forward-slash (/) to backslash (\) due to use of GTK macro. E.g. ui_graphics\background.png Then, when the Glade file was loaded in Linux, the Pixbuf widget relative path did not work anymore b/c backslash (\) was not understood. Forward slashes (/) are always understood, so changed always use forward slashes.
* Revert "GladeWidget: unset parent and object on rebuild"Juan Pablo Ugarte2020-10-231-3/+0
| | | | This reverts commit 9e66cdfb97a89952e2a58fa702f1841dc302479a.
* Revert "GladeWidget: fix rebuild() function"Juan Pablo Ugarte2020-10-231-3/+3
| | | | This reverts commit 9827ed69e62475e1fd540ae2a450d6e87d94aab4.
* GladeWidget: fix rebuild() functionJuan Pablo Ugarte2020-10-231-3/+3
| | | | | | | Remove object from project before extracting children since we clear up GladeWidget back references for internal children. Fix issue #484 "Crash with GtkRecentChooserDialog"
* Fix maybe uninitialized warningsJuan Pablo Ugarte2020-10-161-1/+1
|
* GladeEditorProperty: properly show parentless objects in chooserJuan Pablo Ugarte2020-10-141-4/+2
| | | | Closes issue #53 "Can't choose a FileChooserDialog for a FileChooserButton"
* GladeUtil: add guard to glade_util_get_file_mtime()Juan Pablo Ugarte2020-10-091-0/+2
| | | | Closes issue #98
* GladeUtils: make message dialog text selectableJuan Pablo Ugarte2020-10-091-1/+12
| | | | Closes issue #355 "Make notification text selectable"
* Fix windows build on msysJuan Pablo Ugarte2020-10-094-11/+11
| | | | | | | | | | Use -Wl,--export-all-symbols and -Wl,--no-undefined to export symbols on mingw GladeApp: use PACKAGE_NAME instead of PACKAGE Remove copyright symbol from resource files to avoid weird UTF error building with mingw on msys
* GladePropertyDef: do not use setlocale in glade_dtostr()Juan Pablo Ugarte2020-10-091-22/+19
| | | | Windows does not have setlocale() function
* GladeProperty: make i18n_translatable false by defaultJuan Pablo Ugarte2020-10-051-4/+16
| | | | | | Only string properties should be translatable by default. Fix issue #406 "AtkObject::accessible-role should not be translatable"
* GladeWidget: unset parent and object on rebuildJuan Pablo Ugarte2020-10-021-0/+3
| | | | | We need to make sure internal widgets parent and object are unset while rebuilding to avoid having a GladeWidget with a dead object.
* GladePropertyDef: cleanup color type handlingJuan Pablo Ugarte2020-09-251-17/+26
| | | | | Cleanup PangoColor and GdkColor handling in make_string_from_gvalue and make_gvalue_from_string functions.
* GladeProjectProperties: fix target version loadingJuan Pablo Ugarte2020-09-251-10/+10
| | | | | | Make sure target version combo gets updated on project load. Fix issue #480 "version field not always updated in XML"
* GladeUtils: fix glade_utils_get_pointer()Juan Pablo Ugarte2020-09-251-7/+11
| | | | | | | Use default pointer device instead of device from current event since a paste can be triggered by the keyboard. This fix issue pasing widget with ctrl+v in GtkGrid
* GladeProject: cleanup glade_project_command_paste()Juan Pablo Ugarte2020-09-251-19/+5
|
* GladeCommand: adjust Box and Grid size automaticallyJuan Pablo Ugarte2020-09-253-87/+41
| | | | | | Adjust container size in create and paste command. Properly fix issue #470 "Widgets of type need placeholders to add children"
* Headers cleanupJuan Pablo Ugarte2020-09-2143-9/+497
| | | | Add missing copyright notes
* GladePopup: improve paste and add here actionsJuan Pablo Ugarte2020-09-181-21/+46
| | | | | | Support adding widgets to GtkBox and GtkGrid even if there are no placeholders Fix issue #470 "Widgets of type need placeholders to add children"
* GladePopup: special case add to box/gridJuan Pablo Ugarte2020-09-181-2/+31
| | | | | | Increase size of grid/box if there is no space to add a widget in the container Fix issue #470 "Widgets of type need placeholders to add children"
* GladeCommand: use glade_widget_get_display_name()Juan Pablo Ugarte2020-09-181-36/+34
| | | | Use display name for messages
* GladeProject: support property and signal deprecated-sinceJuan Pablo Ugarte2020-09-031-15/+19
| | | | Check deprecated-since version for properties and signals
* GladePropertyDef, GladeSignalDef: support deprecated sinceJuan Pablo Ugarte2020-09-034-12/+114
| | | | Add support for deprecated since version
* GladeProject: ignore insentitive propertiesJuan Pablo Ugarte2020-09-021-1/+1
| | | | | | Ignore insensitive properties for project verification. Fix issue #385 "GtkCellRendererText causes deprecated warnings for ghost properties"
* GladeProject: ignore resource:// uri on file propertiesJuan Pablo Ugarte2020-08-312-14/+18
| | | | | | Add resources URL in file properties support to be on par with GtkBuilder Fix issue #367 "Glade removes double/triple slashes from URLs"
* GladeWidgetAdaptorChooser: update automaticallyJuan Pablo Ugarte2020-08-241-16/+83
| | | | Update choosers when a new adaptor is registered
* GladeCatolog: monitor extra path for new templatesJuan Pablo Ugarte2020-08-241-65/+116
| | | | | Monitor all extra paths to load templates automatically without having to restart Glade.
* gladeui/glade-template.c: add class_init functionJuan Pablo Ugarte2020-08-241-11/+22
| | | | | Use class init function to set template and only reset it if _gtk_widget_class_template_unset_only_for_glade() is present
* GladeCatalog: Load templates from extra catalog paths.Juan Pablo Ugarte2020-08-175-59/+250
| | | | | Load template files as new GObject types and add them to "User templates" widget group.
* Use g_list_free_full() instead of g_list_foreach() + g_list_free()Juan Pablo Ugarte2020-08-178-51/+32
| | | | Also fix -Wcast-function-type warnings
* Utils: Add glade_util_list_objects_ref()Juan Pablo Ugarte2020-08-173-6/+18
| | | | Use new function to fix -Wcast-function-type warnings
* Fix warning: ISO C does not allow extra ‘;’ outside of a function ↵Juan Pablo Ugarte2020-08-1717-27/+27
| | | | [-Wpedantic]
* GladeProjectProperties: various UI improvements.Juan Pablo Ugarte2020-08-074-209/+264
| | | | | Port to use headerbar, stack and stach switcher. Add warnings textview for deprecations warnigns.
* GladeWidget: improve glade_widget_get_name() and ↵Juan Pablo Ugarte2020-08-071-9/+6
| | | | | | glade_widget_generate_path_name() Make sure object type is used intead of __glade_unnamed_ prefix.
* GladeProject: plug various glade widgets leaks.Juan Pablo Ugarte2020-08-071-14/+4
| | | | | | | Make sure objects retrieved with gtk_tree_model_get() are unref using g_autoptr This fixes all missing GladeWidget leaks so now we can remove toplevel destroy workaround and toplevels should not be leaked anymore after closing a project.
* 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.
* GladeSignalEditor: plug glade widget leakJuan Pablo Ugarte2020-08-071-0/+1
| | | | Unref widget property on finalize.
* GladeWidget: add support for g_autoptrJuan Pablo Ugarte2020-08-071-0/+2
|
* GladeCommandAddRemove: fix CommandData leakJuan Pablo Ugarte2020-08-071-28/+24
| | | | Fix leak in finalize()
* GladeProject: cleanup disposeJuan Pablo Ugarte2020-08-055-81/+96
| | | | | | | | | GladeAdaptorChooserWidget: use g_object_add_weak_pointer() instead of g_object_weak_ref() and unset project on dispose. GladeDesignLayout, GladeDesignView: use g_object_add_weak_pointer() GladeEditable: fix project signal disconnect issue
* Use symbolic icon names.Juan Pablo Ugarte2020-07-296-89/+84
|
* GladeProject: cleanup project finalizationJuan Pablo Ugarte2020-07-271-33/+16
| | | | | | | Call gtk_widget_destroy() on GtkWindow derived objects to avoid gtk keeping an internal reference Fix issue #363 "Toplevel windows are leaked when closing a project"
* GladeProjectProperties: break project circular dependencyJuan Pablo Ugarte2020-07-272-224/+352
| | | | | | | | Do not use a GtkTreeModelFilter for the template combobox to avoid adding a circular dependency to the project. Implement it with a proxy model updated using project add/remove widget signals.
* GladeWidget: allow setting a NULL objectJuan Pablo Ugarte2020-07-261-5/+7
| | | | We need to be able to unset object property on finalize method.
* GladeAdaptorChooser[Widget]: use GladeProject weak reference.Juan Pablo Ugarte2020-07-262-4/+33
| | | | | Use a weak reference for project to prevent holding a reference after the project is closed.
* GladeCatalog: load catalog right after calling init function.Juan Pablo Ugarte2020-07-261-4/+1
| | | | | | Its better to load catalogs right after calling the init function this way python and gjs catalogs would have all the adaptors available once introspection is enabled.
* Utils: ignore text nodes in prev/next functions with commentsJuan Pablo Ugarte2020-07-181-2/+17
| | | | | | Ignore text nodes (whitespaces) in glade_xml_node_prev_with_comments() and glade_xml_node_next_with_comments() functions to make it easier to get comments nodes.
* Utils: use g_param_spec_uchar() for uchar typesJuan Pablo Ugarte2020-07-091-3/+3
| | | | Fix issue #456 "Crash when editing GtkTreeView liststore entires"
* GladeGtkWindow: Fix CSD supportJuan Pablo Ugarte2020-06-221-1/+2
| | | | | | GladeWidget: make sure hidden placeholder are never serialized https://gitlab.gnome.org/GNOME/glade/-/issues/447