Matthias Clasen
155c45eba5
GtkPlacesSidebar: Fix editing of bookmarks
...
This was silently broken - the code was just assuming that the
text cell renderer is item no. 6 on the list of all cells. That
doesn't work so well if the cell renderers are set up elsewhere
and get rearranged.
Fix this by keeping an explicit pointer to the the text cell.
2014-07-23 14:11:22 -04:00
Matthias Clasen
d576069cec
GtkPathBar: Use symbolic icons
...
This fits better with the symbolic icons we use in the places
sidebar now.
2014-07-23 13:41:57 -04:00
Matthias Clasen
d26a84889b
GktFileSystem: Support rendering symbolic icons
2014-07-23 13:41:57 -04:00
Benjamin Otte
27b9efbea2
cssimage: Fix size computation for -gtk-icontheme()
...
For images without a concrete size but with an aspect ratio, we took the
wrong code path.
(I even copied the documentation that said "Otherwise" but didn't put an
else clause there, go me!)
2014-07-23 18:51:26 +02:00
Matthias Clasen
0d1d17107f
GtkPathBar: Set style classes on buttons
...
Set text-button/image-button on these, just like we do for
buttons everywhere else.
2014-07-23 12:44:26 -04:00
Matthias Clasen
d758e9ddd9
GtkPathBar: Don't use GtkArrow
...
Instead, use an image button.
2014-07-23 12:44:26 -04:00
Lapo Calamandrei
db2133bad4
Adwaita: spinbutton button hover visible on the dark variant
2014-07-23 17:53:31 +02:00
Lapo Calamandrei
2b1cad0289
Adwaita: entry icons position fix
2014-07-23 15:25:22 +02:00
Lapo Calamandrei
4718c165ad
Adwaita: backdrop check/radio fix
...
Set the correct color wrt the dark variant for checks/radios on
selected treeview rows.
2014-07-23 13:31:05 +02:00
Lapo Calamandrei
11245bc549
Adwaita: GtkCalendar style simplification
2014-07-23 13:26:36 +02:00
Lapo Calamandrei
d3d675511c
Adwaita: accelerators
2014-07-23 12:34:00 +02:00
Lapo Calamandrei
99f72ac474
Adwaita: vertical spinbutton rtl fix
2014-07-22 20:26:43 +02:00
Lapo Calamandrei
8a01e90608
Adwaita: position needs-attention dot in rtl
2014-07-22 20:21:30 +02:00
Lapo Calamandrei
f0c0be896f
Adwaita: correct color on insensitive check/radio labels
2014-07-22 20:09:18 +02:00
Lapo Calamandrei
590c32ede1
Adwaita: some more assets refresh
2014-07-22 20:02:06 +02:00
Lapo Calamandrei
80a1097060
Adwaita: .needs-attention dark variant style
2014-07-22 19:50:15 +02:00
Lapo Calamandrei
542e0db615
Adwaita: graphic assets refresh
2014-07-22 19:13:34 +02:00
Ignacio Casal Quinteiro
8f873f3aa3
gtkselection: fix warnings of unused vars on win32
2014-07-22 17:22:00 +02:00
Benjamin Otte
c4c383fa39
scrolledwindow: Remove unused variable
2014-07-22 15:06:26 +02:00
Ignacio Casal Quinteiro
fc8b7156a3
win32: add css files to EXTRA_DIST
2014-07-22 14:53:16 +02:00
Lapo Calamandrei
5ff1c9a6ef
Adwaita: reduce padding on path bars
2014-07-22 14:35:01 +02:00
Carlos Garnacho
0bb955b30e
treeview: Add back a check to ignore buttons > 3
...
The removal was not intentional, and still needed as the GtkGestureMultiPress
will work for any button unless told to lock on a single specific one.
2014-07-22 13:20:13 +02:00
Lapo Calamandrei
3d5e9c9556
Adwaita: GtkSwitch in selected list rows
2014-07-22 10:29:01 +02:00
Lapo Calamandrei
35e4421bb8
Adwaita: less distracting active list-rows
2014-07-22 10:27:49 +02:00
Lapo Calamandrei
7fe1bd70cf
Adwaita: decrease column headers paddings
2014-07-22 09:58:58 +02:00
Lapo Calamandrei
a67baa51ae
Adwaita: stack switcher button needs-attention fix.
...
Don't draw the dot when the stack switcher button is active.
2014-07-22 09:42:22 +02:00
Benjamin Otte
5a3ebb4860
stylecontext: Query style properties with correct state
...
Now that widget paths are allowed to have a state, use that state when
querying style properties. This uses a fast path in gtkcssprovider.c and
that is great.
2014-07-22 03:06:04 +02:00
Matthias Clasen
a0566770da
GtkWidgetPath: Don't forget to copy the state
...
gtk_widget_path_copy was not copying the state of each element.
This was showing in "GtkRadioButton:active GtkLabel" not matching
in stack switchers.
2014-07-21 20:35:59 -04:00
Matthias Clasen
2df06d3490
GtkWidgetPath: Show states in the path string
...
This shows clearly that some widgets don't set the state on their
path currently.
2014-07-21 19:49:11 -04:00
Benjamin Otte
153a7e71ce
stylecontext: Don't do anything with empty widget path
...
It's a corner case, but empty widget paths don't allow setting
state/regions/classes, so exit early
Fixes gtk/stylecontext test.
2014-07-22 01:10:21 +02:00
Matthias Clasen
0d71478237
inspector: Offer Raleigh as a theme
...
As long as it is included, might as well offer it.
2014-07-21 14:13:06 -04:00
Matthias Clasen
821955a998
Avoid a compiler warning
2014-07-21 14:13:06 -04:00
Benjamin Otte
3747e0fc4e
css: Make commented out debug code work again
2014-07-21 19:54:14 +02:00
Benjamin Otte
09a1d983d4
css: Add printing code for :visited and :link
...
Don't just crash when those states are encountered
2014-07-21 19:54:14 +02:00
Lapo Calamandrei
6b8dd7beef
Adwaita: stack switcher button fixes
...
Paddings and outline offset are ok now.
2014-07-21 19:26:41 +02:00
Lapo Calamandrei
c4b583ed47
Adwaita: bright outline on suggested/destructive action buttons
2014-07-21 19:22:24 +02:00
Lapo Calamandrei
306890ef9d
Adwaita: bit padding overhaul
...
Header-bar and action-bar buttons used to be bigger then others
now everything is as big as those, maintaining two different sizes
for default widgets depending on the placement is a maintainance
nightmare and having controls the same size is good from a usability
point of view.
2014-07-21 18:52:58 +02:00
Matthias Clasen
c8c6da4ca4
GtkTooltip: Drop an unused variable
...
The toplevel_window was never set, and the only place where it
was used was causing us to hide tooltips needlessly. So removing
it is a double win.
https://bugzilla.gnome.org/show_bug.cgi?id=733321
2014-07-21 12:40:57 -04:00
Matthias Clasen
2a7577d23a
inspector: Show misc info
...
Add yet another tab for showing information about a widget that
does not quite fit into any of the other tabs (not a property,
not style information, etc...).
For now, we show the widget state, as well as the default and
focus widget for windows.
2014-07-21 11:18:29 -04:00
Paolo Borelli
167f200a0c
GtkMenuButton: do not mention GtkArrow in the docs
...
GtkArrow is deprecated and is not used internally anymore by the
menu button. Document also the fact that if no direction is specified
then the view-context-menu icon is shown.
https://bugzilla.gnome.org/show_bug.cgi?id=733441
2014-07-21 15:26:09 +02:00
Paolo Borelli
8b6bf3a5ea
GtkMenuButton: do not use gpointer for the arrow widget
...
Just a small cleanup, we can use a proper type.
2014-07-21 15:26:09 +02:00
Lapo Calamandrei
81b22883fd
Adwaita: header bar buttons padding fix
2014-07-21 15:24:08 +02:00
Sébastien Wilmet
9527205291
GtkTextView: use GSlice
...
GSlice is better for allocating structs.
https://bugzilla.gnome.org/show_bug.cgi?id=733407
2014-07-20 12:26:01 +02:00
Matthias Clasen
85297367dc
GtkDialog: Manage action area visibility more carefully
...
People expect to be able to call gtk_widget_show_all on the dialog
to make action widgets visible, as seen e.g. in
https://bugzilla.gnome.org/show_bug.cgi?id=733431
To keep this working, we can't always set no-show-all on the
action_box. Only set it when the action_area is not used and empty.
2014-07-20 01:05:41 -04:00
Matthias Clasen
caa47b2ef4
GtkMenuItem: fix display of accelerators
...
The accel label in menus was getting a small allocation that
caused its draw code to always omit the accelerator string.
Fix that by setting halign to fill. To keep the menu label
left-aligned, set xalign to 0 to compensate.
2014-07-20 00:12:40 -04:00
Matthias Clasen
d6d424f920
GtkModelMenuItem: Make properties readable
...
This makes the inspector much more useful when dealing
with model menu items.
2014-07-19 23:40:27 -04:00
Matthias Clasen
73267102fd
GtkAccelLabel: unconditionally chain up in draw
...
No need to check, we know for sure that GtkLabel has a draw
function.
2014-07-19 23:37:43 -04:00
Matthias Clasen
70e898bc90
inspector: Add a font button to the visual tab
...
The font was already settable via the gtk-font-name property
of the settings object, but this this much more convenient.
2014-07-19 19:15:58 -04:00
Gergely POLONKAI
7f7084f7f5
GtkSpinButton: Document some signals
...
Based on a patch by Gergely Polonkai,
https://bugzilla.gnome.org/show_bug.cgi?id=733174
2014-07-19 18:34:58 -04:00
Matthias Clasen
f7c838ce5f
Trivial: Use the canonical signal name
2014-07-19 18:34:58 -04:00