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
Federico Mena Quintero
3c8cce8f87
Merge branch 'places-sidebar'
2013-04-20 14:56:16 -04:00
Federico Mena Quintero
3b34e70f13
Remove the drop feedback row a little time after drag_leave
...
Since ::drag-leave gets emitted before ::drag-drop, we can't just remove the drop feedback row
in drag-leave, as we *need* it during drag-drop. So, we use the same trick as in testdnd.c - we
install a timeout handler in our drag-leave callback, and remove the feedback in the timeout callback.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
2013-04-20 14:53:03 -04:00
Federico Mena Quintero
9c38ff7dfb
Drop in the right place when the feedback row is active
...
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
2013-04-20 14:53:03 -04:00
Federico Mena Quintero
3083308d1c
Actually use the drop_state, instead of encoding things in new_bookmark_index
...
This lets us keep the new_bookmark_index untouched even when the drop state goes from armed to unarmed.
That will in turn let us drop in the right place...
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
2013-04-20 11:42:04 -04:00
Victor Ibragimov
a1424d26b2
Tajik translation updated
2013-04-20 14:28:18 +05:00
Victor Ibragimov
6b502c3c84
Tajik translation update
2013-04-20 13:42:49 +05:00
Victor Ibragimov
cbddb3435e
Updated translation for Tajik
2013-04-20 13:42:48 +05:00
Dimitris Spingos
abbf2d9564
Updated Greek translation
2013-04-20 05:42:43 +03:00
Matthias Clasen
bf5e57d2a7
po: Add a rule to generate files
...
This should help translators generate an updates pot file.
Just doing make -C po gtk30.pot should work now, no need to
build the entire module.
2013-04-19 20:11:41 -04:00