| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
sync the alpha scale styleclass too.
|
|
|
|
|
| |
Set a style class on the pathbar slider buttons, and have the
theme handle the separately from other image buttons.
|
|
|
|
| |
Make sure the color info is actually drawn inside the trough.
|
|
|
|
|
|
|
|
|
|
| |
We used to always make the labels in message dialogs selectable,
which is a bit problematic wrt. to keynav - the label can
unexpectedly 'turn blue', which irritates some people.
With the new gtk-keynav-use-caret setting, we can now only
make the labels selectable when it is required for accessibilty
reasons.
|
|
|
|
|
|
|
|
|
|
|
|
| |
We weren't using the open flags on the other locations signal, which
makes impossible for applications like nautilus to act in the same
way that for any other location where the user can choose between
opening in the current view, in a new window or in a new tab.
Add a new signal with an open flags parameter and deprecate
the other-location signal.
https://bugzilla.gnome.org/show_bug.cgi?id=754743
|
|
|
|
|
| |
Put the combobox child into the box we added for this purpose. That way,
we don't have to maintain the child's position ourselves anymore.
|
|
|
|
| |
This is so we can put the entry into the box in the next commit.
|
|
|
|
|
| |
Some places were missing the right valign setting to make
baselines line up properly.
|
|
|
|
|
|
|
|
| |
We are no longer setting a margin on the content area, so put
one on the action area itself to prevent the buttons from touching
the edge.
https://bugzilla.gnome.org/show_bug.cgi?id=762315
|
|
|
|
| |
Having an ID makes it easier to style this appropriately.
|
|
|
|
| |
No need for a grid here. Patch by Timm Bäder.
|
|
|
|
|
|
|
| |
Make the button not grow too big, and ensure that the actionbar
has a background.
https://bugzilla.gnome.org/show_bug.cgi?id=761792
|
|
|
|
|
| |
We can just use CSS margins nowadays to achieve the desired
appearance.
|
|
|
|
|
| |
If we don't explicitly ask for 2 chars to be visible, we might
get less, and it doesn't look great.
|
|
|
|
| |
We don't want to grow the titlebar by showing an empty label.
|
|
|
|
| |
This can be used to tweak the style from CSS, via #editor-color-sample.
|
|
|
|
| |
I forgot to clean this up when switching to a stack.
|
|
|
|
|
| |
We can just style the sidebar box itself, no need for an
extra frame widget.
|
|
|
|
|
|
| |
The previous way of manually juggling the visibility of the
labels doesn't work anymore, now that gadgets of invisible
widgets don't allocate space anymore.
|
|
|
|
|
| |
We can now use the newly introduced GtkIcon widget to properly render
the arrow in the combobox with CSS.
|
|
|
|
|
| |
We don't need a frame widget here, just render a top border on the
box.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GtkPlacesView is a widget to display locations
in the computer, such as root ("/") and volumes,
separating the persistent devices from removable
ones.
From the latest mockups[1], GtkPlacesView would
display the available space of local drives like
partitions. This, however, is not implemented in
the current codebase.
Fix that by implementing the measurement of disk
space, and adding a new property GtkPlacesView::show-disk-usage
which controls the visibility of measured disks.
[1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/nautilus/nautilus-next/other-locations.png
https://bugzilla.gnome.org/show_bug.cgi?id=759225
|
|
|
|
|
|
|
| |
Let the label wrap if needed, that's required in some locales, use an
icon which is available in the theme
https://bugzilla.gnome.org/show_bug.cgi?id=758908
|
|
|
|
|
| |
These were a bit crammed, which doesn't match well with spacing used in
various other parts of gtk.
|
|
|
|
|
|
| |
It's not a hugely complicated file, but it's easier to deal with some of
the details of tooltip windows styling if we have a UI file to edit,
instead of source code.
|
|
|
|
|
| |
These style classes were not used in Adwaita, and didn't make
any difference for the appearance.
|
|
|
|
|
| |
Just use the more general .view class to avoid special-casing
the file chooser in the theme.
|
|
|
|
|
|
| |
Use combobox as the element name for the main CSS nodes of
GtkComboBox and GtkComboBoxText. Add the .combo style class
to the button and entry. in a GtkComboBox or GtkComboBoxText.
|
|
|
|
|
|
|
|
| |
Unfortunately, GtkFileChooserButton is different from the other
pickers in that it is not a button, but rather has a button.
We ignore the difference for styling purposes, and just add
a .file style class to the button.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current situation is somewhat sad, with the path
label totally misaligned throughout the rows.
This is fixed by using a size group for the path labels,
so they all have the same allocated size (with the max
of 15 chars). Also, instead of hiding the eject button,
set it child-invisible, so it is hidden and yet it's size
is allocated by GtkBox.
https://bugzilla.gnome.org/show_bug.cgi?id=757303
|
|
|
|
|
|
| |
So it allows a quick way to clear the entry.
https://bugzilla.gnome.org/show_bug.cgi?id=756568
|
|
|
|
|
|
|
|
|
|
| |
Disclosure triangles are usually used pointing down, however
in this case the popover spawns in the upper direction, which
makes it odd looking.
Instead of pointing always down or up, point down when not toggled and
animate a rotation when toggled.
https://bugzilla.gnome.org/show_bug.cgi?id=756568
|
|
|
|
|
|
|
|
| |
Following design guidance, reduce row height and increase
popover height so the user is allowed to see more than 3
rows.
https://bugzilla.gnome.org/show_bug.cgi?id=756568
|
|
|
|
|
|
|
| |
The visibility of the 'no apps' placeholder is managed by
the dialog, it should not be affected by gtk_widget_show_all.
https://bugzilla.gnome.org/show_bug.cgi?id=748080
|
| |
|
|
|
|
|
| |
Replace translatable="1" by translatable="yes" so
xgettext stays happy and extracts the strings.
|
| |
|
|
|
|
| |
So designers can style it at their will.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
That way, the GTK engine doesn't think that the general .button CSS
might potentially apply to it.
And because combobox button is overly complex and stupid, it cannot be
cached.
So buttons thought they cannot ever cache anything because they might
suddenly end up inside a combobox without noticing and then they'd need
to round their corners differently. Of course they're just regular
"Remove" buttons like all the other 100s of "Remove" buttons in
gnome-software. But hey, better not cache anything for them and
recompute their CSS every time the :hover state changes on one of the
rows.
|
|
|
|
|
| |
As pointed out by Allan, this is not very helpful. A
call to action label fits better in this case.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Since we're dealing with networks, terms like "Eject" or
the eject button are misleading, since we're not actually
ejecting but disconnecting.
Fix that by showing the appropriate icon and tooltip.
|
|
|
|
|
|
|
|
| |
Instead of putting it inside the button manually, put it there properly
by adding a box containing the cell view and the arrow.
Do the same thing in list mode, instead of creating an event box that
tries to behave as a button.
|
|
|
|
|
| |
Some of our templates were not setting the domain attribute
on the <interface> element.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since we started adding a persistent Computer item,
all the code related to the view modes became obsolete,
since the view is never empty anymore. So, drop this
dead code and use the plain stack to manage the empty
search results view.
Also, this patch fixed a very annoying keyboard navigation
issue where we couldn't go from the On This Computer to Networks
lists, because they were two separate widgets. Merge the two
lists into a single one, and update headers accordingly.
|
|
|
|
|
|
|
|
| |
The places sidebar rows' labels were missing a proper
xalign, which caused the labels to keep shaking while
the sidebar was resized.
Fix that by setting the label's xalign to 0.
|
|
|
|
|
|
|
|
|
|
|
| |
GtkPlacesView widget manages persistent locations,
factoring out GtkPlacesSidebar functionality.
It, however, does not completely shows all sidebar
locations, since Computer is still missing.
Add a Computer item, adjusting some internal behavior
to make that possible.
|