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
Matthias Clasen
45528440e6
inspector: Show the refcount on the misc tab
2014-11-12 21:58:08 -05:00
Matthias Clasen
72b9d2861c
inspector: Update misc-info while the tab is shown
...
Update the values on the page once per second, while the tab
is shown.
2014-11-12 21:45:16 -05:00
Matthias Clasen
e2ce0700a6
GtkCssProvider: Load themes from versioned directories
...
Look for themes in $prefix/themes/$name/gtk-$version/ (for
version = 3.16, 3.14, ...), before using the old location
$prefix/themes/$name/gtk-3.0/. This gives theme authors a
way to support multiple versions of GTK+ 3 with separate
css files.
2014-11-12 19:22:55 -05:00
Matthias Clasen
55fd3a762c
GtkCssProvider: Factor out a function
...
Move finding the gtk.css file into its own function. We will
make this more complicated in the near future.
2014-11-12 18:20:35 -05:00
Lapo Calamandrei
bac7408be4
Adwaita: set scale trough margins where they belong.
2014-11-12 17:30:59 +01:00
Lapo Calamandrei
5108a27e6c
gtkrange: consider css margin on the slider
...
Css margin now works on the slider as they do on the trough.
The margin is not considered in the space allocation as it is for
the trough, so the slider width will be the set slider-width -
margins. Spefifying margins on the main widget in the css will
clearly affect both the trough and the slider, so theme changes are
needed.
2014-11-12 17:20:53 +01:00
Matthias Clasen
e14cf55b31
Forgotten files
2014-11-12 07:36:04 -05:00
Debarshi Ray
3f4bed4d8f
query, searchengine: Drop unused and undefined function declarations
...
https://bugzilla.gnome.org/show_bug.cgi?id=739977
2014-11-12 13:23:59 +01:00
Matthias Clasen
fc855eea7a
GtkActionBar: Make ::position writable
2014-11-11 23:02:11 -05:00
Matthias Clasen
047bb15cd7
GtkActionBar: Rename center_box to box
2014-11-11 23:01:16 -05:00
Matthias Clasen
21e3d4f2f7
inspector: Turn off search where we don't have a search bar yet
...
Avoid the builtin treeview search popup everywhere.
2014-11-11 22:42:51 -05:00
Lapo Calamandrei
4aca13e39e
Statusbar: add 'statusbar' style class
2014-11-11 17:23:04 +01:00
Lapo Calamandrei
95aa4769f6
Adwaita: add a missing comma...
2014-11-11 16:12:47 +01:00
Matthias Clasen
c8d9e5b564
GtkStack: Remove some clumsy use of GList API
...
No need for g_list_next(), and don't open-code g_list_index().
2014-11-10 18:45:58 -05:00
Matthias Clasen
8b95515c0c
inspector: Only set debug-updates for the default display
...
Use the new private API to isolate the inspector itself from
this setting.
2014-11-10 15:24:08 -05:00
Matthias Clasen
5c5c8bdd81
inspector: Add a rendering mode control
2014-11-10 15:07:52 -05:00
Javier Jardón
710f332082
configure.ac: Depend on cairo 1.14.0
...
This is needed for cairo_set_device_scale()
2014-11-10 15:12:17 +00:00
Emmanuele Bassi
36fedb0c4b
window: GtkPlug is conditionally supported on X11 only
...
We cannot do a type check on it if we don't have the X11 backend
compiled in.
https://bugzilla.gnome.org/show_bug.cgi?id=739885
2014-11-10 15:08:44 +00:00
Matthias Clasen
8a8c6c0722
Inspector: hide the selector tab for non-widgets
2014-11-08 21:43:26 -05:00
Matthias Clasen
9a84d8a261
inspector: Hide the size-groups tab when empty
2014-11-08 21:30:12 -05:00
Matthias Clasen
0c20ba7dcb
inspector: Hide the inspector tab when empty
2014-11-08 21:29:51 -05:00
Matthias Clasen
7dd466ad74
Set the clip on range widgets
...
This will allow better scrollbar theming.
2014-11-08 12:55:37 -05:00
Lapo Calamandrei
c0c777077a
Adwaita: increase scrollbar slider contrast
2014-11-08 17:35:52 +01:00
Matthias Clasen
ae4aaf7354
inspector: Set statistics button sensitivity
...
After moving the button the header, it is now visible when
statistics are not available. Disable it in this case.
2014-11-08 09:57:48 -05:00
Matthias Clasen
592a0d46b4
inspector: Add more GL information
...
Add version and extension information to the general tab.
2014-11-08 02:16:35 -05:00
Emmanuele Bassi
cdcd3ca359
Hide GdkWindow libgtk_only API in the private vtable
...
These are the last two global GDK symbols that have a libgtk_only
suffix.
https://bugzilla.gnome.org/show_bug.cgi?id=739781
2014-11-08 00:20:15 -05:00
Emmanuele Bassi
585af218a3
Move GDK GL flags accessors to the private vtable
...
This allows us to use the GDK_PRIVATE_CALL macro inside gtk.
https://bugzilla.gnome.org/show_bug.cgi?id=739781
2014-11-08 00:20:15 -05:00
Emmanuele Bassi
eedbec2066
Make global GDK libgtk_only functions more private
...
The current way of exposing GDK API that should be considered internal
to GTK+ is to append a 'libgtk_only' suffix to the function name; this
is not really safe.
GLib has been using a slightly different approach: a private table of
function pointers, and a macro that allows accessing the desired symbol
inside that vtable.
We can copy the approach, and deprecate the 'libgtk_only' symbols in
lieu of outright removal.
https://bugzilla.gnome.org/show_bug.cgi?id=739781
2014-11-08 00:20:15 -05:00
Matthias Clasen
713d3834f6
inspector: Reserve space for buttons
...
Make the button area in the top left a stack that is parallel
to the main page stack. This avoids size changes as we switch
between pages.
2014-11-08 00:09:30 -05:00
Matthias Clasen
d0973fdb78
inspector: Improve search on the statistics page
...
Use a search bar here as well, instead of the builtin treeview popup.
2014-11-07 23:40:31 -05:00
Matthias Clasen
5f701cf4c9
inspector: Move the record button up
...
Give all the page space to the content.
2014-11-07 23:19:28 -05:00
Matthias Clasen
1ddace0a5f
inspector: Shorten some labels
2014-11-07 22:57:14 -05:00
Matthias Clasen
818d2e238b
inspector: Improve search in the resource tree
...
Make search in the resource tree work the same way as the new
search in the object tree.
2014-11-07 22:44:23 -05:00
Matthias Clasen
48415955f0
inspector: Correct a tooltip
2014-11-07 22:44:23 -05:00
Jasper St. Pierre
a91c88768e
inspector: Remove unused variable
2014-11-07 16:33:43 -08:00