| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
These sources are using GtkListStore apis,
but were replying on indirect includes to
get the header. Make this explicit, to prepare
for GtkEntryCompletion losing its tree view
dependencies.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Avoid duplicating GtkEditable APIs. Port existing users.
|
|
|
|
|
|
|
| |
Remove all the old 2.x and 3.x version annotations.
GTK+ 4 is a new start, and from the perspective of a
GTK+ 4 developer all these APIs have been around since
the beginning.
|
|
|
|
|
|
| |
g_object_ref now returns the type of the object that was
passed. Introduce cast as necessary to avoid warnings due
to this.
|
|
|
|
| |
The box was somehow overlooked in the diagrams.
|
|
|
|
|
| |
Add the .linked style class to combo boxes which have
an entry, since that is what they are.
|
| |
|
| |
|
|
|
|
|
| |
Use the new GtkBuilder helpers and g_markup_collect_attributes
in all builder subparsers.
|
|
|
|
| |
Use the newer constructed instead, which has a fast path in GObject.
|
|
|
|
| |
Instead of Return value:
|
|
|
|
|
| |
With all element markup gone, it is time to turn off
sgml mode, and get rid of entities as well.
|
| |
|
| |
|
| |
|
|
|
|
| |
Specifically, switch to using markdown syntax for sections.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=723119
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use g_string_assign to avoid issues with assigning GString's internal
buffer back to the same string. This can happen when no translations are
available and _gtk_builder_parser_translate returns back the same
pointer that was passed in.
This fixes a regression from commit e9f182e37a7f6e2dc339054841a3c9f930f
that caused GtkComboBoxText <items> from GtkBuilder to show up empty if
no translations are available.
https://bugzilla.gnome.org/show_bug.cgi?id=700629
|
|
|
|
|
|
|
|
| |
Also removed a bogus FIXME comment which might have been true
a long time ago. Clarification: the "domain" attribute specified
in the builder script overrides any domain previously set with
gtk_builder_set_translation_domain(), so the translation of items
here is perfectly correct and does not need to be fixed.
|
|
|
|
|
|
|
| |
Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=699016
The fix here is slightly different. We make
_gtk_builder_parser_translate return a const char * instead of
a dup'ed string, and fix up the callers.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=688140
|
|
|
|
|
|
|
|
| |
These should use :, not ::, though signals would use ::.
See
http://developer.gnome.org/gtk-doc-manual/unstable/documenting_syntax.html.en
and
http://developer.gnome.org/gtk-doc-manual/unstable/documenting_symbols.html.en
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Presently, GtkComboBoxText lets you list the items for it in the
GtkBuilder markup like so:
<items>
<item translatable='yes'>Red</item>
<item translatable='yes'>Blue</item>
</items>
but has no way to set the "id" column for added items. Add an id='' tag
for that purpose so that you can do:
<item id='red' translatable='yes'>Red</item>
https://bugzilla.gnome.org/show_bug.cgi?id=667319
|
|
|
|
|
| |
This is cleaner than setting the value in the _new() functions and
makes binding and GtkBuilder instantiation easier. Bug #612396, comment 65.
|
| |
|
|
|
|
|
|
| |
If there is an entry, it is supposed to return the contents
of the entry. Pointed out by Allin Cottrell,
https://bugzilla.gnome.org/show_bug.cgi?id=642681
|
| |
|
| |
|
|
|
|
| |
accumulatively
|
|
|
|
|
| |
Grr, our mixture of xml and plain text in long descriptions is
a mess.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
If the GtkComboBoxText doesn't have id-column or entry-text-column
set for some reason (value -1), better warn and return. Else, unrelated
assertions fail, and warnings from gtk_tree_model_get_column_type()
are printed, which are not really obvious.
https://bugzilla.gnome.org/show_bug.cgi?id=637018
|
|
|
|
|
|
|
| |
Based on a patch by Matthias, add an "active-id" property for
GtkComboBox and add some convenience API for GtkComboBoxText.
Also, add a test case to gtk-demo.
|
| |
|
|
|
|
|
| |
It didn't quite turn out as I wanted it.
I'll put it in bug 619148 for now.
|
| |
|
| |
|
|
|
|
|
| |
This will let us use combo boxes as property editors for
GSettings enmerations easily.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=324899
|
|
|
|
|
|
|
| |
When has-entry is TRUE, GtkComboBox already adds a cell renderer
for the text column, so avoid adding a second one in GtkComboBoxText.
https://bugzilla.gnome.org/show_bug.cgi?id=632381
|
|
|
|
| |
We must use entry-text-column explicitly to 0, since it defaults to -1.
|