Matthias Clasen
a7ba57f751
inspector: Add menu models to the tree
...
Add both the appmenu and the menubar models as children of the
application, if they exist.
2014-11-22 21:38:47 -05:00
Matthias Clasen
0a37493384
inspector: Show object title in size groups tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
d09f66579b
inspector: Show object title in data tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
af12993c4b
inspector: Show object title on the style property list
...
As with the property list, this replaces the search bar by
a stack containing a search entry.
2014-11-22 21:38:47 -05:00
Matthias Clasen
f38081a4a5
inspector: Show object title on selector tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
38c3600d8b
inspector: Show object title in actions tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
d2aad06513
inspector: Show object title in hierarchy tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
85380f22f3
inspector: Show object title in the classes tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
fe5f9c560b
inspector: Show object title in the css tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
c2326aa5cf
inspector: Show object title in the gestures tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
9e3d0651e1
inspector: Show object title in the signals tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
7a1c5845ef
inspector: Show object title in the properties tab
...
Replace the search bar with a search entry in a stack to make
this work without unseemly height changes.
2014-11-22 21:38:47 -05:00
Matthias Clasen
2ea3171ff9
inspector: Show object title in the misc tab
2014-11-22 21:38:47 -05:00
Matthias Clasen
5b7233f136
inspector: Store object title on object
2014-11-22 21:38:46 -05:00
Matthias Clasen
84463b78e5
inspector: Drop an unused argument
2014-11-22 21:38:46 -05:00
Matthias Clasen
9fb2d6a6b9
inspector: Trivial typo fix
2014-11-22 21:38:46 -05:00
Matthias Clasen
72a501fe15
GtkGLArea: Formatting fixes
2014-11-22 21:38:46 -05:00
Matthias Clasen
45cfb405c0
GtkModelButton: Don't show both text and icon
...
The intention was that ::iconic indicates which representation is
preferred (text or icon). We fall back to the other representation
if one is missing.
2014-11-19 21:14:30 -05:00
Matthias Clasen
d51c9e0337
GtkPopoverMenu: be more careful about change notification
...
Only emit notify for ::visible-submenu when the visible page
in the stack actually changed.
2014-11-19 21:14:30 -05:00
Lapo Calamandrei
7197758600
Adwaita: typo fix
2014-11-18 15:17:06 +01:00
Matthias Clasen
955c798ab1
GtkPopoverMenu: expose more properties
...
Expose the position as a child property and the visible page
as a property. These are useful in glade.
2014-11-18 13:39:15 +01:00
Matthias Clasen
cd8576ec19
GtkStack: Fix an oversight in child renaming
...
We currently emit a warning if you rename a child to the name
it already has. We shouldn't do that.
2014-11-18 13:37:51 +01:00
Timm Bäder
0fac139057
Revert "GtkMenuSectionBox: Add tooltip to iconic buttons"
...
This reverts commit 7543e7b279
.
2014-11-17 18:39:15 +01:00
Timm Bäder
9b83858d9a
Revert "popover: Add show/hide transition"
...
This reverts commit 17f48e3a9e
.
2014-11-17 18:39:00 +01:00
Timm Bäder
56133a1feb
GtkDialog: Connect to activate signals only once
...
If the widget is an action widget, it's been previously added with
gtk_dialog_add_action_widget, which calls add_response_data on it, which
in turn connects to the clicked/activate signal of that widget, so we
don't need to connect to that signal a second time in
gtk_buildable_custom_finished.
2014-11-17 18:37:47 +01:00
Timm Bäder
17f48e3a9e
popover: Add show/hide transition
2014-11-17 18:37:47 +01:00
Timm Bäder
7543e7b279
GtkMenuSectionBox: Add tooltip to iconic buttons
2014-11-17 18:37:47 +01:00
Carlos Garnacho
7651061920
scrolledwindow: Avoid too frequent redraws of scrollbars
...
When overshooting through touchpad kinetic scrolling, the scrollbar remains
mostly static as it already hit a boundary. However, the fade in/out checks
are constantly run during scroll events, causing needless redraws in this
specific case.
2014-11-17 16:55:08 +01:00
Carlos Garnacho
6d5f2ff87e
scrolledwindow: Only render background/frame on the widget window
...
Otherwise it is rendered too on each indicator window, possibly bringing
in an unintended opaque background there. Better seen with git show -b.
2014-11-17 14:55:05 +01:00
Matthias Clasen
ecfcb3e2cc
Make gtk_container_remove work on popover menus
...
Extend the hack we have in place for composite containers to
GtkPopoverMenu.
2014-11-16 02:30:19 -05:00
Matthias Clasen
1e39790c49
GtkPopoverMenu: Implement forall
...
This is required to make glade work.
2014-11-16 02:30:19 -05:00
Lapo Calamandrei
4f7abe3762
Adwaita: no border radius for GtkTreeView:selected
2014-11-15 19:08:13 +01:00
Lapo Calamandrei
268efd1475
textview: remove osd style class from touch selection popover
...
The touch-selection class is sufficient since that needs special
casing whatever.
2014-11-15 16:09:39 +01:00
Lapo Calamandrei
df7b275de8
entry: remove osd style class from touch selection popover
...
The touch-selection class is sufficient since that needs special
casing whatever.
2014-11-15 16:08:15 +01:00
Lapo Calamandrei
beb28dd3e9
Adwaita: :selected cleanup and rationalization
2014-11-15 15:54:20 +01:00
Lapo Calamandrei
32aa33e8d1
Adwaita: popover scss cleanup
2014-11-14 19:34:09 +01:00
Lapo Calamandrei
ebc379287f
Adwaita: more overshoot tweakings and typo fix
2014-11-14 18:58:22 +01:00
Matthias Clasen
a7173d097f
Make overlay scrollbar fading interruptible
...
When the pointer starts hovering the scrollbar after it already
started fading out, interrupt the fade and keep the scrollbar
around.
2014-11-14 11:49:33 -05:00
Matthias Clasen
95b075b8eb
Drop unused variables
...
Keeps the compiler happy.
2014-11-14 11:48:50 -05:00
Lapo Calamandrei
a30a54a521
Adwaita: overshoot style tweaks
...
Trying to make it visible on the dark variant.
2014-11-14 15:37:02 +01:00
Matthias Clasen
2d1c7b8937
Trivial formatting fix
2014-11-14 06:16:41 -05:00
Matthias Clasen
49cf85509a
GtkPopover: Survive attach_widget == NULL
...
We can't render a tail, but otherwise things should just work.
This will be useful in glade.
2014-11-14 06:16:41 -05:00
Carlos Garnacho
632accd9cc
scrolledwindow: Use a fully transparent background for the overlay window
...
The background will be already given and updated in the GtkScrollbar widget,
plus the background remained static on the window since it is realized.
2014-11-13 21:25:52 +01:00
Carlos Garnacho
b591cacc39
scrolledwindow: Don't doubly draw overlay-indicator scrollbars
...
The scrollbars are still internal children of the GtkScrolledWindow
and handled in ::forall(), no need to propagate draw here again
after chaining up in ::draw().
2014-11-13 20:32:36 +01:00
Carlos Garnacho
733f70ea84
gtkpopover: Fix allocation of child widget wrt margins
...
During size request, all sides' margins are ensured to be as big
as TAIL_HEIGHT, just to avoid possible relocation loops if the
popover doesn't fit in its original position. This must be
accounted for in size_allocate() as well.
2014-11-13 20:32:36 +01:00
Carlos Garnacho
e0353b37a8
scrolledwindow: Only render overshoot on the widget window
...
Without any check, it was being rendered also on the indicator
GdkWindows, which resulted on an over-exposed effect there.
2014-11-13 20:32:36 +01:00
Lapo Calamandrei
69c30fda5c
Adwaita: reset some properties in the overshoot mixin
...
Otherwise we may inherit them see:
https://bugzilla.gnome.org/show_bug.cgi?id=740011
2014-11-13 18:47:42 +01:00
Lapo Calamandrei
360b516ef4
Adwaita: overshoot styling
2014-11-13 18:31:50 +01:00
Lapo Calamandrei
c9d0bd8a72
Adwaita: simplify scrollbar styling
...
By the use of slider margins. In the process darken the overlay
scrollbar trough in fine-tune mode to make it noticiable.
2014-11-13 11:26:40 +01:00
Matthias Clasen
85a539ce6d
inspector: Add frame clock info
...
Add the frame clocks of toplevel widgets to the object tree,
and show their frame count and frame rate in the misc tab.
2014-11-12 22:52:59 -05:00