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
Federico Mena Quintero
0c1423d962
Remove GtkPlacesSidebar from our private Glade catalog
...
Now, Glade already knows about GtkPlacesSidebar AND MY MAD ICONS.
2013-04-22 17:00:08 -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
Federico Mena Quintero
5322420145
Use friendlier property names for Glade
2013-04-22 15:46:59 -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
Matthias Clasen
1507ba79ec
csd: Drop content_window
...
Instead of reparenting the content, use input-only windows to
set cursors and capture clicks on the window frame. This avoids
some of the problems that were introduced by content_window, such
as black flashes and non-working opacity.
2013-04-20 23:37:10 -04:00
Federico Mena Quintero
9ded1c0c99
Sync from nautilus commit 500770e8de18b07392ffa4435372525d5d03c688
...
Add a Connect to Server menu item, a show-connect-to-server property, and a show-connect-to-server signal.
2013-04-20 19:14:59 -04:00
Federico Mena Quintero
2d84ebeeb8
Remove the switch location timer during drag_leave
...
So that hovering in and out of the sidebar quickly doesn't cause a location change in the caller.
2013-04-20 16:21:33 -04:00
Federico Mena Quintero
fce1eedc23
Merge branch 'places-sidebar'
2013-04-20 16:00:00 -04:00
Cosimo Cecchi
e9c4dcd3f8
Sync from nautilus commit d2bfffc574c1e6305d862c041b35c9c45ba67674
...
Coding style fix.
2013-04-20 15:59:04 -04:00
Cosimo Cecchi
755e37ffdf
Sync from nautilus commit 277a6a45bee8186b2493ad1b286234ac52f1aed8
...
Use gtk_tree_view_set_activate_on_single_click().
2013-04-20 15:58:55 -04:00
William Jon McCann
fa1f7d3f97
Sync nautilus commit 95400548176688f3d2f5e8888f48410756bd96b8
...
Switch location on hovering the places sidebar during a DnD operation -
kind of for spring-loaded folders.
2013-04-20 15:56:59 -04:00