Matthias Clasen
e2882e4845
GtkHeaderBar: Make the position child property writable
...
Glade asssumes that it is, and without this, rearranging children
in glade is very cumbersome.
2014-11-04 16:56:25 -05:00
Carlos Garnacho
d9a433daf7
gtkwindow: Resort to regular event bubbling by all means on non-toplevels
...
If the multipress gesture is not created (ie. not a toplevel GtkWindow),
also avoid possibly calling gtk_widget_event() on the events gotten here.
2014-11-04 19:03:27 +01:00
Carlos Garnacho
03a30e462e
gtkwindow: Do not create the multipress gesture for plugs
...
GtkPlugs may "qualify" as toplevels, even though they're not meant to
be WM manipulated, so refuse to create the multipress gesture for these
too.
2014-11-04 19:03:18 +01:00
Lapo Calamandrei
c160340e6c
Adwaita: brighter dark variant header-bar bottom shade
2014-11-04 14:59:24 +01:00
Alexander Larsson
ef9ac24e95
GtkGLArea: Correctly position/size input window on realize
2014-11-03 13:35:00 +01:00
Alexander Larsson
3656c21030
GtkGLArea: Don't dispose gl context on unrealize
...
This was done to ensure the context is not current, but this is
pretty broken for shared contexts. We now just make it non-current.
2014-11-03 13:19:40 +01:00
Alexander Larsson
9930e6dcaa
GtkGLArea: Add create-context signal
...
This lets you hook into the GL context creation which is useful
if you want to share one GL context between GtkGLArea widgets.
2014-11-03 10:43:31 +01:00
Matthias Clasen
4aa0d16865
Only warn once if inhibit-related dbus calls fail
...
No need to spam about it.
https://bugzilla.gnome.org/show_bug.cgi?id=734140
2014-11-03 00:48:42 -05:00
Matthias Clasen
95e8ae6e75
GtkIconTheme: Improve an error message
...
Mention the name of the theme when an icon lookup fails.
https://bugzilla.gnome.org/show_bug.cgi?id=687963
2014-11-03 00:25:14 -05:00
Matthias Clasen
2aa3eea781
GtkFileChooser: Add a menuitem for 'sort directories first'
...
This has been requested repeatedly.
2014-11-03 00:02:13 -05:00
Alberts Muktupāvels
bdaef1f88d
gtkmenu: fix unnecessary scroll buttons
...
Don't change menu height if menu is out of monitor only by shadow
width.
https://bugzilla.gnome.org/show_bug.cgi?id=738321
2014-11-02 22:11:03 -05:00
Lapo Calamandrei
264cab2b52
Adwaita: add borders to menus in a non composited env
...
https://bugzilla.gnome.org/show_bug.cgi?id=738800
2014-11-02 22:04:14 -05:00
Matthias Clasen
2873195644
GtkHeaderBar: Fix a corner-case in child properties
...
The child property setting must be prepared to deal with any
child property for any child, even if it doesn't make sense,
like the pack-type for the custom title. This is happening
in glade when undoing a change in the custom-title property.
2014-11-02 17:49:47 -05:00
Matthias Clasen
120abd9a6e
csd: Improve appearance inside glade
...
glade turns windows into non-toplevels, so we can easily recognize
that situation and avoid adding a humongous shadow area.
2014-11-01 14:49:02 -04:00
Matthias Clasen
18a2a6a90e
GtkVolumeButton: Fix annoying double formatting
...
We meant to specify 0.2, and it came out as 0.2000000001.
2014-11-01 13:21:00 -04:00
Matthias Clasen
d8cc9d9a51
glade: Add GtkColorEditor to private widgets
2014-11-01 13:20:59 -04:00
Matthias Clasen
ffa49723a2
glade: Drop a no-longer existing private widget
...
GtkScaleButtonScale fell by the wayside when the scale button
was ported to a popover.
2014-11-01 13:20:59 -04:00
Cosimo Cecchi
276a510b4b
radiobutton: don't consider hidden buttons in the group for focus
...
When a GtkRadioButton has no focus, it will accept it when there is no
other active button in its group.
If the active button in the group is hidden, for example because the UI
desires not to have a default option pre-selected, currently the focus
will not be accepted, which is not desired behavior.
This commit changes the code to only consider visible buttons in the
group when checking whether another button is active.
https://bugzilla.gnome.org/show_bug.cgi?id=739474
2014-11-01 10:08:42 -07:00
Matthias Clasen
e6e511eb46
GtkListBox: Fix a bug in unselection
...
Ensure that gtk_list_box_get_selected_row returns NULL after
gtk_list_box_unselect_all. Add a testcase that detects this
problem.
2014-10-31 22:34:09 -04:00
Matthias Clasen
3c997239e9
inspector: Search refinements
...
Show close buttons on all search bars.
2014-10-31 21:14:09 -04:00
Matthias Clasen
3f3725d97b
inspector: Refine object tree search
...
Behave similar to traditional treeview search, and center
the row when moving between matches.
2014-10-31 21:13:18 -04:00
Matthias Clasen
992c5f0dd6
inspector: Add search to the object tree
...
This is also an attempt to figure out a better story for search
in treeviews.
2014-10-31 21:02:50 -04:00
Matthias Clasen
69a0b31d2d
Trivial: sort file list alphabetically
2014-10-31 14:16:02 -04:00
Lapo Calamandrei
00f618ea1a
Adwaita: special case .default-decoration
...
Titlebars which are just window handles can be smaller.
2014-10-31 16:53:23 +01:00
Lapo Calamandrei
5a5e74bbe2
Adwaita: simpler gtkcalendar style (once again)
2014-10-31 16:44:21 +01:00
Matthias Clasen
89e12495b6
inspector: Improve search in style property list
...
Use a search bar with a search entry instead of the builtin
treeview search popup.
2014-10-30 20:54:54 -04:00
Matthias Clasen
574c774e4e
inspector: Improve search in property list
...
Use a search bar with a search entry instead of the builtin
treeview search popup.
2014-10-30 20:54:04 -04:00
Matthias Clasen
42e1fad138
inspector: Stop overeager activation
...
Stop using activate-on-single click for the property list -
it is a little annoying to have the popover come up when you
just click in the list to get the focus there.
2014-10-30 18:47:46 -04:00
Alexander Larsson
f66060c422
GdkGLArea: fix has_alpha changes at runtime
...
We need to completely reallocate the buffers if we switch
has_alpha, because we may switch from render buffers to
texture.
2014-10-30 21:04:29 +01:00
Alexander Larsson
37d0159a84
GtkGLArea: Add resize signal
...
This is very useful, as almost all GL code wants to recalculate
the cameras each time the window size changes.
2014-10-30 21:04:29 +01:00
Alexander Larsson
969b9c6552
GtkGLArea: Add profile property
...
This lets you force a core 3.2 context if you want
2014-10-30 21:04:29 +01:00
Alexander Larsson
b519b642bd
GtkGLArea: Add INPUT_ONLY window so that we can get events
2014-10-30 21:04:29 +01:00
Alexander Larsson
5ea3a1028d
GtkGLArea: Major reworking
...
This restructures the way buffers are allocated and bound in a way
that is more flexible.
Buffer operation happens in three phases:
create_buffer() - Creates the gl objects
allocate_buffers() - Allocates space for the buffers at a given size
attach_buffers() - Attaches the buffers to the framebuffer and makes
the framebuffer the default drawing target
And destroy via
delete_buffers()
We call all these the first draw, and after that we allocate buffers
each time the widget changes size until the buffers are deleted.
We delete the buffers at unrealize.
However, anyone that wants to manually control buffer allocation strategies
can manually call allocate/delete_buffers().
There are also some other changes:
* Support for stencil buffers.
* A manual render mode where ::draw doesn't render unless you manually
invalidated the previous rendering.
2014-10-30 21:04:29 +01:00
Lapo Calamandrei
7a73ec1bb2
Adwaita: darken a bit OSD background color
...
To not make it vanish on dark variant background color.
2014-10-30 18:42:31 +01:00
Matthias Clasen
cacda8086e
inspector: Add HighContrast to built-in themes list
2014-10-30 12:52:25 -04:00
Matthias Clasen
d8ba193e9a
HighContrast: integrate in build machinery
2014-10-30 12:52:25 -04:00
Matthias Clasen
fce2565673
Drop gtk.gresource.xml
...
Theme resources are controlled from the (generated) .gresource.xml
file two stories up.
2014-10-30 12:52:25 -04:00
Matthias Clasen
76b3fee093
HighContrast: Add sass parsing script
...
Just a copy of what we have next door in Adwaita.
2014-10-30 12:52:25 -04:00
Matthias Clasen
16d79e8883
HighContrast: Drop settings.ini
...
The only setting in there is already the default behavior,
and the setting is deprecated and ignored anyway.
2014-10-30 12:52:25 -04:00
Lapo Calamandrei
efaabdad0a
Adwaita: slightly contrasting popover background
2014-10-30 17:51:22 +01:00
Lapo Calamandrei
fdbb93d78c
Adwaita: border radiusses rationalization
2014-10-30 17:51:22 +01:00
Jakub Steiner
495f764b3d
theme: move HC theme from gnome-themes-standard
...
- HC is part of the toolkit the same way as Adwaita is
- No automake foo included
2014-10-30 16:14:37 +01:00
Alexander Larsson
ad30262fef
GtkGLArea: Always destroy context on unrealize
...
We had some code that tried to reuse the context over realize, but
that doesn't work as we need to share with the possibly new
paint context of the re-realized window.
2014-10-30 12:43:03 +01:00
Lapo Calamandrei
eb8f60f141
Adwaita: osd rationalization and tweakings
...
Removed bright translucent outer border for "top level" osd widgets,
insensitive osd entry styled, more meaningfull color variables and
some code rationalization.
2014-10-30 11:50:27 +01:00
Matthias Clasen
47191ce173
Make the inspector window translucent instead of lowering
...
Make the inspector window click-through and see-through
when we can, instead of lowering it. This is useful, since
Wayland has no lowering.
2014-10-29 23:29:20 -04:00
Lapo Calamandrei
7a1eabaf62
Adwaita: fix for the previous colorswatch fix...
...
Make the selected colorswatch inhert on backdrop.
2014-10-29 19:55:32 +01:00
Lapo Calamandrei
43a2676c3f
Adwaita: fix selected colorswatch white border
2014-10-29 19:50:58 +01:00
Lapo Calamandrei
bfd4933aa3
Adwaita: first round of OSD style converage
...
Some code refactoring, entry and spinbuttons and flat buttons
styled, more to come...
2014-10-29 18:40:28 +01:00
Matthias Clasen
8765970ba1
Remove a redundant call
...
No need to set shapes twice in a row.
2014-10-29 06:49:59 -04:00
Matthias Clasen
0b4c37624a
GtkPopoverMenu: Add API to open a submenu
...
This allows alternative menu switching to be implemented, besides
the builtin GtkModelButton support.
2014-10-29 06:49:59 -04:00