Ryan Lortie
4948516100
GtkApplication: document icon path setup
...
https://bugzilla.gnome.org/show_bug.cgi?id=722092
2014-07-07 14:46:28 -04:00
Ryan Lortie
cc1af0f71c
bloatpad: use Gtk's automated menu loading
...
We move our menus.ui file into Gtk's namespace so that it will get
picked up. Accordingly, we no longer have to do any of the work for
ourselves...
https://bugzilla.gnome.org/show_bug.cgi?id=722092
2014-07-07 14:46:28 -04:00
Ryan Lortie
687a846923
GtkAppliation: setup icon theme resource path
...
If we have a resource base path for the application, set up an icon
theme search path based on it (within the default icon theme).
https://bugzilla.gnome.org/show_bug.cgi?id=722092
2014-07-07 14:46:27 -04:00
Ryan Lortie
868ee07f49
GtkApplication: use resources for loading menus
...
Use the new ::resource-base-path property on #GApplication to attempt to
load the menu layout of the application.
We look first at gtk/menus-appmenu.ui or gtk/menus-traditional.ui
depending on the setting of gtk_application_prefers_app_menu(). Failing
that, we fall back to the common case of gtk/menus.ui (which should
always be given). This provides a convenient way for application
authors to provide a different set of menus, depending on the desktop
environment they find themselves in.
As is the intention with other resources, if the resource base path is
unset, nothing will be loaded. Additionally, if the expected files are not
found, it is not an error -- just nothing happens.
https://bugzilla.gnome.org/show_bug.cgi?id=722092
2014-07-07 14:46:27 -04:00
Matthias Clasen
59f3211b61
widget-factory: Add reorderable treeview columns
2014-07-07 14:35:33 -04:00
Lapo Calamandrei
a6410c65f9
Adwaita: fix selection mode toolbar
...
Selection menu button still needs fixing
2014-07-07 20:33:19 +02:00
Piotr Drąg
3c04313e69
Updated POTFILES.skip
2014-07-07 20:10:10 +02:00
Piotr Drąg
5725119a10
Updated POTFILES.in and POTFILES.skip
2014-07-07 20:08:48 +02:00
Benjamin Otte
a1bae4b389
reftests: Add a reftest for 'animation-direction'
...
It tests the latest two commits.
2014-07-07 20:06:47 +02:00
Benjamin Otte
80db4f9ce7
cssanimation: Fix animation-direction handling
...
"alternate" was behaving as "alternate-reverse" and vice versa.
2014-07-07 20:06:40 +02:00
Benjamin Otte
b6aecca71c
css: Fix animation-direction parsing
...
We were parsig "alternate-reverse" as "alternate" and then complaining
about the "-reverse" junk at the end of the value.
2014-07-07 20:06:40 +02:00
Benjamin Otte
cb1ac0c056
clipboard: Fix compiler warning
...
Cast the type.
2014-07-07 20:06:40 +02:00
Benjamin Otte
2fde5e95ee
textview: Fix compiler warning
...
No need to use braces anymore.
2014-07-07 20:06:39 +02:00
Lapo Calamandrei
e2af4853fc
Adwaita: non csd message dialog and entry shadow fix
...
Made the non csd message dialog more similar to the csd one (to
match the csd one we need mutter theme changes), little shadow fix
for entry.
2014-07-07 19:53:57 +02:00
Ryan Lortie
b40672f145
bloatpad: use resources
...
https://bugzilla.gnome.org/show_bug.cgi?id=722092
2014-07-07 13:37:38 -04:00
Ryan Lortie
4d8b2af13a
bloatpad: move into private subdir
...
Move bloatpad to ./examples/bp/ so that we can start treating it as more of a
"normal" app instead of just jamming everything into a single .c file.
We don't use the name "bloatpad" for the directory in order not to
create 'git pull' pain with the probably-already-existing executable of
the same name.
https://bugzilla.gnome.org/show_bug.cgi?id=722092
2014-07-07 13:37:38 -04:00
Lapo Calamandrei
e86f409f32
Adwaita: csd message dialog fixes.
...
Lighter shadow like popovers and bigger radius then buttons on
the background to avoid antialiasing artifacts.
2014-07-07 17:56:29 +02:00
Lapo Calamandrei
4422e27662
Adwaita: .grid-child 2px padding
2014-07-07 17:44:01 +02:00
Lapo Calamandrei
607bac7c69
Adwaita: entry shadows work.
...
For the transition to work the box-shadows types in the shadow list
needs to be matched in various states so I'm using transparent shadows
istead of resetting them when not needed.
2014-07-07 17:27:57 +02:00
Yuri Myasoedov
7c1f43f124
Updated Russian translation
2014-07-07 17:05:35 +04:00
Lapo Calamandrei
f12edc2d89
Adwaita: minor sass changes.
...
Made _button_border_color($c) mixin in _button_border($c) fuction.
2014-07-07 15:04:22 +02:00
Benjamin Otte
0b2198a26b
testsuite: Add parser test for recent fix
...
The test doesn't crash without the fix, but it parses the CSS
incorrectly and fails.
2014-07-07 14:26:06 +02:00
Benjamin Otte
871d782e74
css: Don't special-case fill-mode in 'animation'
...
I have no idea why it was special cased when parsing the 'animation'
shorthand, but it caused crashes.
So remove the special case.
2014-07-07 14:26:05 +02:00
Lapo Calamandrei
b02837b2c2
Adwaita: style .subtitle like .dim-label
2014-07-07 14:17:51 +02:00
Lapo Calamandrei
fdd347a85a
Adwaita: use opacity on dim-labels istead of a hack
2014-07-07 14:04:37 +02:00
Lapo Calamandrei
869d0f3d2f
Adwaita: .dim-label
2014-07-07 13:30:53 +02:00
Jakub Steiner
0a0ae97d3c
Adwaita: flat OSD style
2014-07-07 13:26:09 +02:00
Lapo Calamandrei
d96bdc357c
Adwaita: fix combos and buttons padding issues.
...
For some strage reason (bug?) combobox buttons needs -2px vertical padding
wrt buttons to have the same size as buttons.
2014-07-07 11:47:30 +02:00
Matthias Clasen
3939e3ffcc
widget-factory: Fill out settings dialog
...
This gives an opportunity to use the dim-label style class.
2014-07-06 23:10:44 -04:00
Matthias Clasen
a19bc50f64
GtkWindow: Elaborate the keybindings
...
Keep Ctrol-Shift-D as a straight toggle-the-inspector keybinding,
but make Ctrl-Shift-I always bring up the inspector, and point
it at the widget under the pointer.
2014-07-06 22:37:57 -04:00
Matthias Clasen
b0390a3349
GtkInspector: Add a function to select the widget under the pointer
2014-07-06 22:37:57 -04:00
Matthias Clasen
2a053cc6c3
GtkInspector: Add a style tab
...
This tab shows css properties of a widget, and their origin.
2014-07-06 22:37:57 -04:00
Matthias Clasen
2952739593
GtkCssProvider: Allow to enable debug at runtime
...
Add a private function that lets us decide at runtime whether to
keep css section information around - this will be useful in the
GtkInspector.
2014-07-06 22:37:57 -04:00
Matthias Clasen
b25b33f79f
Drop a leftover declaration
...
This was left behind when resize grips were removed.
2014-07-06 22:37:57 -04:00
Matthias Clasen
a56a61d9cc
Trivial rearrangement
2014-07-06 22:37:57 -04:00
Matthias Clasen
2a7bd3a2da
widget-factory: Avoid a crash on exit
2014-07-06 22:37:56 -04:00
Aurimas Černius
80bd35c268
Updated Lithuanian translation
2014-07-05 22:47:04 +03:00
Lapo Calamandrei
f99f52ff4a
Adwaita: message dialog, destructive and suggested action buttons.
...
...and generic linked destructive and suggested action button fix.
2014-07-05 18:18:44 +02:00
Lapo Calamandrei
d648a2c7ac
Adwaita: proper message dialog style.
...
Rounded bottom border added, custom style for csd versione only
[read: non csd version looks right now].
2014-07-05 16:30:43 +02:00
Yuri Myasoedov
8846f34094
Updated Russian translation
2014-07-05 11:10:02 +04:00
Matthias Clasen
9d527c83aa
GtkHeaderBar: Use defines for style classes
2014-07-04 19:06:08 -04:00
Matthias Clasen
8328cfac92
Add defines for title style classes
2014-07-04 18:53:33 -04:00
Matthias Clasen
079e08f92d
widget-factory: Add some mnemonics
2014-07-04 16:49:55 -04:00
Matthias Clasen
58f27de927
widget-factory: Unset needs-attention too
...
This is not done automatically, so unset needs-attention when
the page becomes current.
2014-07-04 16:27:11 -04:00
Matthias Clasen
5e5ecbbf81
widget-factory: show off needs-attention stack pages
...
When clicking 'Action' in the 'Act' dialog, we mark the third
page as needing attention a second later. This unveils that we
currently don't have any theming for needs-attention in Adwaita.
2014-07-04 15:46:47 -04:00
Matthias Clasen
a159635020
GdkScreen: Set reasonable limis for ::resolution
...
Otherwise, the spinbutton in the inspectors property editor
explodes in order to make room for MAXDOUBLE.
2014-07-04 02:01:53 -04:00
Matthias Clasen
d9e475ed6a
GtkScaleButton: Try harder not to pop over
...
When the popover does fit in the window, change the orientation
to make it fit.
2014-07-04 01:20:24 -04:00
Matthias Clasen
689a364ec5
Drop has-resize-grip from the notify test
...
The setter is not doing anything, so we won't get notification.
2014-07-03 15:24:58 -04:00
Matthias Clasen
b5958d677f
GtkWindow: Update default for has-default-grip
...
It is now FALSE.
2014-07-03 15:23:34 -04:00
Matthias Clasen
6feab4f257
disable runtime warnings in the defaultvalue test
...
This test operates generically on all properties, so warning
about deprecated properties does not make sense here.
2014-07-03 15:22:39 -04:00