summaryrefslogtreecommitdiff
path: root/gtk/ui
Commit message (Collapse)AuthorAgeFilesLines
* color scale: Really sync style classes with GtkScaleLapo Calamandrei2016-05-191-1/+1
| | | | sync the alpha scale styleclass too.
* pathbar: Style slider buttonsMatthias Clasen2016-03-131-2/+2
| | | | | Set a style class on the pathbar slider buttons, and have the theme handle the separately from other image buttons.
* colorscale: Draw a troughBenjamin Otte2016-03-111-0/+2
| | | | Make sure the color info is actually drawn inside the trough.
* messagedialog: Respect the gtk-keynav-use-caret settingMatthias Clasen2016-03-041-2/+0
| | | | | | | | | | 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.
* gtkplacessidebar: add new other locations with flags signalCarlos Soriano2016-03-041-1/+1
| | | | | | | | | | | | 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
* combobox: Put child into boxBenjamin Otte2016-03-021-0/+6
| | | | | 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.
* combobox: Put the button in a boxBenjamin Otte2016-03-021-8/+13
| | | | This is so we can put the entry into the box in the next commit.
* print dialog: More baseline alignmentMatthias Clasen2016-02-211-1/+3
| | | | | Some places were missing the right valign setting to make baselines line up properly.
* assistant: Add margin to action areaMatthias Clasen2016-02-201-0/+1
| | | | | | | | 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
* file chooser: Add an ID to the box around the pathbarMatthias Clasen2016-02-161-0/+1
| | | | Having an ID makes it easier to style this appropriately.
* places sidebar: use a boxMatthias Clasen2016-02-151-13/+1
| | | | No need for a grid here. Patch by Timm Bäder.
* placesview: Fix some minor issuesMatthias Clasen2016-02-111-0/+4
| | | | | | | Make the button not grow too big, and ensure that the actionbar has a background. https://bugzilla.gnome.org/show_bug.cgi?id=761792
* print dialog: Stop using action_box in .uiMatthias Clasen2016-01-281-5/+0
| | | | | We can just use CSS margins nowadays to achieve the desired appearance.
* color editor: Ensure spin buttons are wide enoughMatthias Clasen2016-01-231-7/+8
| | | | | If we don't explicitly ask for 2 chars to be visible, we might get less, and it doesn't look great.
* message dialog: Prevent empty title from being shownMatthias Clasen2016-01-151-1/+1
| | | | We don't want to grow the titlebar by showing an empty label.
* color editor: Set a name on the color sampleMatthias Clasen2016-01-081-0/+1
| | | | This can be used to tweak the style from CSS, via #editor-color-sample.
* lockbutton: Fix up the templateMatthias Clasen2016-01-031-15/+0
| | | | I forgot to clean this up when switching to a stack.
* assistant: Drop unnecessary frameMatthias Clasen2016-01-031-9/+2
| | | | | We can just style the sidebar box itself, no need for an extra frame widget.
* lockbutton: Use a stackMatthias Clasen2016-01-031-19/+23
| | | | | | 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.
* combobox: use GtkIcon to render button arrowCosimo Cecchi2015-12-221-2/+2
| | | | | We can now use the newly introduced GtkIcon widget to properly render the arrow in the combobox with CSS.
* Simplify actionbarMatthias Clasen2015-12-181-10/+2
| | | | | We don't need a frame widget here, just render a top border on the box.
* placesview: implement available spaceGeorges Basile Stavracas Neto2015-12-091-3/+16
| | | | | | | | | | | | | | | | | | | | 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
* GtkAppChooserWidget: wrap the label, use a standard iconSebastien Bacher2015-12-031-1/+2
| | | | | | | 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
* filechooserbutton: add some spacing between icon and textChristian Hergert2015-12-011-1/+3
| | | | | These were a bit crammed, which doesn't match well with spacing used in various other parts of gtk.
* tooltipwindow: Use a builder UI fileEmmanuele Bassi2015-11-111-0/+41
| | | | | | 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.
* places view: Remvoe some unused style classesMatthias Clasen2015-11-052-6/+0
| | | | | These style classes were not used in Adwaita, and didn't make any difference for the appearance.
* file chooser: Don't use .search-bar for a boxMatthias Clasen2015-11-051-1/+1
| | | | | Just use the more general .view class to avoid special-casing the file chooser in the theme.
* combobox: Use element namesMatthias Clasen2015-11-021-3/+0
| | | | | | 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.
* file chooser button: Add a style classMatthias Clasen2015-11-021-0/+3
| | | | | | | | 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.
* message dialog: Use an element nameMatthias Clasen2015-10-301-3/+0
|
* placesview: vertically align path labelsGeorges Basile Stavracas Neto2015-10-301-2/+2
| | | | | | | | | | | | | 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
* gtkplacesview: add a clear button to address entryCarlos Soriano2015-10-151-0/+1
| | | | | | So it allows a quick way to clear the entry. https://bugzilla.gnome.org/show_bug.cgi?id=756568
* gtkplacesview: rotate server list icon on toggledCarlos Soriano2015-10-151-1/+4
| | | | | | | | | | 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
* gtkplacesview: tweak ui to allow more server rowsCarlos Soriano2015-10-151-1/+1
| | | | | | | | 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
* app chooser widget: protect against show_allMatthias Clasen2015-09-221-0/+1
| | | | | | | 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
* ui: Remove border from dialogs againTimm Bäder2015-09-154-0/+4
|
* Update all ui files againMatthias Clasen2015-09-1319-131/+131
| | | | | Replace translatable="1" by translatable="yes" so xgettext stays happy and extracts the strings.
* Run gtk-builder-tool simplify over all templatesMatthias Clasen2015-09-1230-1034/+882
|
* gtkplacessidebar: add sidebar row styleCarlos Soriano2015-09-011-0/+3
| | | | So designers can style it at their will.
* combobox: Add a special class for the button in the comboboxBenjamin Otte2015-08-271-0/+3
| | | | | | | | | | | | | | | 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.
* places-view: show a more verbose entry hintGeorges Basile Stavracas Neto2015-08-171-1/+1
| | | | | As pointed out by Allan, this is not very helpful. A call to action label fits better in this case.
* font chooser: Make the entry activate the defaultMatthias Clasen2015-08-101-1/+1
|
* font chooser: Use browse as selection modeMatthias Clasen2015-08-101-1/+3
|
* font chooser: Make Escape stop searchMatthias Clasen2015-08-101-1/+2
|
* placesview: show Disconnect instead of EjectGeorges Basile Stavracas Neto2015-08-101-1/+1
| | | | | | | | 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.
* combobox: Refactor cell view treatmentBenjamin Otte2015-07-311-2/+10
| | | | | | | | 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.
* Fix oversights in templatesMatthias Clasen2015-07-295-5/+6
| | | | | Some of our templates were not setting the domain attribute on the <interface> element.
* placesview: simplify codeGeorges Basile Stavracas Neto2015-07-281-177/+5
| | | | | | | | | | | | | 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.
* placessidebar: fix ellipsizing glitchGeorges Basile Stavracas Neto2015-07-281-2/+3
| | | | | | | | 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.
* placesview: show Computer itemGeorges Basile Stavracas Neto2015-07-281-0/+2
| | | | | | | | | | | 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.