| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Instead of Return value:
|
| |
|
|
|
|
| |
https://wiki.gnome.org/Design/OS/Typography
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Specifically, switch to using markdown syntax for sections.
|
|
|
|
|
|
| |
This will set the headerbar title when necessary
https://bugzilla.gnome.org/show_bug.cgi?id=723212
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=723212
|
| |
|
|
|
|
|
|
|
| |
GtkAssistant supports not showing the sidebar with the page
titles (if the page have no titles). Unfortunately, we were
hiding the sidebar in this case, but still rendering the frame
behind it, leading to a broken appearance.
|
|
|
|
|
|
|
|
|
|
|
| |
We rename the gtk_widget_class_bind_template_child{_internal}
macros by appending a _private to their name. Otherwise, it
would be too magic to pass the 'public' names as arguments,
but affect a member of the Private struct. At the same time,
Add two new macros with the old names,
gtk_widget_class_bind_template_child{_internal} that operate
on members of the instance struct.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The macros and functions are inconsistently named, and are not tied to
the "template" concept - to the point that it seems plausible to use
them without setting the template.
The new naming scheme is as follows:
gtk_widget_class_bind_template_child_full
gtk_widget_class_bind_template_callback_full
With the convenience macros:
gtk_widget_class_bind_template_child
gtk_widget_class_bind_template_child_internal
gtk_widget_class_bind_template_callback
https://bugzilla.gnome.org/show_bug.cgi?id=700898
https://bugzilla.gnome.org/show_bug.cgi?id=700896
|
|
|
|
|
|
|
|
|
|
| |
Using an offset from the struct means you can have children in
both the public and private (via G_PRIVATE_OFFSET) parts of the
instance. It also matches the new private macros nicer.
https://bugzilla.gnome.org/show_bug.cgi?id=702563
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=702996
|
| |
|
| |
|
| |
|
|
|
|
| |
Copy/paste typo.
|
|
|
|
|
|
|
| |
In particular gtksettings.h and gtkstylecontext.h needed to be included
in lots of places now.
Also, I order the includes alphabetically in a bunch of headers.
|
| |
|
| |
|
|
|
|
|
|
|
| |
gtk_widget_show_all() would have shown every single item inside
the GtkAssistant sidebar, as well as all the navigation buttons.
https://bugzilla.gnome.org/show_bug.cgi?id=659826
|
| |
|
|
|
|
|
|
|
|
|
| |
Make page titles left-aligned again. Changing from misc alignment
to GtkWidget::halign here was a mistake. We can't do that for labels
in a size group, as long as labels still pay attention to misc
alignment.
https://bugzilla.gnome.org/show_bug.cgi?id=658008
|
|
|
|
| |
Ensures that we properly emit the "remove" signal.
|
|
|
|
|
| |
During destruction, we need to be careful to not ask the content
notebook to remove itself from itself.
|
|
|
|
| |
We no longer use the private GtkAccessible api here.
|
|
|
|
|
| |
This was suspiciously missing, considering we have the usual
append/prepend/insert_page methods.
|
|
|
|
|
|
| |
Listen for GtkContainer::remove signals from the internal notebook.
https://bugzilla.gnome.org/show_bug.cgi?id=653705
|
|
|
|
| |
Less code and no leaks!
|
| |
|
|
|
|
|
|
| |
Forward/Back/Last has been declared strange; so go with something
a little more friendly: Continue/Go Back/Finish.
https://bugzilla.gnome.org/show_bug.cgi?id=652506
|
|
|
|
|
|
|
|
| |
Replacing the function gtk_misc_set_alignment () with
gtk_widget_set_halign () and gtk_widget_set_valign () in
gtk/gtkassistant.c
https://bugzilla.gnome.org/show_bug.cgi?id=650762
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This has mostly two advantages:
- the most obvious one is the theme can render a border around the
sidebar if it wants to.
- we also can avoid hardcoding a container border width for the sidebar,
and just use a padding from the theme. This also allows different
themes to define a different padding, etc.
The drawback is we must draw the background ourselves, but it's easy
enough.
https://bugzilla.gnome.org/show_bug.cgi?id=650530
|
|
|
|
|
|
|
| |
It's not needed to call _reset_style() here, as we did not add the
widget to the parent container yet.
https://bugzilla.gnome.org/show_bug.cgi?id=650530
|
|
|
|
|
| |
Its all about the content, so make sure the content fills
the available space.
|
|
|
|
|
|
|
|
|
|
| |
GtkAssistant is widely recognized as a butt-ugly widget.
This commit changes its style to look more modern. We
deprecate the sidebar and header image properties and
don't show them anymore. Instead, page titles are arranged
in a sidebar, with the title of the current page shown
in highlighted style.
|
|
|
|
| |
Also fix a bad case in gtk_assistant_accessible_get_n_children.
|
| |
|
|
|
|
|
| |
This was not handled consistently, but the default handler
does useful things, so we should always chain up.
|
|
|
|
|
|
|
| |
We don't want repeated calls to set_title_font to blow up the
font size ever more, so reset the font each time.
https://bugzilla.gnome.org/show_bug.cgi?id=640712
|
|
|
|
|
| |
gcc 4.6.0 has started to warn about set-but-unused variables.
So don't do that, then.
|
|
|
|
| |
gtk_widget_verify_invariants() was complaining, now it's silent.
|
|
|
|
|
|
| |
Based on patches by Javier Jardón.
https://bugzilla.gnome.org/show_bug.cgi?id=629955
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
ATK provides macros to the same effect as G_DEFINE_TYPE; using these
macros has the advantage of removing tons of duplicated code and
reducing the maintainership burden.
The widgets with inline accessibility implementation should switch to
these macros, and clean up the code.
https://bugzilla.gnome.org/show_bug.cgi?id=636060
|