Matthias Clasen
b4e1e01acc
Include the Adwaita theme
...
This adds the resources for the Adwaita theme, and includes them
in libgtk, on all platforms.
2014-06-13 13:20:47 -04:00
Matthias Clasen
6fc65d5b0f
Rename cursor pngs to their resource name
...
This allows us to get rid of some aliases in the .gresource.xml.
2014-06-13 09:28:27 -04:00
Matthias Clasen
6de3741f18
Move theme resources into subdirectories
...
Preparing for Adwaita to come in here.
2014-06-13 08:40:56 -04:00
Matthias Clasen
9bc07a2634
Add a message-dialog style class
...
This helps in separating message dialogs from other dialogs,
theming-wise.
2014-06-12 09:22:36 -04:00
Matthias Clasen
fbc6a0c400
Add some theming for csd popups
...
Not attempt to make this look good, just to demonstrate
that themes can in fact do it.
https://bugzilla.gnome.org/show_bug.cgi?id=731187
2014-06-09 14:16:12 -04:00
Matthias Clasen
e916391e6c
Drop an unused object
...
A downside of using templates is that we can have 'parasitic'
objects in there that don't get used for anything.
2014-05-24 18:20:31 -04:00
Matthias Clasen
0011c9dae4
Fix filechooser actionbar visibility
...
The actionbar was always visible, even when there is no filter
and no extra widget to show. Now we only show it when there is
something to show.
2014-05-24 00:00:00 -04:00
Matthias Clasen
9ae12b15e9
GtkAppChooserDialog: Make the search entry wider
...
It was too narrow, and looked a bit odd.
https://bugzilla.gnome.org/show_bug.cgi?id=727147
2014-05-21 20:11:16 -04:00
Matthias Clasen
e6c050c06f
searchbar: Add some spacing
...
When showing the close button, and placing a wide entry in the
middle, there was no separation at all. Fix this by setting
some spacing.
2014-05-21 20:09:46 -04:00
Cosimo Cecchi
521475da4d
win32: don't set interior-focus in the theme
2014-05-09 11:02:42 -07:00
Руслан Ижбулатов
0dd810ee22
W32: override selected button style to remove colored background
...
https://bugzilla.gnome.org/show_bug.cgi?id=729353
2014-05-01 18:20:20 +00:00
Руслан Ижбулатов
b83880b981
W32: Add a theme for .app-notification
...
This is copied from Adwaita. Looks sufficiently ok.
https://bugzilla.gnome.org/show_bug.cgi?id=729346
2014-05-01 17:54:46 +00:00
Matthias Clasen
ff87672780
GtkSearchBar: fix the template
...
There was a mismatch between GtkSearchBar being derived from GtkBin
and the template claiming the parent to be GtkBox.
2014-04-29 21:46:38 -04:00
Matthias Clasen
2dcf6c6b71
Raleigh: fix a typo
2014-04-28 15:39:21 -04:00
Matthias Clasen
0af4b71cd1
GtkDialog: protect against show_all
...
The real reason for the problem that the just reverted change
was supposed to address is that testfilechooser uses show_all
to tease out places where composite dialogs don't properly
protect their internals against unintended showing. Well,
lets do that, then.
2014-04-28 15:39:21 -04:00
Matthias Clasen
26d6eadab7
Revert "GtkFileChooserDialog: Avoid a bottom border in the dialog"
...
This reverts commit d871105fa8
.
2014-04-28 15:39:21 -04:00
Руслан Ижбулатов
5432c37d5a
W32: Update the css to match the .modelbutton->.button.menuitem transition
2014-04-28 15:51:51 +00:00
Руслан Ижбулатов
37aa840e89
W32: Add modelbutton styles
...
According to what i've been told, modelbuttons are supposed to look
flat, like menu items.
This is basically an improved copy of the menuitem styles.
https://bugzilla.gnome.org/show_bug.cgi?id=728810
2014-04-24 03:35:50 +00:00
Руслан Ижбулатов
1bcd7c40bd
W32: Add a set of "focused" styles to checkmarks
...
This prevents checkmarks in modelbuttons from being styled as buttons
(apparently, modelbuttons apply "focused" to their children, unlike
normal buttons).
https://bugzilla.gnome.org/show_bug.cgi?id=728808
2014-04-24 03:35:50 +00:00
Руслан Ижбулатов
5309149f75
W32: Fix dummy prelight style for check/radio buttons
...
Use a dummy transparent gradient instead of actual color (which screws up
focus rectangle on prelight), and apply to non-prelight state as well.
https://bugzilla.gnome.org/show_bug.cgi?id=728807
2014-04-24 03:35:49 +00:00
Руслан Ижбулатов
f4b61e92f6
W32: remove the blue "selected" rectangle when activating a checkbutton
...
https://bugzilla.gnome.org/show_bug.cgi?id=728806
2014-04-24 03:35:49 +00:00
Matthias Clasen
6e5191f6b6
dialog: keep action area stretched out
...
Adding an extra box in between had the side effect of
making the action area no longer go all across the dialog.
Setting hexpand compensates for this.
2014-04-23 00:05:15 -04:00
Matthias Clasen
d871105fa8
GtkFileChooserDialog: Avoid a bottom border in the dialog
...
We recently started to respect border-width on the action_area
again, so set its border-width to 0 so it doesn't get in the way.
https://bugzilla.gnome.org/show_bug.cgi?id=722211
2014-04-22 23:10:01 -04:00
William Jon McCann
7e479aa9ee
dialog: add a box around the action area to use for styling
...
If we want to set style properties that include the area
of the border-width part of action_area we need to use a
parent box.
https://bugzilla.gnome.org/show_bug.cgi?id=722211
2014-04-22 22:35:02 -04:00
William Jon McCann
20dfe1dd7f
file-chooser: merge path bar mode and location mode
...
https://bugzilla.gnome.org/show_bug.cgi?id=722211
2014-04-22 22:35:01 -04:00
William Jon McCann
d8ca588e17
file-chooser: remove select a folder info message
...
https://bugzilla.gnome.org/show_bug.cgi?id=722211
2014-04-22 22:35:01 -04:00
William Jon McCann
d46ed4ec00
file-chooser: don't use an special label for recent
...
https://bugzilla.gnome.org/show_bug.cgi?id=722211
2014-04-22 22:35:00 -04:00
William Jon McCann
a644b34154
file-chooser: add a search bar instead of using a path bar mode
...
https://bugzilla.gnome.org/show_bug.cgi?id=722211
2014-04-22 22:35:00 -04:00
William Jon McCann
cf9b29705f
file-chooser: add sidebar class to sidebar
...
https://bugzilla.gnome.org/show_bug.cgi?id=722211
2014-04-22 22:35:00 -04:00
William Jon McCann
b5e13cd68f
file-chooser: style location bar as a search bar
...
So we get a nice bottom border etc.
https://bugzilla.gnome.org/show_bug.cgi?id=722211
2014-04-22 22:34:59 -04:00
William Jon McCann
5c42068bb3
file-chooser: move location entry into same place as pathbar
...
https://bugzilla.gnome.org/show_bug.cgi?id=722211
2014-04-22 22:34:58 -04:00
William Jon McCann
e2b2339b89
file-chooser: no shadow on scrolled window
...
https://bugzilla.gnome.org/show_bug.cgi?id=722211
2014-04-22 22:34:57 -04:00
William Jon McCann
c253bc3165
file-chooser: use an action bar for extra widgets area
...
https://bugzilla.gnome.org/show_bug.cgi?id=722211
2014-04-22 22:34:57 -04:00
William Jon McCann
df9522d8a8
file-chooser: allow views to extend to the sides of the dialog
...
https://bugzilla.gnome.org/show_bug.cgi?id=722211
2014-04-22 22:34:56 -04:00
William Jon McCann
458cd04c13
file-chooser: move filter combo into extra area
...
https://bugzilla.gnome.org/show_bug.cgi?id=722211
2014-04-22 22:34:56 -04:00
William Jon McCann
256a3a51da
file-chooser: move pathbar into preview pane
...
https://bugzilla.gnome.org/show_bug.cgi?id=722211
2014-04-22 22:34:56 -04:00
Matthias Clasen
cfd7788c0b
GtkScaleButton: Don't specify a icon size of zero
...
This only works for scalable icons, but breaks if we fall
back to pngs.
2014-04-22 18:37:25 -04:00
Matthias Clasen
19e1a8feb4
GtkMessageDialog: Allow action-area-border theming again
...
This border does not interfere with headerbar-vs-content placement,
and we can allow themes to change it without breaking dialogs.
2014-04-10 13:54:38 -07:00
Руслан Ижбулатов
dd8612227f
Revert "W32: Add a basic set of CSD styles"
...
This reverts commit 6e3e0dcd73
.
Pushed by accident.
2014-04-10 17:59:21 +00:00
Руслан Ижбулатов
5c6e967b1f
W32: remove border on default buttons
...
https://bugzilla.gnome.org/show_bug.cgi?id=727973
2014-04-10 17:49:20 +00:00
Руслан Ижбулатов
6e3e0dcd73
W32: Add a basic set of CSD styles
...
https://bugzilla.gnome.org/show_bug.cgi?id=727316
2014-04-10 17:49:19 +00:00
John Lindgren
5f79ae53a2
Set use-fallback property to True for GtkScaleButton icons.
...
https://bugzilla.gnome.org/show_bug.cgi?id=727662
2014-04-06 01:12:41 -04:00
Руслан Ижбулатов
3540e6ca57
W32: Give unfocused selected list items special background, like Explorer does
...
https://bugzilla.gnome.org/show_bug.cgi?id=727244
2014-04-04 07:57:16 +00:00
Руслан Ижбулатов
42f70716b6
W32: style tooltips with appropriately-themed background
...
https://bugzilla.gnome.org/show_bug.cgi?id=727410
2014-04-01 11:50:38 +00:00
Руслан Ижбулатов
3a806b97c9
W32: give scrollbar slider active and insensitive styles
...
https://bugzilla.gnome.org/show_bug.cgi?id=727391
2014-04-01 11:50:37 +00:00
Руслан Ижбулатов
2ffd614ff4
W32: Add .dim-label style
...
https://bugzilla.gnome.org/show_bug.cgi?id=727245
2014-04-01 10:36:50 +00:00
Руслан Ижбулатов
e229cff8de
W32: Fix listbox selection
...
* Makes listbox background white instead of default grey
* Uses gradients or W32 theme parts to draw sexy selection/prelight
rectangle instead of changing selected/prelighted item background
* Removes blanket button text color, allowing buttons to inherit
text color from their parents. Non-normal buttons DO get specific
text color though. This partially fixes text color propagation from
listbox rows to their children.
https://bugzilla.gnome.org/show_bug.cgi?id=727244
2014-04-01 10:36:49 +00:00
Руслан Ижбулатов
c2b4891854
W32: Add MSW7 notebook theme, move old notebook theme into XP-only CSS
...
https://bugzilla.gnome.org/show_bug.cgi?id=727213
2014-04-01 10:36:47 +00:00
Руслан Ижбулатов
d83b1275b4
W32: Remove selection from check/radio marks
...
Current theme allows selection to leak into check/radio marks,
resulting in ugly colored rectangles showing up underneath the marks.
https://bugzilla.gnome.org/show_bug.cgi?id=727211
2014-04-01 10:36:46 +00:00
Руслан Ижбулатов
ec7179d01a
W32: Add dummy prelight style to check/radio buttons to propagate prelight to check/radio marks
...
https://bugzilla.gnome.org/show_bug.cgi?id=727210
2014-04-01 10:36:45 +00:00
Руслан Ижбулатов
b678af07d7
W32: re-enable grip theming
...
https://bugzilla.gnome.org/show_bug.cgi?id=727080
2014-04-01 10:36:44 +00:00
Руслан Ижбулатов
e0a80d165a
W32: Add GtkPopover theming
...
https://bugzilla.gnome.org/show_bug.cgi?id=727078
2014-04-01 10:36:34 +00:00
Руслан Ижбулатов
c58ed480e5
W32: Make combobox-entry thinner by removing unneeded padding
...
https://bugzilla.gnome.org/show_bug.cgi?id=727075
2014-04-01 10:32:50 +00:00
Руслан Ижбулатов
7d367a8952
W32: Fix menu item size and submenu arrow size
...
https://bugzilla.gnome.org/show_bug.cgi?id=727037
2014-04-01 10:32:24 +00:00
Руслан Ижбулатов
e8f09084bd
W32: Fix combobox dropdown list color
...
https://bugzilla.gnome.org/show_bug.cgi?id=727036
2014-04-01 03:29:35 +00:00
Руслан Ижбулатов
2b36054a5d
W32: Fix double-arrowed combobox button
...
The arrow is part of the background image drawn by the theme, don't draw
GTK's own arrow. This also applies to non-entry comboboxes.
On XP the arrow-and-nothing-else part does not exist (W32 XP theme draws a
white rectangle) and has to be subtituted for a simple dropdown button even
for non-entry comboboxes.
https://bugzilla.gnome.org/show_bug.cgi?id=727035
2014-04-01 03:29:35 +00:00
Руслан Ижбулатов
ce9437daf5
Fix W32 theme for spinbuttons
...
It seems that the dec-button no longer has a "bottom" selector-thingy to
select for. Use "last-child" instead.
Use .vertical to style vertical instance differently, as last-child/first-child
meaning is inverted there.
Increase (towards 0) margins a bit, to avoid clipping the pre-light rectangle.
Use dir(rtl) selector to style horizontal instance differently for RTL locales,
where first-child is "inc".
https://bugzilla.gnome.org/show_bug.cgi?id=727022
2014-04-01 03:29:34 +00:00
Joanmarie Diggs
8a556a3a61
Add missing AtkRelations for labelled containers in the print dialog
...
These AtkRelation types are added automatically for widgets with a label
specified (e.g. via gtk_label_set_mnemonic_widget, gtk_frame_set_label,
and gtk_frame_set_label_widget). When such specification is absent, the
accessible relationship must be manually set.
https://bugzilla.gnome.org/show_bug.cgi?id=726996
2014-03-25 10:26:24 -04:00
Marek Kasik
21687bcedb
printing: Draw print dialog on fullscreen windows
...
Set correct "type-hint" for GtkPrintUnixDialog ("dialog").
Otherwise the print dialog is not shown when its parent
window is in fullscreen mode.
https://bugzilla.gnome.org/show_bug.cgi?id=724728
2014-03-24 12:22:17 -04:00
Matthias Clasen
02cd5737f6
Don't let themes override explicit border-width in dialogs
...
This fixes an issue where the theme-provided border-width prevents
dialog contents from lining up properly with the headerbar. To make
this work in message dialogs, we have to explicitly set the border-
width of the action area to 0.
2014-03-24 10:26:31 -04:00
Matthias Clasen
5c10e8409f
Ensure proper spacing around icons in message dialogs
...
We had a margin of 30 before/after the text. Put that add around
the icon as well, and separate the icon and text by 30 pixels.
This does not affect the appearance of message dialogs without
icons.
2014-03-18 19:53:36 -04:00
Matthias Clasen
f712cd8850
message dialog: Fine-tune vertical spacing
...
Requested in
https://bugzilla.gnome.org/show_bug.cgi?id=723668
2014-03-10 06:13:38 -04:00
Jasper St. Pierre
f89f595d08
Add gtkactionbar.ui.h
2014-02-23 16:07:38 -05:00
Matthias Clasen
89a264de91
about dialog: protect against gtk_widget_show_all
...
Normally, a GtkAboutDialog is shown using the convenience
API. But if you manually construct one and show it by calling
gtk_widget_show_all() on it, the license tab would show up
uninvited. Fix that.
https://bugzilla.gnome.org/show_bug.cgi?id=724411
2014-02-21 21:15:52 -05:00
Marek Kasik
7134ededfd
printing: Fix visibility of tabs in print dialog
...
"Job", "Image Quality", "Color", "Finishing" and "Advanced" tabs
shouldn't be shown if there is no printer selected.
https://bugzilla.gnome.org/show_bug.cgi?id=724895
2014-02-21 16:04:53 +01:00
William Jon McCann
1e87b82048
file-chooser: make accept action sensitive only when has selection
...
https://bugzilla.gnome.org/show_bug.cgi?id=547988
2014-02-20 15:44:47 -05:00
William Jon McCann
bc41268368
print-dialog: remove shadow in from some of the tabs
2014-02-20 09:19:31 -05:00
Paolo Borelli
d3c2819401
Add a GtkFrame inside GtkActionBar
...
This is needed to set a padding and draw a border since GtkBox does
not honour css padding yet.
https://bugzilla.gnome.org/show_bug.cgi?id=724693
2014-02-18 22:50:36 -05:00
Matthias Clasen
2392b1e534
Make print dialog destruction work
...
This was also causing the templates test to fail.
2014-02-17 21:40:36 -05:00
Matthias Clasen
11834ebf5c
app chooser: Reword a label
...
'Find New Applications' is shorter and less cryptic than 'Find
Applications in Software'.
2014-02-17 06:56:00 -05:00
Matthias Clasen
ef565e2713
action bar: Use a regular box instead of GtkCenterBox
...
GtkBox now supports a centered child, so GtkCenterBox is
no longer needed here.
2014-02-16 23:02:54 -05:00
Matthias Clasen
4a208439e6
Raleigh: fix a typo
...
titlebar is a style class, so it needs a .
2014-02-14 15:33:47 -05:00
Matthias Clasen
c1def9c224
Forgotten file
2014-02-14 15:33:26 -05:00
Matthias Clasen
9678c92112
Fix a typo
...
Thanks to Thomas A. Stillings for spotting it.
2014-02-14 11:56:48 -05:00
Matthias Clasen
f217af54ca
app chooser: Add a search bar
...
This replaces the treeview typeahead popup with a GtkSearchBar,
and adds a search button to the header bar (if we have one).
https://bugzilla.gnome.org/show_bug.cgi?id=724218
2014-02-14 07:05:13 -05:00
Matthias Clasen
e30f5dd00d
color chooser: Make nonresizable by default
...
The color chooser does not contain any scrollable content,
therefore it should not be resizable.
2014-02-14 07:05:13 -05:00
William Jon McCann
9a5f7c7978
Use an action bar for the conficts ui in the print dialog
2014-02-13 20:59:26 -05:00
William Jon McCann
283804c0bf
Set a default spacing on action bars
2014-02-13 20:59:25 -05:00
William Jon McCann
a121da3bb1
Set no border on notebook in print dialog
2014-02-13 20:59:25 -05:00
Matthias Clasen
352ea3a48d
message-dialog: deprecate the image field
...
We had already set the image to be hidden in the .ui file.
This patch removes the image altogether, and deprecates the
property, setter and getter.
If an image is explicitly put with the setter, it is still
shown, so to not break existing users of this API.
Based on a patch by Jon McCann.
2014-02-13 20:41:29 -05:00
Matthias Clasen
6578c9d876
Modernize the app chooser dialog
...
This is according to suggestions in
https://bugzilla.gnome.org/show_bug.cgi?id=724218
2014-02-13 00:14:42 -05:00
William Jon McCann
d0a654e4b9
Add new ActionBar
...
https://bugzilla.gnome.org/show_bug.cgi?id=723929
2014-02-12 08:08:03 -05:00
Matthias Clasen
f13b3e3aeb
Add minimal popover theming to Raleigh
...
Add background and border, so the popover boundaries are visible.
2014-02-05 01:10:33 -05:00
Matthias Clasen
841a8d811a
Update gtkvolumebutton.ui.h
...
Removing the tooltips removed some strings.
2014-02-03 16:43:45 -05:00
Matthias Clasen
f058b402e4
GtkVolumeButton: Remove tooltips
...
Showing tooltips on top of a transient popup does not work
out well, and is not really necessary here. At the same time,
remove the unnecessary repetitions of properties. In particular,
setting the label of the buttons here defeats the scale buttons
use of symbolic icons.
https://bugzilla.gnome.org/show_bug.cgi?id=723181
2014-02-03 15:43:24 -05:00
Matthias Clasen
c46b1c2a05
GtkScaleButton: Use a popover
...
This works better than the contortions we're currently doing
with an undecorated dialog, and grabs.
https://bugzilla.gnome.org/show_bug.cgi?id=723181
2014-02-03 15:43:24 -05:00
Jasper St. Pierre
328155d8b3
Update ui.h file for GtkFileChooserDefault rename
2014-01-31 15:20:38 -05:00
William Jon McCann
6a285daa79
assistant: add text-button style class
...
https://bugzilla.gnome.org/show_bug.cgi?id=723212
2014-01-29 20:56:21 -05:00
William Jon McCann
8ea33c29d7
assistant: make button labels match mockups
...
https://bugzilla.gnome.org/show_bug.cgi?id=723212
2014-01-29 20:56:21 -05:00
William Jon McCann
ec10bbd6f5
assistant: add ability to use header bar
...
https://bugzilla.gnome.org/show_bug.cgi?id=723212
2014-01-29 20:56:20 -05:00
William Jon McCann
d87ea4776a
Merge GtkFileChooserWidget and GtkFileChooserDefault
...
It seems that alternate implementations of GtkFileChooserWidget
never materialized. The split between GtkFileChooserWidget and
GtkFileChooserDefault is awkward. The immediate problem is that
it makes it difficult to document the keybinding signals. So it
makes sense to drop the abstraction and just have one thing.
https://bugzilla.gnome.org/show_bug.cgi?id=723157
2014-01-28 23:09:42 -05:00
Matthias Clasen
3e67b57396
Print dialog: Use baseline alignment in page setup tab
...
Based on a patch from
https://bugzilla.gnome.org/show_bug.cgi?id=722722
2014-01-27 23:30:37 -05:00
Nikita Churaev
40ccb8e79c
Fix vertical alignment of labels in "Paper" section of the print dialog
...
https://bugzilla.gnome.org/show_bug.cgi?id=722722
2014-01-27 23:30:37 -05:00
Marek Kasik
8418e6422f
printing: Enable search through locations in printers list
...
Add printer_compare() function for comparing printers according
to their names and locations. It is possible to search by multiple
keys separated by space or tabulator using logical conjunction.
Based on patch by William Hua.
https://bugzilla.gnome.org/show_bug.cgi?id=692931
2014-01-27 16:40:43 +01:00
Ignacio Casal Quinteiro
62fe7ca077
win32: scale slider with marks was off by 2 pixels
2014-01-27 09:43:17 +01:00
Matthias Clasen
86972cee30
Revert "resources: Make Raleigh the real name of the theme"
...
This reverts commit 6fa703b506
.
This did not work after all - we're trying to load the theme
css by its name, and the alias makes that not work.
2014-01-25 14:02:52 -05:00
Ignacio Casal Quinteiro
bfcc6c015e
win32: set color for scale marks
2014-01-24 18:27:43 +01:00
Ignacio Casal Quinteiro
f7a3d54a76
win32: add margin to scale trough
2014-01-24 17:57:59 +01:00
Ignacio Casal Quinteiro
b4ff954218
win32: add more width to the slider to not cut it when using marks
2014-01-24 17:30:28 +01:00
William Jon McCann
6fa703b506
resources: Make Raleigh the real name of the theme
...
And make gtk-default.css an alias to it.
2014-01-24 07:55:00 -05:00
William Jon McCann
4a11acdc8c
resources: move resources into a subdirectory
2014-01-23 21:04:59 -05:00