2392b1e534
Make print dialog destruction work
...
This was also causing the templates test to fail.
2014-02-17 21:40:36 -05:00
0ff0fdfefb
action bar: remove the forall implementation
...
With nested internal children, this interferes with proper
cleanup, and makes the templates test fail.
2014-02-17 21:39:44 -05:00
ad9019c2c9
gtkbox: fix positioning of center widget
2014-02-17 23:23:04 +01:00
e734b79fd8
Fix return_if_fail lines in gtk_box_pack
...
Since the function now returns a value, these checks
need to be updated.
2014-02-17 11:55:56 -05:00
b63ecf8b1a
Add builder support for GtkBox center widget
2014-02-17 14:05:36 +01:00
11834ebf5c
app chooser: Reword a label
...
'Find New Applications' is shorter and less cryptic than 'Find
Applications in Software'.
2014-02-17 06:56:00 -05:00
72e2094472
Drop with_separators from gtk_popover_bind_model
...
The with_separators argument does not really make sense
for popovers, it was just copied from the menu implementation.
Drop it now, before it becomes part of the public API.
2014-02-17 06:52:38 -05:00
f3c9f86d14
popover: Make gtk_popover_bind_model() public
...
This is needed for the C++ bindings.
https://bugzilla.gnome.org/show_bug.cgi?id=724503
2014-02-17 06:52:23 -05:00
8bfa5e4611
Drop GtkCenterBox
...
Its functionality has been subsumed in GtkBox.
2014-02-16 23:05:21 -05:00
ef565e2713
action bar: Use a regular box instead of GtkCenterBox
...
GtkBox now supports a centered child, so GtkCenterBox is
no longer needed here.
2014-02-16 23:02:54 -05:00
06716a6c79
Add center widget support to GtkBox
...
This makes GtkCenterBox unnecessary, and at the same time
adds more features: the center widget can be expanded, and
baseline alignment is supported.
2014-02-16 22:57:24 -05:00
8bd94a9515
Fix a problem with window dragging
...
Dragging windows was not working on widgets in the titlebar
region unless they had the window-dragging style property
set. Fix this by looking at the region for motion notify
events as well as for buton press events.
2014-02-15 20:41:58 -05:00
3c981d23dc
Don't show an empty license tab
...
It is not useful to show a license tab, if there's no license
to read. This was pointed out as a possibility in
https://bugzilla.gnome.org/show_bug.cgi?id=724411
2014-02-15 18:07:09 -05:00
c779b42476
Docs: use // for comments in examples
...
Without sgml mode, we can't escape /* as /* anymore,
so just switch to // for comments in examples.
2014-02-14 23:34:22 -05:00
e179c65da0
header bar: squeeze the title in
...
Let the center widget extend into the border area, to avoid
resizing header bars needlessly. This improves the uniformity
of header bars across applications, some of which don't use
subtitles, or use custom title widgets.
https://bugzilla.gnome.org/show_bug.cgi?id=706515
https://bugzilla.gnome.org/show_bug.cgi?id=707999
2014-02-14 15:39:08 -05:00
4a208439e6
Raleigh: fix a typo
...
titlebar is a style class, so it needs a .
2014-02-14 15:33:47 -05:00
c1def9c224
Forgotten file
2014-02-14 15:33:26 -05:00
9678c92112
Fix a typo
...
Thanks to Thomas A. Stillings for spotting it.
2014-02-14 11:56:48 -05:00
f55d210c12
app chooser: sync sensitivity of search button
...
The code setting up the button has been move a little later
in the dialog construction, with the effect that the entry
is already insensitive when we set up the binding.
2014-02-14 09:39:49 -05:00
f217af54ca
app chooser: Add a search bar
...
This replaces the treeview typeahead popup with a GtkSearchBar,
and adds a search button to the header bar (if we have one).
https://bugzilla.gnome.org/show_bug.cgi?id=724218
2014-02-14 07:05:13 -05:00
e30f5dd00d
color chooser: Make nonresizable by default
...
The color chooser does not contain any scrollable content,
therefore it should not be resizable.
2014-02-14 07:05:13 -05:00
9a5f7c7978
Use an action bar for the conficts ui in the print dialog
2014-02-13 20:59:26 -05:00
283804c0bf
Set a default spacing on action bars
2014-02-13 20:59:25 -05:00
a121da3bb1
Set no border on notebook in print dialog
2014-02-13 20:59:25 -05:00
afa9339e71
volume-button: use symbolic icons by default
2014-02-13 20:47:24 -05:00
352ea3a48d
message-dialog: deprecate the image field
...
We had already set the image to be hidden in the .ui file.
This patch removes the image altogether, and deprecates the
property, setter and getter.
If an image is explicitly put with the setter, it is still
shown, so to not break existing users of this API.
Based on a patch by Jon McCann.
2014-02-13 20:41:29 -05:00
6578c9d876
Modernize the app chooser dialog
...
This is according to suggestions in
https://bugzilla.gnome.org/show_bug.cgi?id=724218
2014-02-13 00:14:42 -05:00
2671fa98f8
Revert "gtkicontheme: Don't query CONTENT_TYPE to determine if something is an SVG"
...
This reverts commit f929a61399 .
It caused blurry icons in gnome-shell, and we haven't been able
to track down why yet.
2014-02-12 22:36:59 -05:00
a9ecde45ec
docs: don't show bloatpad images in the docs
...
They are too large and out of date.
2014-02-12 19:28:51 -05:00
37a8ee6e95
docs: fully break lines in examples
...
Try to do a better job of keeping example content
from being too wide. It is often rendered as <pre>
text so the only time we can wrap it is in the source.
It is best to full break lines at all punctuation and
to try to keep the width under 70 chars or so.
2014-02-12 18:42:50 -05:00
d0a654e4b9
Add new ActionBar
...
https://bugzilla.gnome.org/show_bug.cgi?id=723929
2014-02-12 08:08:03 -05:00
c86ee0558c
Rename GtkActionBar to GtkCenterBox
...
https://bugzilla.gnome.org/show_bug.cgi?id=723929
2014-02-12 08:08:03 -05:00
9e002a024e
GtkEntry: Fix a few irregularities in the size request code
...
We don't want the size request to change as icons come and
go (thinking e.g. about the caps lock warning). Just make
sure that we have enough room for showing the icons.
2014-02-11 22:00:12 -05:00
cf4a41a856
Add GtkEntry:max-width-chars
...
This property allows specifying a natural width of
the entry that is bigger than the minimum width.
https://bugzilla.gnome.org/show_bug.cgi?id=724094
2014-02-11 17:54:25 -05:00
3459a0a273
Revert "Introduce API to get the preferred visual"
...
This reverts commit 2b95d1a34e .
Conflicts:
gdk/gdkscreen.c
2014-02-10 22:15:28 -05:00
d326507978
Revert "Use gdk_screen_get_preferred_visual()"
...
This reverts commit 30fa1426cf .
See the bugs
https://bugzilla.gnome.org/show_bug.cgi?id=724067
https://bugzilla.gnome.org/show_bug.cgi?id=723740
for the issues that are the reason for this revert.
2014-02-10 22:12:53 -05:00
fefd3bf6cc
menu button: Don't set use_popover to TRUE by default
...
This was changed by accident. The default value is supposed
to be FALSE, for now.
2014-02-10 09:10:22 -05:00
a76bb2c177
docs: Fix tiny typo.
2014-02-10 12:44:52 +01:00
79ed2b790a
a11y: remove implementation for component->get_size
...
Recently get_size was removed because it was redundant, as
you can get the same information from get_extents.
https://bugzilla.gnome.org/show_bug.cgi?id=723863
2014-02-09 23:11:53 -05:00
7f6a964c47
Docs: Remove all entities and turn off sgml mode
...
With all element markup gone, it is time to turn off
sgml mode, and get rid of entities as well.
2014-02-09 17:58:07 -05:00
444d04a360
More coding style cleanups
2014-02-09 01:22:07 -05:00
eb0eaffd24
Trivial coding style cleanups
2014-02-09 00:48:38 -05:00
add7a83452
Trivial formatting fix
2014-02-08 22:18:15 -05:00
d1ba50aa96
Quell a compiler warning
2014-02-08 22:17:28 -05:00
14ba1280ce
Improve popover positioning
...
Improve the algorithm to determing popover placement:
If it fits in the preferred direction or its opposite,
do that, otherwise use the direction that causes the least
of the popover to be cut off.
2014-02-08 22:14:51 -05:00
9822d510a6
GtkMenuButton: Support popovers
...
Add api to allow explicitly setting a GtkPopover instead of
a GtkMenu as the popup of a GtkMenuButton. Also, add api to
instruct the menu button to construct a popover when given
a menu model.
We set the style class "menu-button" on the button only when
it pops up a menu, to allow different treatment for the active
state of the button in the two cases.
https://bugzilla.gnome.org/show_bug.cgi?id=723878
2014-02-08 20:42:20 -05:00
552c29b488
GtkPopover: use GdkRectangle instead of cairo_rectangle_int_t
...
cairo_rectangle_int_t replaced by GdkRectangle whenever it is used.
Also, rect parameter in public method gtk_popover_set_pointing_to
made const.
Bug #723394
2014-02-08 21:53:07 +01:00
e2a2d5012e
GtkDialog: Make headerbar buttons homogeneous
...
The buttons in headerbars should be all the same width. Since
GtkHeaderBar doesn't have a homogeneous mode, use a size group
to achieve this.
https://bugzilla.gnome.org/show_bug.cgi?id=723672
2014-02-07 22:36:24 -05:00
dbf1521ad4
GtkFlowBox::child-activated: fix param type in g_signal_connect
...
Replace GTK_TYPE_WIDGET with more specific GTK_TYPE_FLOW_BOX_CHILD
for GtkFlowBox::child-activated. This matches signature of
child_activated slot in class struct.
https://bugzilla.gnome.org/show_bug.cgi?id=723716
2014-02-07 21:39:49 -05:00
eb14b00187
docs: fix typo
2014-02-07 21:34:27 -05:00