Benjamin Otte
dd6fb87443
printunixdialog: Use new drawing area API
2016-11-18 06:40:53 +01:00
Benjamin Otte
b0f392534f
coloreditor: Don't draw a background on boxes
...
Boxes know how to draw backgrounds these days.
2016-11-18 06:40:53 +01:00
Ondrej Holy
16bce17168
gtkplacesview: Add example of IPv6 address in guidance
...
Square brackets are mandatory for IPv6 addresses. Add example of IPv6
address in the guidance to make it obvious.
https://bugzilla.gnome.org/show_bug.cgi?id=756570
2016-11-17 08:15:40 -05:00
Timm Bäder
a829929a41
sidebarrow: Use GtkButton:icon-name
2016-10-31 12:20:41 +01:00
Timm Bäder
01723fa02f
filechooser: Use GtkButton's icon-name property
2016-10-31 12:20:41 +01:00
Matthias Clasen
6861a5d0a4
Spacing fixes for builtin dialogs
...
Replace border-width and padding by margins, in most places.
2016-10-26 20:58:07 -04:00
Benjamin Otte
4df6ddad54
API: container: Remove gtk_container_set_border_width()
2016-10-16 18:18:58 +02:00
Timm Bäder
9f930c08a6
ui: Don't unnecessarily set GtkEntry:invisible-char
2016-10-16 18:17:21 +02:00
Timm Bäder
f45dadadd0
box: Remove 'padding' child property
2016-10-16 18:17:21 +02:00
djb
fe6030a41b
gtkplacesviewrow: stop busy_spinner from offsetting the other widgets when visible
...
...by putting it in a stack. The busy_spinner and eject_button are
mutually exclusive, but only the latter was coded to ensure that its
visibility did not cause the rest of the row to reflow. By putting both
widgets in a stack and setting child_visible on that, the row allocates
enough space to show one - or none - at once, avoiding any misalignment.
https://bugzilla.gnome.org/show_bug.cgi?id=772345
https://bugzilla.gnome.org/show_bug.cgi?id=772348
2016-10-10 15:13:50 -04:00
Carlos Soriano
cc814fdeac
gtkplacesview: mark string as translatable
...
We missed it.
https://bugzilla.gnome.org/show_bug.cgi?id=771666
2016-09-22 17:02:19 +02:00
Tristan Van Berkom
c39ad84970
Revert "about dialog: Set a max-content-height on credits"
...
This reverts commit 6af5033386
.
Scrolled window behavior of propagating child natural sizes
has now been made optional, so there is no need to work around
this by setting a hard coded maximum content height anymore.
2016-09-06 21:29:03 +09:00
Timm Bäder
4f7ec1f1c0
gtk{info,search}bar.ui: Remove some leftover attributes
2016-09-01 12:32:51 +02:00
Matthias Clasen
6af5033386
about dialog: Set a max-content-height on credits
...
This keeps the credits section from making the dialog grow
when there are lots of credits.
https://bugzilla.gnome.org/show_bug.cgi?id=770458
2016-08-29 10:01:20 -04:00
Piotr Drąg
3831b2a725
placesview: fix spelling of WebDAV in a translatable string
2016-07-12 13:31:21 +02:00
Thomas Lange
e7765daf64
placesview: Do not mark icon name as translatable
...
https://bugzilla.gnome.org/show_bug.cgi?id=766878
2016-05-26 22:05:41 -04:00
Lapo Calamandrei
cca2a22b63
color scale: Really sync style classes with GtkScale
...
sync the alpha scale styleclass too.
2016-05-19 17:32:09 +02:00
Georges Basile Stavracas Neto
534ab9a9f0
placesview: update guiding list of protocols
...
The previous list of protocols in the guidance popover
was suboptimal and needed adjustments.
This commit updates this list to match the latest mockups [1].
[1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/4847c79ea1aaf75046b3ec5bb1b167ac604d86ed/nautilus/nautilus-next/connect-to-server-wire.png
https://bugzilla.gnome.org/show_bug.cgi?id=756570
2016-05-08 17:38:49 -03:00
Timm Bäder
1b84d75d10
dialogs: remove 2px border width again
2016-05-08 21:33:53 +02:00
Matthias Clasen
cd581c9e81
Simplify our templates
...
This is applying the new property name simplification.
2016-05-06 16:09:12 -04:00
Georges Basile Stavracas Neto
bb8b459407
placesview: follow up fixes
...
This patch unmarks the addresses' prefixes as translatable,
and updates the callback name to reflect what it really does
now.
This is a follow up fix from commit 7449add82
.
https://bugzilla.gnome.org/show_bug.cgi?id=756570
2016-04-27 08:40:19 -03:00
Georges Basile Stavracas Neto
7449add82b
placesview: provide guidance on server addresses
...
GtkPlacesView currently provides no example of
server addresses, which may confuse users.
To fix that, add a helper popover with some
guidance on server addresses.
https://bugzilla.gnome.org/show_bug.cgi?id=756570
2016-04-26 20:50:45 -04:00
Matthias Clasen
4f45353a19
pathbar: Style slider buttons
...
Set a style class on the pathbar slider buttons, and have the
theme handle the separately from other image buttons.
2016-03-13 23:09:47 -04:00
Benjamin Otte
fc7335bdb4
colorscale: Draw a trough
...
Make sure the color info is actually drawn inside the trough.
2016-03-11 16:39:34 +01:00
Matthias Clasen
92662828ba
messagedialog: Respect the gtk-keynav-use-caret setting
...
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.
2016-03-04 22:44:30 -05:00
Carlos Soriano
fdde27ea9c
gtkplacessidebar: add new other locations with flags signal
...
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
2016-03-04 20:15:52 -05:00
Benjamin Otte
222c43fc60
combobox: Put child into box
...
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.
2016-03-02 13:54:39 +01:00
Benjamin Otte
c3d3bf61e4
combobox: Put the button in a box
...
This is so we can put the entry into the box in the next commit.
2016-03-02 13:54:39 +01:00
Matthias Clasen
52e0ab53dc
print dialog: More baseline alignment
...
Some places were missing the right valign setting to make
baselines line up properly.
2016-02-21 00:09:32 -05:00
Matthias Clasen
7c577ddf4f
assistant: Add margin to action area
...
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
2016-02-20 11:27:56 -05:00
Matthias Clasen
3a4922a76f
file chooser: Add an ID to the box around the pathbar
...
Having an ID makes it easier to style this appropriately.
2016-02-16 14:37:54 -05:00
Matthias Clasen
e10f44e896
places sidebar: use a box
...
No need for a grid here. Patch by Timm Bäder.
2016-02-15 08:19:25 -05:00
Matthias Clasen
56ba81530a
placesview: Fix some minor issues
...
Make the button not grow too big, and ensure that the actionbar
has a background.
https://bugzilla.gnome.org/show_bug.cgi?id=761792
2016-02-11 22:16:33 -05:00
Matthias Clasen
3dce876555
print dialog: Stop using action_box in .ui
...
We can just use CSS margins nowadays to achieve the desired
appearance.
2016-01-28 22:29:30 -05:00
Matthias Clasen
a80b555274
color editor: Ensure spin buttons are wide enough
...
If we don't explicitly ask for 2 chars to be visible, we might
get less, and it doesn't look great.
2016-01-23 18:26:09 -05:00
Matthias Clasen
78162c5e88
message dialog: Prevent empty title from being shown
...
We don't want to grow the titlebar by showing an empty label.
2016-01-15 11:59:33 -05:00
Matthias Clasen
000b5b9055
color editor: Set a name on the color sample
...
This can be used to tweak the style from CSS, via #editor-color-sample.
2016-01-08 11:10:02 -05:00
Matthias Clasen
1aeaa33e68
lockbutton: Fix up the template
...
I forgot to clean this up when switching to a stack.
2016-01-03 10:42:13 -05:00
Matthias Clasen
9c39232ab3
assistant: Drop unnecessary frame
...
We can just style the sidebar box itself, no need for an
extra frame widget.
2016-01-03 10:33:54 -05:00
Matthias Clasen
adfb76dc7e
lockbutton: Use a stack
...
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.
2016-01-03 09:55:30 -05:00
Cosimo Cecchi
5764c09272
combobox: use GtkIcon to render button arrow
...
We can now use the newly introduced GtkIcon widget to properly render
the arrow in the combobox with CSS.
2015-12-22 09:29:43 -08:00
Matthias Clasen
a3fd5a010b
Simplify actionbar
...
We don't need a frame widget here, just render a top border on the
box.
2015-12-18 22:57:16 -05:00
Georges Basile Stavracas Neto
67125ae4e0
placesview: implement available space
...
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
2015-12-09 20:30:10 -02:00
Sebastien Bacher
635da34908
GtkAppChooserWidget: wrap the label, use a standard icon
...
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
2015-12-03 12:45:56 +01:00
Christian Hergert
5dcf4e10b7
filechooserbutton: add some spacing between icon and text
...
These were a bit crammed, which doesn't match well with spacing used in
various other parts of gtk.
2015-12-01 11:23:12 -08:00
Emmanuele Bassi
0e0b45602a
tooltipwindow: Use a builder UI file
...
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.
2015-11-11 12:27:07 +00:00
Matthias Clasen
527df17ea3
places view: Remvoe some unused style classes
...
These style classes were not used in Adwaita, and didn't make
any difference for the appearance.
2015-11-05 23:44:16 -05:00
Matthias Clasen
a71bc24184
file chooser: Don't use .search-bar for a box
...
Just use the more general .view class to avoid special-casing
the file chooser in the theme.
2015-11-05 07:40:48 -05:00
Matthias Clasen
d229ea3de1
combobox: Use element names
...
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.
2015-11-02 13:56:25 -05:00
Matthias Clasen
f2434e7cea
file chooser button: Add a style class
...
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.
2015-11-02 12:27:36 -05:00