Alexander Larsson
f15bc7818e
Add GTK_ALIGN_BASELINE to GtkAlign
...
Setting this means baseline aware containers should align the widget
according to the baseline. For other containers this behaves like
FILL.
In order to not suprise old code with a new enum value we always
return _FILL for _BASELINE unless you specifically request it via
gtk_widget_get_valign_with_baseline().
2013-04-23 05:47:31 +02:00
John Ralls
655c781b6e
Fix automake warning about CFLAGS etc. being user variables
2013-04-22 15:48:35 -07:00
John Ralls
f0f07ad6d8
Remove get_atom_name and atom_intern
...
Completes aa9e974
for quartz
2013-04-22 15:48:35 -07:00
John Ralls
179004f0a7
Fix attempted inclusion of local headers with system brackets.
2013-04-22 15:48:34 -07:00
John Ralls
e58b19db04
gdk: Temporarily add -xobjective-c to CFLAGS
...
To enable compiling the quartz backend after a6a4428
2013-04-22 15:48:34 -07:00
Benjamin Otte
315261260c
button: Implement height-for-width
...
https://bugzilla.gnome.org/show_bug.cgi?id=698433
2013-04-22 18:29:21 -04:00
Benjamin Otte
3450388ff0
sizerequest: Split out a common function
2013-04-22 18:29:01 -04:00
Cosimo Cecchi
009aadf378
window: remove unused code
...
We don't need to add these style classes.
2013-04-22 18:10:22 -04:00
Cosimo Cecchi
7bbbb01ff5
window: rework the CSD theming layer
...
Instead of having three different boxes and style classes, we can just
get away with the regular background box, plus a window-frame, which
contains the external frame, together with the window drop shadows.
GtkWindow now has special code to ensure the backing actual window is
allocated big enough to accomodate the shadows (using the shadow size
calculations introduced in the previous commit). We also use the margin
value to determine the size of the invisible borders (which can then be
different than the shadow).
2013-04-22 18:10:22 -04:00
Cosimo Cecchi
a44d6816d3
cssshadow: add a method to get the size of a shadows value
...
The method returns the size of each side of a GtkCssShadowsValue.
2013-04-22 18:10:21 -04:00
Cosimo Cecchi
7846bedebd
window: factor out a gtk_window_get_maximized() function
...
Simplify code that does this same check over and over.
2013-04-22 18:10:21 -04:00
Cosimo Cecchi
87922575d3
window: remove title_border
...
We don't actually need this additional title border.
2013-04-22 18:10:21 -04:00
Ryan Lortie
ca0a18918c
GtkModelMenuItem: add support for 'icon' attribute
...
Add support for icons on a GMenuModel.
https://bugzilla.gnome.org/show_bug.cgi?id=688820
2013-04-22 15:55:08 -04:00
Piotr Drąg
66007d0ab6
Updated POTFILES.in and POTFILES.skip
2013-04-22 20:51:32 +02:00
Matthias Clasen
15bba87e9a
Add new symbols
...
Add the GtkRevealer functions to gtk.symbols
2013-04-22 12:42:39 -04:00
Matthias Clasen
8ff96b3bb2
Do rtl flipping for GtkRevealer transitions
2013-04-22 12:42:39 -04:00
Matthias Clasen
86688c6fde
Add a revealer example to gtk-demo
...
I tried to make a 'revealer ballet'. Judge for yourself if
I succeeded.
2013-04-22 12:42:39 -04:00
Matthias Clasen
aec62e1c10
Add docs for GtkRevealer
2013-04-22 12:42:38 -04:00
Matthias Clasen
d7f43c30a3
GtkRevealer: Add a fading animation
...
Using a container for this is not necessarily the most
elegant solution, but it lets us reuse the animation
machinery in GtkRevealer.
2013-04-22 12:42:38 -04:00
Matthias Clasen
0bd173e3d8
Forgotten file
2013-04-22 12:42:37 -04:00
Matthias Clasen
443459b52e
Add GtkRevealer
...
This is a widget that can hide or show (ie reveal) its child
in an animated fashion.
This widget was initially developed in libgd.
2013-04-22 12:42:37 -04:00
Cosimo Cecchi
d82257e1c8
stack: fix a typo in docs
2013-04-22 11:20:06 -04:00
Matthias Clasen
b88c0d7387
Typo fix in GtkStack docs
2013-04-22 10:25:30 -04:00
Matthias Clasen
6d77bf66ac
Typo fix in GtkStackSwitcher docs
2013-04-22 10:25:30 -04:00
Benjamin Otte
b8e4adfff9
Revert "Revert "gtkbin: Remove the silliest code on earth""
...
This reverts commit b164df7450
.
2013-04-22 08:23:08 -04:00
Victor Ibragimov
361754b063
Tajik translation updated
2013-04-22 13:17:42 +05:00
Rafael Ferreira
b5912e61fd
Updated Brazilian translation for UI and PO-Prop.
2013-04-22 05:00:18 -03:00
Tristan Van Berkom
e5b384f537
Updated private widget catalog to remove the reference to the shortcuts model
...
This model seems to be removed since Federico's places-sidebar work.
2013-04-22 15:55:20 +09:00
Tristan Van Berkom
b164df7450
Revert "gtkbin: Remove the silliest code on earth"
...
This reverts commit f4438a1ffc
.
The calculation of the delta between parent and child widget
is required in order to automate height-for-width and width-for-height
requests for various GtkBin widgets.
GtkButton, GtkCheckButton, GtkRadioButton, etc, all have different
requests for space around the content which can not be satisfied
with a simple calculation of GtkContainer border-width.
2013-04-22 15:20:51 +09:00
Matthias Clasen
6186429f5f
GtkStack: shorten a few parameter names
...
Looks better in the docs.
2013-04-21 23:13:16 -04:00
Matthias Clasen
a8123bf95e
Forgot one place
...
Also change the property definition for transition-duration
to be uint instead of int.
2013-04-21 22:24:54 -04:00
Matthias Clasen
af6f874060
Add new places sidebar symbols
2013-04-21 22:00:06 -04:00
Matthias Clasen
b0cf4d057d
Make transition-duration unsigned
...
The code doesn't deal with negative durations, so better
don't allow them.
2013-04-21 21:51:28 -04:00
Matthias Clasen
71f1f768cc
Change transition-type property type
...
This is an enum, so declare the property as such.
2013-04-21 21:51:27 -04:00
Matthias Clasen
49511c7f42
Add a GtkStack example to gtk-demo
2013-04-21 21:51:27 -04:00
Matthias Clasen
85ccb93b9f
GtkStack: warn if child names are not unique
2013-04-21 21:51:27 -04:00
Matthias Clasen
24bac24602
Add new symbols
2013-04-21 21:51:26 -04:00
Matthias Clasen
f83ba08f7f
Add new api to the docs
2013-04-21 21:51:26 -04:00
Matthias Clasen
c37b30f317
GtkStack: add vertical slide transitions
...
We allow transitions that slide up or down.
2013-04-21 21:51:26 -04:00
Matthias Clasen
88cd26575d
GtkStack: rtl flipping for animation
...
We switch slide-right and slight-left when in rtl.
2013-04-21 21:51:25 -04:00
Matthias Clasen
e72a78c4e6
Add a way to specify transition types on the fly
...
Add a gtk_stack_set_visible_child_full that takes a
transition type.
2013-04-21 21:51:25 -04:00
Matthias Clasen
8ca73e3258
Add docs for GtkStackSwitcher
2013-04-21 21:51:25 -04:00
Matthias Clasen
06f5b1e572
Add docs for GtkStack
2013-04-21 21:51:24 -04:00
Matthias Clasen
2e39c4bab8
Add GtkStack
...
Add separate GtkStack and GtkStackSwitcher widgets that are an
alternative to GtkNotebook. Additionally, GtkStack supports
animated transitions when changing pages.
These widgets were initially developed in libgd.
2013-04-21 21:51:24 -04:00
Federico Mena Quintero
57c4bcb369
Merge branch 'master' into places-sidebar
2013-04-21 18:21:37 -04:00
Federico Mena Quintero
9b91e06513
Oops, only show 'Connect to server' if the caller enabled it
2013-04-21 18:20:46 -04:00
Cosimo Cecchi
44ba055d03
window: don't forget to fetch title border when not on CSD
...
We still need to respect this border value even when we're not running
under CSD, since we support setting a custom titlebar in all cases.
The border/style magic in gtk_window_draw() really needs to be separated
out into logical pieces soon, but for now let's keep a consistent
behavior with the previous code.
2013-04-21 16:59:14 -04:00
Federico Mena Quintero
32abb29b32
Merge branch 'places-sidebar'
2013-04-21 15:51:49 -04:00
Cosimo Cecchi
a25e0a97d5
window: only account for decoration borders when we're client decorated
2013-04-21 14:44:24 -04:00
Federico Mena Quintero
9d8e3be6d7
Add a selected_volume argument to ::populate-popup
...
Nautilus needs this in order to implement a Format command for a volume's popup menu.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
2013-04-21 12:41:33 -04:00