summaryrefslogtreecommitdiff
path: root/gtk/ui
Commit message (Collapse)AuthorAgeFilesLines
* gtk: Add GtkVideoBenjamin Otte2018-03-181-0/+47
| | | | | GtkVideo is a simple video player widget. It probably needs some more configurability, but it does its job.
* gtk: Add GtkMediaControlsBenjamin Otte2018-03-181-0/+64
| | | | | This is a basic first implementation of controls for a GtkMediaStream, modeled after Totem's UI.
* gtk: Remove unused header files in gtk/ui/Benjamin Otte2018-03-0225-163/+0
|
* searchbar: reorganizeTimm Bäder2018-02-041-41/+0
| | | | | | | | Avoid the ugly priv->tool_box==NULL check in ::add (and ::remove) by just not using template xml for this small class. Also, make sure the GtkBin child is properly set and implement remove to also properly remove it. Remove the manual widget margins and add some CSS for it. Also switch to simply using a GtkCenterBox.
* searchbar: Remove unused widgetsTimm Bäder2018-02-041-35/+10
| | | | both box_left and box_right are unused.
* gtk: Remove GtkRecentChooserBenjamin Otte2018-02-022-89/+0
| | | | | It's not used any more, recent files are only used by the filtchooser and that one uses GtkRecentManager directly.
* Simplify all ui files againMatthias Clasen2018-01-184-35/+7
| | | | Now even simpler!
* fontchooswerwidget: Center spinbutton next to scales verticallyTimm Bäder2018-01-181-0/+2
|
* recent chooser: Stop using ::button-press-eventMatthias Clasen2018-01-161-1/+0
| | | | We can just use a multipress gesture here.
* file chooser: Use a multipress gestureMatthias Clasen2018-01-161-1/+0
| | | | | | | | | This replaces the use of ::button-press-event. There's two issues with this commit: 1) We don't have a good way to do the equivalent of gdk_event_triggers_context_menu with gestures 2) We have to defer to and idle to avoid ordering issues with the treeviews own gestures
* app chooser: Use a gestureMatthias Clasen2018-01-161-1/+0
| | | | | Instead of connecting to ::button-press-event, use a multipress gesture here.
* color editor: stop using ::focus-out-eventMatthias Clasen2018-01-161-1/+1
| | | | Again, the has-focus property is sufficient.
* font chooser: Stop using ::scroll-eventMatthias Clasen2018-01-161-4/+0
| | | | We have an event controller for this purpose now.
* dialog: Stop using the ::delete-event signalMatthias Clasen2018-01-161-1/+0
| | | | | We can achieve the desired result with a class handler and the ::hide-on-close property.
* filechooser: Manage spinner stateTimm Bäder2018-01-042-2/+0
| | | | So we don't get an allocate every frame.
* font chooser: Support font variationsMatthias Clasen2018-01-031-2/+15
| | | | Add sliders for the available axes to the tweak page.
* Add font features on the tweak pageMatthias Clasen2018-01-031-0/+1
|
* font chooser: Add a tweak pageMatthias Clasen2018-01-032-134/+231
| | | | | | | | | | | | | | | | | Add a button the dialog's header bar that lets us switch to a second page where we can customize the selected font. Make the font chooser widget export an action that the dialog can use for the button. This has some advantages: - we can export not just the toggle state, but also enabled - we can reuse the same enabled state to make the select button insensitive when no font is selected To determine whether a font is selected, listen to changes of the list selection. And ensure that the font chooser is in an initial state when mapped, even if we close the dialog from the tweak page.
* font chooser: introduce font chooser levelsMatthias Clasen2018-01-031-2/+14
| | | | | This is a more systematic approach to reducing the level of detail in the font chooser.
* Simplify ui filesMatthias Clasen2017-12-2619-200/+11
| | | | Run gtk3-builder-tool simplify over all our ui files.
* Fix a crash introduced in the previous commitMatthias Clasen2017-12-191-2/+2
| | | | | The signatures of row-inserted and row-deleted are not identical, so we need to be a bit more careful here.
* font chooser: Simplify some codeMatthias Clasen2017-12-191-2/+2
| | | | | | Instead of separate handlers, just keep a single handler for both row-inserted and row-deleted. Slightly less work that way.
* A forgotten fileMatthias Clasen2017-12-121-4/+0
| | | | | These changes belong to the scale button autoscrollling commit.
* path bar: Drop non-functional hold-to-scroll codeMatthias Clasen2017-12-121-8/+0
| | | | | | | | Scrolling a path bar is of marginal usefulness - you need to find a really deep place in your filesystem hierarchy in order to scroll one or two places at best. And the code we had for this was not working. And it was using legacy event handlers. Instead of fixing it, remove it.
* about dialog: Stop using event-after as wellMatthias Clasen2017-12-121-2/+0
| | | | We can just use a multipress gesture for this purpose.
* about dialog: Stop using motion notifyMatthias Clasen2017-12-121-2/+0
| | | | We can use the new motion event controller for this.
* Fix fallout from the show-close-button renameMatthias Clasen2017-12-082-2/+2
| | | | | I had overlooked ui files. We should really validate those during build.
* recent chooser: Stop specifying stock-sizeMatthias Clasen2017-12-011-1/+0
| | | | | We were using a no-longer-existing numeric value here, and we can just rely on the theme to set this now.
* enums: Change GtkIconSize valuesMatthias Clasen2017-11-155-9/+0
| | | | | The new values are the ones we intend to keep. The old ones had duplicated meanings and nobody knew which one to take.
* Don't set child position in a ui fileMatthias Clasen2017-10-101-4/+0
| | | | | It is not necessary, and causes assertions in some of our tests.
* printing: Some fixes to the print dialogMatthias Clasen2017-10-061-1/+0
| | | | | Hide widgets that are meant to be hidden initially, and use the right spin button apis.
* gtkplacessidebar: implement libcloudproviders supportJulius Härtl2017-09-041-1/+12
| | | | | | | | | | | | | | | | Add integration of the libcloudproviders DBus API to the GtkPlacesSidebar by showing name and sync status of the cloud providers. The exported menu is rendered as a GtkPopover. The sidebar will be updated if the list of cloudproviders changes e.g. by adding or removing an account. If any cloud provider changes detailed information like sync status only the individual sidebar row gets updated. Co-authored-by: Carlos Soriano <csoriano@gnome.org> Co-authored-by: Daniel Boles <dboles@src.gnome.org> https://bugzilla.gnome.org/show_bug.cgi?id=786123
* emoji chooser: No emoji in the search entryMatthias Clasen2017-09-021-0/+1
| | | | | | Recursion is fun, but better avoided in the ui. https://bugzilla.gnome.org/show_bug.cgi?id=786960
* SidebarRow: Add Unmount tooltip to eject_buttonDaniel Boles2017-08-231-0/+1
| | | | | | | It was reported that the lack of a tooltip made its purpose unclear. This can be solved by just copying PlacesViewRow’s eject_button tooltip. https://bugzilla.gnome.org/show_bug.cgi?id=766909
* Add an Emoji chooser widgetMatthias Clasen2017-08-121-0/+307
| | | | | Add a popover that shows color Emoji, with a search entry. The recently-used Emoji are stored in a GSetting.
* Use the right gettext domainMatthias Clasen2017-08-0528-28/+28
| | | | | Most of our .ui files were still using the gtk30 domain, despite the library having switched to gtk40. Fix this.
* placessidebar: Remove EventBox usageBenjamin Otte2017-08-021-29/+25
|
* placesview: Remove event box usageBenjamin Otte2017-08-021-78/+73
|
* statusbar: Inherit from GtkWidgetTimm Bäder2017-07-191-3/+1
|
* aboutdialog: Remove unused imageTimm Bäder2017-07-191-4/+0
|
* filechooserwidget: Add GtkFileChooserErrorStackTimm Bäder2017-07-181-4/+2
| | | | | | | | | | Showing all the different errors and warnings when renaming and creating files/folders without potentially resizing popovers on every keystroke requires us to know the size of the error messages beforehand, so pack all of the possible error messages and warnings in labels and those into a stack. This way we can also neatly crossfade transition between them. https://bugzilla.gnome.org/show_bug.cgi?id=775636
* filechooserwidget: Let the rename entry hexpandTimm Bäder2017-07-181-0/+1
| | | | | | | This makes a difference with other locals where error messages are longer than the standard width of entry+spacing+button. https://bugzilla.gnome.org/show_bug.cgi?id=775636
* sidebarrow: Remove useless size groupTimm Bäder2017-04-281-9/+0
| | | | | Nice try, but size groups don't work with invisible widgets anyway. Invisible widgets request 0×0.
* box: Remove center childTimm Bäder2017-04-251-1/+3
|
* box: Remove fill child propertyTimm Bäder2017-04-2511-97/+0
| | | | GtkWidget:halign and GtkWidget:valign are sufficient
* box: Remove expand child propertyTimm Bäder2017-04-2517-82/+33
| | | | GtkWidget already has hexpand/vexpand properties.
* gtkplacesview.ui: Remove translatable from server label helperCarlos Soriano2017-04-221-1/+1
| | | | | | | | | Translating it seems pointless if we can use a non-translatable example such as gnome.org instead of foo.example.com. This will help to make changes in here without breaking string freeze. https://bugzilla.gnome.org/show_bug.cgi?id=781622
* statusbar: Remove margins in ui fileTimm Bäder2017-03-311-4/+0
| | | | Widgets themselves shouldn't have margins assigned.
* appchooserwidget: Inherit from GtkWidgetTimm Bäder2017-03-311-5/+1
|
* fontchooserwidget: Inherit from GtkWidgetTimm Bäder2017-03-312-8/+2
|