| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Add an internal version for the few places where we still need it,
and drop it from everywhere else.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Move the icon size lookup API into gtkicontheme.c
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Some errors are now returned as markup errors instead of builder
errors. Adjust the tests for this.
|
| |
|
|
|
|
| |
This tests the fix in the previous commit.
|
|
|
|
|
| |
Dialogs no longer set a headerbar as titlebar unless use-header-bar
is set to 1. Update the test to do that.
|
|
|
|
|
| |
This shows <signal> failing because class_init hasn't been run
yet.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added GTK_BUILDER_ERROR_INVALID_PROPERTY and GTK_BUILDER_ERROR_INVALID_SIGNAL
error codes
ObjectInfo: Use a GType instead of a char * for the class name.
PropertyInfo: Use a GParamSpec instead of a char * for the property name.
SignalInfo: Use signal id and detail quark instead of a detailed signal name string.
This not only save us a few malloc in each case but lets us simplify the code
and report unknown properties and signals as a parsing error instead of just
printing a warning.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
attributes "bind-source" to specify the source object of the binding "bind-property" to specify the source property and "bind-flags" to specify the binding flags (optional)
Binding an object sensitive property with a check button active property will look like this:
<object class="GtkButton" id="button">
<property name="sensitive" bind-source="checkbutton" bind-property="active"/>
</object>
This is based on the original work done by Denis Washington for his GSoC project
This closes Bug 654417 "[GSoC] Add <binding> element to GtkBuilder syntax"
|
|
|
|
|
| |
Dialogs now report two children. Thats alright, adapt
the test to deal with it.
|
|
|
|
|
| |
Some of these should be revisited and fixed. For now,
just avoid the deprecation warnings.
|
|
|
|
|
|
|
|
|
|
| |
The signal callbacks are defined to take pointers as their arguments, but the
callbacks found in testsuite/gtk/builder.c are passing a GParamSpec by value
as the second argument. This confuses and angers the compiler on ppc64el,
resulting in segfaults after return from the function due to stack-smashing
by the (completely-unused) argument.
https://bugzilla.gnome.org/show_bug.cgi?id=721700
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
One requirement of .ui files is that each object must have an ID,
even if it is never referred to or directly loaded from the code.
This makes editing .ui files much more onerous than it has to be,
due to the frequent need to invent new IDs, while avoiding
clashes.
This commit makes IDs optional in the XML. They only need to
be provided for objects which are referred to or explictly loaded
from the code. Since GtkBuilder needs IDs for its own internal
accounting, we create IDs of the form ___object_N___ if not
specified in the XML.
https://bugzilla.gnome.org/show_bug.cgi?id=712553
|
|
|
|
|
| |
The GtkBuilder infobar tests were asserting facts about the
internal structure of the widget that are no longer true.
|
|
|
|
| |
It is recommended to use GAction et al and GtkBuilder.
|
|
|
|
|
| |
We want to use GtkIconTheme instead. It is worth noting that
the parts that remain undeprecated are GtkIconSize and gtk_icon_size_lookup.
|
| |
|
| |
|
|
|