summaryrefslogtreecommitdiff
path: root/gtk/ui
Commit message (Collapse)AuthorAgeFilesLines
* GtkFileChooser: add a sortable "Type" columnNelson Benítez León2019-06-221-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | along with a new 'type-format' setting that allows to choose the output format for the "Type" column. The options implemented for this setting are: 'mime' : Output from g_content_type_get_mime_type(). 'description' : Output from g_content_type_get_description(). 'category' : It uses the corresponding generic icon of the mime type to group by categories (aka basic types). This produces a more compact output than previous options, and allows for type families to be grouped together, so eg. after sorting by "Type" column, jpeg and png images will be placed together, or the various types of archiver files will also be grouped together. This format was copied from and currently used by Nautilus list view, so we also improve consistency with Nautilus. Bugzilla entry for Nautilus implementation is: https://bugzilla.gnome.org/show_bug.cgi?id=683722 The list of type families or categories can be checked on: https://developer.gnome.org/icon-naming-spec/#mimetypes This 'category' format is set as default. Issue #362
* PrintUnixDialog: Slightly ease page range entryGuillaume Maudoux2019-06-131-1/+1
| | | | | | | | | Page ranges entry can now be focused directly, and will automatically select the page ranges button when doing so. This avoids the sometimes counter-intuitive previous behavior where the entry was automatically focused when toggling the radio button, but the user may still find themselves clicking uselessly in the text entry because they scheduled it in their mental model.
* message dialog: Stop hardcoding title stylesMatthias Clasen2019-06-131-0/+3
| | | | | | | | Instead, use a new title style class to let themes influence title formatting. Note that the theme style will be overridden if the application uses markup for presentation, such as <b> or <i>.
* color editor: Fix numerical odditiesMatthias Clasen2019-06-121-4/+4
| | | | This is probably ue to a pass through gtk-builder-tool.
* Merge branch 'gesture-click' into 'master'Matthias Clasen2019-05-294-8/+8
|\ | | | | | | | | Rename GtkGestureMultiPress to GtkGestureClick See merge request GNOME/gtk!878
| * Rename GtkGestureMultiPress to GtkGestureClickMatthias Clasen2019-05-294-8/+8
| | | | | | | | | | The name just made it hard for people to find the right gesture to use.
* | window: Drop gtk_window_set_positionMatthias Clasen2019-05-291-1/+0
|/ | | | | This is heavily using global coordinates, and can't be guaranteed to work across wms / platforms.
* places sidebar: Don't derive from scrolled windowMatthias Clasen2019-05-281-1/+0
| | | | We can just have a scrolled window, instead.
* Adwaita: Remove Emoji completion special caseMatthias Clasen2019-05-281-0/+1
| | | | We can use GtkPopover::has-arrow now.
* popover: Rename modal to autohideMatthias Clasen2019-05-281-1/+1
| | | | | | | | This is the term we use for the surface, and it matches the behavior a bit better than modal. Update all callers.
* Update all users for menubutton changesMatthias Clasen2019-05-182-6/+1
|
* dialog: Use default decoration for non-custom headerbarsFlorian Müllner2019-05-121-0/+1
| | | | | | | | | | | | | | | | | | | | There are two ways GTK can add a headerbar to a dialog: - the dialog is constructed with the :use-header-bar property - all windows should use client-side decorations In the first case, the headerbar is added by GtkDialog with no dedicated style class, and in the latter by GtkWindow with the "default-decoration" style. As a result, dialogs with plain titlebars can end up with clearly distinct and inconsistent styles. To address this, allow headerbars to track whether they should use the "default-decoration" style and enable it for dialogs. https://gitlab.gnome.org/GNOME/gtk/merge_requests/836
* about dialog: Fix page visibilityMatthias Clasen2019-05-121-0/+3
| | | | | | | The handling of page visibility broke when the dialog was ported to GtkStackPage in 52b83ac5530940bf17bc. Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1877
* emoji chooser: Make Escape work againMatthias Clasen2019-05-041-0/+1
| | | | Escape is expected to close the Emoji chooser.
* filechooserwidget: Fix rename popover widget alignmentTimm Bäder2019-04-301-0/+1
|
* Drop the can-default propertyMatthias Clasen2019-04-285-8/+0
| | | | | | It was added at a time when default buttons had a very large external border that would disrupt aligment. Not a problem nowadays.
* filechooserwidget: Use a center box for the search entryTimm Bäder2019-04-281-4/+3
| | | | | This way we can avoid a slight position offset when we show or hide the spinner during a search.
* filechooserwidget: Allow keynav from the treeview to the search entryTimm Bäder2019-04-281-0/+1
|
* window: Drop some x11-specific apisMatthias Clasen2019-04-201-1/+0
| | | | | | | The skip-taskbar, skip-pager and urgency hints were only ever implemented for X11, and are not very useful with modern desktops. Relegate the functionality to x11 backend api, and drop the GtkWindow api.
* Update GtkGrid definitions in GtkBuilder filesEmmanuele Bassi2019-04-0529-407/+442
| | | | Convert packing properties to layout ones.
* Convert ui filesMatthias Clasen2019-03-287-20/+14
| | | | Run gtk4-builder-tool simplify --3to4 over all ui files.
* Merge branch 'child-properties' into 'master'Matthias Clasen2019-03-281-8/+3
|\ | | | | | | | | Remove some more child properties See merge request GNOME/gtk!675
| * Convert ui filesMatthias Clasen2019-03-271-8/+3
| | | | | | | | Run gtk4-builder-tool simplify --3to4 over all ui files.
* | file chooser: Stop setting a roleMatthias Clasen2019-03-271-1/+0
|/ | | | It does nothing.
* Convert all ui filesMatthias Clasen2019-03-272-14/+8
| | | | Run gtk4-builder-tool simplify --3to4 over all ui files.
* print dialog: Use notebook pages in ui fileMatthias Clasen2019-02-211-795/+784
| | | | This is the new way of doing things.
* emoji chooser: Don't use entry api on search entriesMatthias Clasen2019-02-201-1/+0
| | | | | Use editable api, and cut through to the text widget where necessary.
* font chooser: Use editable api on search entryMatthias Clasen2019-02-191-6/+0
|
* assistant: Use a stackMatthias Clasen2019-02-151-3/+1
| | | | We don't use any non-stack features of the notebook here.
* Merge branch 'included-icons' into 'master'Matthias Clasen2019-02-131-4/+4
|\ | | | | | | | | Included icons See merge request GNOME/gtk!580
| * page setup dialog: Use theme iconsMatthias Clasen2019-02-121-4/+4
| | | | | | | | | | | | We have non-gtk-specific icons in the icon theme for this now, so drop the gtk-orientation icons and use the theme ones instead.
* | Rever more of the icon shadow commitTimm Bäder2019-02-121-3/+1
| | | | | | | | Even adjusting the icon size is wrong for GTK4.
* | Revert a non-working additionMatthias Clasen2019-02-121-3/+0
| | | | | | | | Cell rendererers don't support <style> in ui files.
* | Theme: add helper class names for AdwaitaJakub Steiner2019-02-122-1/+9
|/ | | | | | - helps legibility of app icons Addresses https://gitlab.gnome.org/GNOME/gtk/issues/1434
* about dialog: Adapt to new stack visiblity handlingMatthias Clasen2019-02-121-3/+0
| | | | | We need to set the visible property of the stack pages now.
* Update ui files to new stack syntaxMatthias Clasen2019-02-0830-1083/+1019
| | | | This conversion was done with the help of gtk4-builder-tool.
* Drop GtkButtonBoxMatthias Clasen2019-02-044-8/+6
| | | | | This widget does not seem worth keeping, and we want to get rid of child properties.
* box: Remove the position child propertyMatthias Clasen2019-01-2315-156/+0
| | | | | | | | The position child property is problematic, since it requires us to emit notification for all children when inserting a child early in the list of children. Remove the property from all ui files.
* assistant: Fix button order in ui fileTimm Bäder2019-01-231-44/+21
|
* dialog: Expose the content area as a separate GtkBox childTimm Bäder2019-01-239-11/+19
| | | | | | This way, the "vbox" internal child does not contain anything by default. It previously did contain "internal" widgetry like the action area.
* Stop using GtkBox's pack-type child prop in UI filesTimm Bäder2019-01-235-27/+4
|
* combobox: Stop using GtkBox's pack-type propertyTimm Bäder2019-01-231-6/+0
| | | | Reorder the child widgets accordingly instead.
* about dialog: Use ::activate-link for licenseMatthias Clasen2019-01-181-0/+1
| | | | | | | This should behave the same as all the other links in this dialog. Closes: #1561
* placesview: List only available protocols as availableAntónio Fernandes2018-12-141-121/+1
| | | | | | | | | | | We display a list of supported protocols in the server_addresses_popover. However, this curated list contains protocols which may or may not be available, depending on the respective gvfs backend being installed. So, populate the list only with protocols which are available. https://gitlab.gnome.org/GNOME/gtk/issues/1476
* Make color picker circularMatthias Clasen2018-08-041-0/+2
| | | | The need for center alignment was pointed out by Timm Baeder.
* sidebarrow: Hide busy_spinner by defaultsidebar-spinner-visibilityErnestas Kulik2018-08-031-0/+1
| | | | | | | Since the original implementation was likely based on GTK+ 3, the change in default visibility might have not been considered, which results in all rows suddenly sporting a visible spinner when opening a fresh file chooser.
* Merge branch 'gtk-4-add-spinner-to-sidebar-row' into 'master'Matthias Clasen2018-07-301-0/+8
|\ | | | | | | | | gtkplacessidebar: Show busy spinner in sidebar row during mount ops See merge request GNOME/gtk!261
| * gtkplacessidebar: Show busy spinner in sidebar row during mount opssegfault2018-07-271-0/+8
| |
* | gtkcombobox: Use controller to handle combobox keybindings in menusCarlos Garnacho2018-07-301-1/+6
| | | | | | | | Instead of an ::event callback.
* | color editor: Add a color picker buttonMatthias Clasen2018-07-271-0/+14
|/ | | | | The button is shown if we have a GtkColorPicker implemenation. Currently, there are none, so the button is never shown.