Compare commits

...

21 Commits

Author SHA1 Message Date
Matthias Clasen
a816ccd496 3.16.0 2015-03-22 21:50:55 -04:00
Matthias Clasen
3a2f5634ee Updates 2015-03-22 21:50:55 -04:00
Andika Triwidada
4cee145764 Updated Indonesian translation 2015-03-23 00:06:08 +00:00
Jiro Matsuzawa
14289cfb3e l10n: Update Japanese translation 2015-03-23 02:54:19 +09:00
Andika Triwidada
9c45420bd8 Updated Indonesian translation 2015-03-22 09:30:19 +00:00
Samir Ribic
b4c6fb6334 Updated Bosnian translation 2015-03-22 07:54:46 +00:00
Muhammet Kara
686fec77cb Updated Turkish translation 2015-03-21 21:29:43 +00:00
Inaki Larranaga Murgoitio
f5051cca83 Updated Basque language 2015-03-21 17:01:29 +01:00
Inaki Larranaga Murgoitio
6f748c31ca Updated Basque language 2015-03-21 16:57:50 +01:00
Matthias Clasen
56583717fe HighContrast: Fix a typo
Commit 0a39d7d9 introduced a selected_bg_color with a missing $
in front of it.
2015-03-20 20:50:55 -04:00
Gábor Kelemen
1d93297a3a Updated Hungarian translation 2015-03-20 23:20:39 +00:00
Rico Tzschichholz
7c63374093 mir: Fix version annotation, the mir-backend is available since 3.16 2015-03-20 20:18:44 +01:00
Jakub Steiner
0a39d7d91e HighContrast: fix insensitive and backdrop states
- checkboxes, labels, menus/modelbuttons and buttons were
  a mixed bag for :insensitive and :backdrop

https://bugzilla.gnome.org/show_bug.cgi?id=746188
2015-03-20 13:08:17 +01:00
Carlos Garnacho
139ed7409f wayland: Silence warnings on clipboard data sending cancellation
During copy/paste, it may be common that we receive several property changes
around the selection atom, this results in warnings when cancelling the previous
write attempt. We already honor the last request properly, so we should just
cancel silently.
2015-03-19 20:15:55 -04:00
Carlos Garnacho
e995c0d1bf wayland: Ensure we re-request the target if the fd changes
If we receive wl_data_source.target before .send, the target would already
be cached, but we'd take no action on the new fd.
2015-03-19 20:15:55 -04:00
Carlos Garnacho
9ec5b3f9a1 wayland: Don't accept the "TARGETS" target on the wl_data_offer
This is handled separately through the data already cached from the
wl_data_offer.offer handler, we can avoid this request entirely then.
2015-03-19 20:15:55 -04:00
Kjartan Maraas
223209ecaa Updated Norwegian bokmål translation. 2015-03-19 21:26:44 +01:00
Милош Поповић
8d6b19533f Updated Serbian translation 2015-03-19 13:23:10 +00:00
Carlos Garnacho
17b65d3c8a wayland: Fix thinko in wl_data_source.cancelled handler
The wl_data_source may be the clipboard's. Looking up the drag context in
order to get the display isn't going to fare well there. So, just use the
default display, and only look up the drag context when we know we need it.

https://bugzilla.gnome.org/show_bug.cgi?id=746386
2015-03-18 12:13:18 +01:00
Chao-Hsiung Liao
847a79c5f9 Updated Chinese (Taiwan) translation 2015-03-18 01:54:29 +00:00
Chao-Hsiung Liao
24db6d5518 Updated Chinese (Taiwan) translation 2015-03-18 01:51:13 +00:00
21 changed files with 22406 additions and 21114 deletions

31
NEWS
View File

@@ -1,3 +1,34 @@
Overview of Changes in GTK+ 3.16.0
==================================
* Theming: Fixes for the HighContrast theme
* Wayland: Fix Clipboard handling
* Bug fixes:
746148 Overlay controls unusable in HighContrast
746149 “Close tab” buttons change the tab high on hover when using...
746188 insensitive ModelButtons are not drawn insensitive
746358 insensitive active backdrop GtkSwitches should probably loo...
746368 the “selected color” mark is always black, even for black
746369 “no date selection” (white on white)
746370 GtkExpander doesn't show it is expanded when using HighCont...
746386 clipboard crash when other client becomes the selection owner
* Translation updates:
Basque
Bosnian
Bulgarian
Chinese (Taiwan)
Hungarian
Indonesian
Japanese
Norwegian bokmål
Serbian
Swedish
Turkish
Overview of Changes in GTK+ 3.15.12
===================================

View File

@@ -76,8 +76,8 @@ Even better are git-formatted patches. (Use git format-patch)
Release notes for 3.16
======================
* GTK+ now includes an OpenGL rendering widget. To support GL on various
platforms, GTK+ uses libepoxy.
* GTK+ now includes an OpenGL rendering widget. To support GL on
various platforms, GTK+ uses libepoxy.
* GTK+ no longer uses gtk-update-icon-cache during its build. The
--enable-gtk2-dependency configure option has been removed.
@@ -99,7 +99,7 @@ Release notes for 3.16
has non-scrolling parts similar to treeview headers, there is no need
to implement this vfunc.
* The GtkSearchEntry widget has gained a number of new signal that
* The GtkSearchEntry widget has gained a number of new signals that
are emitted when certain key sequences are seen. In particular, it
now handles the Escape key and emits ::stop-search. Applications that
expect to handle Escape themselves will need to be updated.

View File

@@ -9,8 +9,8 @@
# set GTK_BINARY_AGE and GTK_INTERFACE_AGE to 0.
m4_define([gtk_major_version], [3])
m4_define([gtk_minor_version], [15])
m4_define([gtk_micro_version], [12])
m4_define([gtk_minor_version], [16])
m4_define([gtk_micro_version], [0])
m4_define([gtk_interface_age], [0])
m4_define([gtk_binary_age],
[m4_eval(100 * gtk_minor_version + gtk_micro_version)])

View File

@@ -30,13 +30,13 @@
#define GDK_TYPE_MIR_WINDOW (gdk_mir_window_get_type ())
#define GDK_IS_MIR_WINDOW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_MIR_WINDOW))
GDK_AVAILABLE_IN_3_10
GDK_AVAILABLE_IN_3_16
GType gdk_mir_display_get_type (void);
GDK_AVAILABLE_IN_3_10
GDK_AVAILABLE_IN_3_16
MirConnection *gdk_mir_display_get_mir_connection (GdkDisplay *display);
GDK_AVAILABLE_IN_3_10
GDK_AVAILABLE_IN_3_16
GType gdk_mir_window_get_type (void);
GDK_AVAILABLE_IN_3_16

View File

@@ -416,9 +416,11 @@ async_write_data_cb (GObject *object,
res, &error);
if (error)
{
g_warning ("Error writing selection data: %s", error->message);
g_error_free (error);
if (error->domain != G_IO_ERROR ||
error->code != G_IO_ERROR_CANCELLED)
g_warning ("Error writing selection data: %s", error->message);
g_error_free (error);
async_write_data_free (write_data);
return;
}
@@ -558,12 +560,12 @@ gdk_wayland_selection_request_target (GdkWaylandSelection *wayland_selection,
else
return FALSE;
if (fd >= 0)
wayland_selection->stored_selection.fd = fd;
if (wayland_selection->source_requested_target == target)
if (wayland_selection->stored_selection.fd == fd &&
wayland_selection->source_requested_target == target)
return FALSE;
wayland_selection->stored_selection.fd = fd;
wayland_selection->source_requested_target = target;
if (window && target != GDK_NONE)
@@ -668,16 +670,19 @@ data_source_cancelled (void *data,
g_debug (G_STRLOC ": %s source = %p",
G_STRFUNC, source);
context = gdk_wayland_drag_context_lookup_by_data_source (source);
display = gdk_window_get_display (context->source_window);
display = gdk_display_get_default ();
if (source == wayland_selection->dnd_source)
gdk_wayland_selection_unset_data_source (display, atoms[ATOM_DND]);
{
gdk_wayland_selection_unset_data_source (display, atoms[ATOM_DND]);
context = gdk_wayland_drag_context_lookup_by_data_source (source);
if (context)
gdk_wayland_drag_context_undo_grab (context);
}
else if (source == wayland_selection->clipboard_source)
gdk_wayland_selection_unset_data_source (display, atoms[ATOM_CLIPBOARD]);
if (context)
gdk_wayland_drag_context_undo_grab (context);
}
static const struct wl_data_source_listener data_source_listener = {
@@ -893,9 +898,10 @@ _gdk_wayland_display_convert_selection (GdkDisplay *display,
return;
}
wl_data_offer_accept (wayland_selection->offer,
_gdk_wayland_display_get_serial (GDK_WAYLAND_DISPLAY (display)),
gdk_atom_name (target));
if (target != gdk_atom_intern_static_string ("TARGETS"))
wl_data_offer_accept (wayland_selection->offer,
_gdk_wayland_display_get_serial (GDK_WAYLAND_DISPLAY (display)),
gdk_atom_name (target));
buffer_data = g_hash_table_lookup (wayland_selection->selection_buffers,
target);

View File

@@ -33,7 +33,6 @@ $insensitive_borders_color: $borders_color;
$backdrop_base_color: $base_color;
$backdrop_bg_color: $bg_color;
$backdrop_fg_color: $fg_color;
$backdrop_insensitive_color: $insensitive_fg_color;
$backdrop_borders_color: mix($borders_color, $bg_color, 90%);
//apps rely on some named colors to be exported

View File

@@ -143,7 +143,7 @@
}
}
GtkLabel {
GtkLabel { //not sure why not .label
&:selected,
&:selected:focus,
&:selected:hover,
@@ -152,6 +152,13 @@ GtkLabel {
}
}
.label {
&:insensitive, &:backdrop:insensitive {
color: $insensitive_fg_color;
background-color: $insensitive_bg_color;
}
}
/*********************
* Spinner Animation *
*********************/
@@ -576,11 +583,13 @@ $_dot_color: $selected_bg_color;
.menuitem.button.flat {
@extend %undecorated_button;
outline-offset: -1px;
&:hover { background-color: mix($fg_color,$bg_color,10%); }
&:selected { @extend %selected_items; }
&:backdrop, &:backdrop:hover {
&:hover, &:selected { @extend %selected_items; }
&:backdrop {
color: $backdrop_fg_color;
@extend %undecorated_button;
&:hover { color: $selected_fg_color; background-color: $selected_bg_color; }
}
&:insensitive { color: $insensitive_fg_color; }
}
GtkColorButton.button { padding: 4px; } // Uniform padding on the
@@ -648,7 +657,7 @@ GtkColorButton.button { padding: 4px; } // Uniform padding on the
}
&:backdrop:insensitive {
background-image: none;
color: transparentize($backdrop_insensitive_color,0.7);
color: transparentize($insensitive_fg_color,0.7);
border-width: 0 0 0 1px; // It is needed or it gets overridden
&:dir(rtl) { border-width: 0 1px 0 0; }
}
@@ -753,7 +762,7 @@ GtkComboBox {
icon-shadow: none;
}
&:backdrop:insensitive {
color: $backdrop_insensitive_color;
color: $insensitive_fg_color;
}
.menuitem { text-shadow: none; }
.separator.vertical {
@@ -1034,7 +1043,7 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells
}
&:insensitive {
color: $insensitive_fg_color;
&:backdrop { color: $backdrop_insensitive_color; }
&:backdrop { color: $insensitive_fg_color; }
}
&:backdrop, &:backdrop:hover {
color: $backdrop_fg_color;
@@ -1306,7 +1315,7 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells
font-weight: bold;
color: $insensitive_fg_color; /* color: inherit doesn't work here */
&:backdrop, &.prelight-page:backdrop {
color: mix($backdrop_fg_color, $backdrop_insensitive_color, 50%);
color: $insensitive_fg_color;
}
}
&.prelight-page GtkLabel, GtkLabel.prelight-page {
@@ -1444,8 +1453,8 @@ GtkSwitch {
}
&:insensitive, &:insensitive:active {
background-color: $insensitive_bg_color;
color: $backdrop_insensitive_color;
border-color: $backdrop_insensitive_color;
color: $insensitive_fg_color;
border-color: $insensitive_fg_color;
}
}
}
@@ -1487,30 +1496,30 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
@each $w,$a in ('check', 'checkbox'),
('radio','radio') {
.#{$w} {
color: transparentize($fg_color,0.9);
color: $fg_color;
background-image: none;
-gtk-icon-source: -gtk-icontheme('#{$a}-symbolic');
&:hover { color: $borders_color; }
&:hover { color: mix($fg_color, $bg_color, 80%) }
&:checked, &:active {
-gtk-icon-source: -gtk-icontheme('#{$a}-checked-symbolic');
color: $fg_color;
&:hover { color: $borders_color; }
&:hover { color: mix($fg_color, $bg_color, 80%); }
&:insensitive {
color: $insensitive_fg_color;
&:backdrop { color: $backdrop_insensitive_color; }
&:backdrop { color: $insensitive_fg_color; }
}
&:backdrop { color: $backdrop_fg_color; }
}
&:insensitive {
color: transparentize($insensitive_fg_color,0.9);
&:backdrop { color: transparent; }
color: $insensitive_fg_color;
&:backdrop { color: $insensitive_fg_color; }
}
&:inconsistent {
-gtk-icon-source: -gtk-icontheme('#{$a}-mixed-symbolic');
}
&:backdrop {
color: transparentize($backdrop_fg_color,0.9);
&:selected { color: transparentize($backdrop_base_color,0.9); }
color: $backdrop_fg_color;
&:selected { color: $backdrop_fg_color; }
}
}
}
@@ -1590,7 +1599,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
box-shadow: none;
}
&:backdrop:insensitive, .hilight:backdrop:insensitive {
border-color: $backdrop_insensitive_color;
border-color: $insensitive_fg_color;
background-color: $backdrop_bg_color;
}
}
@@ -1626,7 +1635,7 @@ GtkProgressBar {
font-size: 83%;
color: transparentize($fg_color, 0.6);
&:backdrop {
color: $backdrop_insensitive_color;
color: $insensitive_fg_color;
}
}
@@ -1743,7 +1752,7 @@ GtkLevelBar.vertical {
background-color: $selected_bg_color;
color: $selected_fg_color;
outline-color: transparentize($selected_fg_color, 0.7);
&:backdrop { color: $backdrop_base_color; }
&:backdrop { background-color: $borders_color; color: $selected_fg_color; }
}
/**********

View File

@@ -69,7 +69,7 @@
box-shadow: 0 1px transparentize(white,1);
}
@if $t==backdrop-insensitive {
color: $backdrop_insensitive_color;
color: $insensitive_fg_color;
background-image: linear-gradient(to bottom, $backdrop_bg_color);
box-shadow: 0 1px transparentize(white,1);
}
@@ -191,8 +191,8 @@
//
// backdrop pushed button
//
color: $backdrop_fg_color;
background-color: $backdrop_bg_color;
color: invert($backdrop_fg_color);
background-color: $backdrop_borders_color;
border-color: $backdrop_borders_color;
background-image: none;
}
@@ -201,7 +201,7 @@
//
// backdrop insensitive button
//
color: $backdrop_insensitive_color;
color: $insensitive_fg_color;
background-color: $insensitive_bg_color;
border-color: $backdrop_borders_color;
background-image: none;
@@ -211,7 +211,7 @@
//
// backdrop insensitive pushed button
//
color: $backdrop_insensitive_color;
color: $insensitive_fg_color;
border-color: $backdrop_borders_color;
background-image: none;
background-color: mix($backdrop_borders_color,$backdrop_bg_color, 8%);

View File

@@ -174,6 +174,10 @@
border: none;
box-shadow: none; }
.label:insensitive, .label:backdrop:insensitive {
color: #7f7f7f;
background-color: white; }
/*********************
* Spinner Animation *
*********************/
@@ -465,8 +469,8 @@
.button:backdrop:active, .button:backdrop:checked, .button.flat:backdrop:active, .button.flat:backdrop:checked {
border-width: 2px;
border-style: solid;
color: #000;
background-color: #fff;
color: white;
background-color: #8b8b8b;
border-color: #8b8b8b;
background-image: none; }
.button:backdrop:insensitive, .button.flat:backdrop:insensitive {
@@ -682,8 +686,8 @@
.inline-toolbar GtkToolButton > .button:backdrop:active {
border-width: 2px;
border-style: solid;
color: #000;
background-color: #fff;
color: white;
background-color: #8b8b8b;
border-color: #8b8b8b;
background-image: none; }
.inline-toolbar GtkToolButton > .button:backdrop:insensitive {
@@ -763,7 +767,7 @@
border-radius: 3px;
border-style: solid; }
.button.flat, .button.flat:backdrop, .button.flat:insensitive:backdrop, .menuitem.button.flat, .menuitem.button.flat:backdrop, .menuitem.button.flat:backdrop:hover, .button:link, .button:visited, .button:link:hover, .button:link:active, .button:visited:hover, .button:visited:active, .button:link:backdrop, .button:visited:backdrop, .notebook tab .button, .list-row.button, .list-row.button:backdrop:hover, GtkCalendar.button, GtkCalendar.button:hover, GtkCalendar.button:backdrop, GtkCalendar.button:backdrop:hover {
.button.flat, .button.flat:backdrop, .button.flat:insensitive:backdrop, .menuitem.button.flat, .menuitem.button.flat:backdrop, .button:link, .button:visited, .button:link:hover, .button:link:active, .button:visited:hover, .button:visited:active, .button:link:backdrop, .button:visited:backdrop, .notebook tab .button, .list-row.button, .list-row.button:backdrop:hover, GtkCalendar.button, GtkCalendar.button:hover, GtkCalendar.button:backdrop, GtkCalendar.button:backdrop:hover {
border-color: transparent;
background-color: transparent;
background-image: none;
@@ -774,8 +778,13 @@
/* menu buttons */
.menuitem.button.flat {
outline-offset: -1px; }
.menuitem.button.flat:hover {
background-color: #e5e5e5; }
.menuitem.button.flat:backdrop {
color: #000; }
.menuitem.button.flat:backdrop:hover {
color: #fff;
background-color: #000; }
.menuitem.button.flat:insensitive {
color: #7f7f7f; }
GtkColorButton.button {
padding: 4px; }
@@ -1523,7 +1532,7 @@ GtkTreeView.view.progressbar {
color: #7f7f7f;
/* color: inherit doesn't work here */ }
.notebook tab GtkLabel:backdrop, .notebook tab GtkLabel.prelight-page:backdrop {
color: #3f3f3f; }
color: #7f7f7f; }
.notebook tab.prelight-page GtkLabel, .notebook tab GtkLabel.prelight-page {
color: #3f3f3f; }
.notebook tab.active-page GtkLabel, .notebook tab GtkLabel.active-page {
@@ -1694,16 +1703,16 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
outline-offset: 0; }
.check {
color: rgba(0, 0, 0, 0.1);
color: #000;
background-image: none;
-gtk-icon-source: -gtk-icontheme("checkbox-symbolic"); }
.check:hover {
color: #7f7f7f; }
color: #323232; }
.check:checked, .check:active {
-gtk-icon-source: -gtk-icontheme("checkbox-checked-symbolic");
color: #000; }
.check:checked:hover, .check:active:hover {
color: #7f7f7f; }
color: #323232; }
.check:checked:insensitive, .check:active:insensitive {
color: #7f7f7f; }
.check:checked:insensitive:backdrop, .check:active:insensitive:backdrop {
@@ -1711,27 +1720,27 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
.check:checked:backdrop, .check:active:backdrop {
color: #000; }
.check:insensitive {
color: rgba(127, 127, 127, 0.1); }
color: #7f7f7f; }
.check:insensitive:backdrop {
color: transparent; }
color: #7f7f7f; }
.check:inconsistent {
-gtk-icon-source: -gtk-icontheme("checkbox-mixed-symbolic"); }
.check:backdrop {
color: rgba(0, 0, 0, 0.1); }
color: #000; }
.check:backdrop:selected {
color: rgba(255, 255, 255, 0.1); }
color: #000; }
.radio {
color: rgba(0, 0, 0, 0.1);
color: #000;
background-image: none;
-gtk-icon-source: -gtk-icontheme("radio-symbolic"); }
.radio:hover {
color: #7f7f7f; }
color: #323232; }
.radio:checked, .radio:active {
-gtk-icon-source: -gtk-icontheme("radio-checked-symbolic");
color: #000; }
.radio:checked:hover, .radio:active:hover {
color: #7f7f7f; }
color: #323232; }
.radio:checked:insensitive, .radio:active:insensitive {
color: #7f7f7f; }
.radio:checked:insensitive:backdrop, .radio:active:insensitive:backdrop {
@@ -1739,15 +1748,15 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
.radio:checked:backdrop, .radio:active:backdrop {
color: #000; }
.radio:insensitive {
color: rgba(127, 127, 127, 0.1); }
color: #7f7f7f; }
.radio:insensitive:backdrop {
color: transparent; }
color: #7f7f7f; }
.radio:inconsistent {
-gtk-icon-source: -gtk-icontheme("radio-mixed-symbolic"); }
.radio:backdrop {
color: rgba(0, 0, 0, 0.1); }
color: #000; }
.radio:backdrop:selected {
color: rgba(255, 255, 255, 0.1); }
color: #000; }
/************
* GtkScale *
@@ -1967,11 +1976,12 @@ GtkLevelBar.vertical {
.level-bar.fill-block.empty-fill-block:backdrop {
border-color: rgba(0, 0, 0, 0.15); }
.view:selected, GtkCalendar:selected, .view:selected:focus, GtkCalendar:focus:selected, .view:selected:hover, GtkCalendar:hover:selected, GtkLabel:selected, GtkLabel:selected:focus, GtkLabel:selected:hover, GtkLabel:backdrop:selected, .entry:selected, .entry:selected:focus, .menuitem.button.flat:selected, .sidebar:selected, GtkPlacesSidebar.sidebar .view:selected, GtkPlacesSidebar.sidebar GtkCalendar:selected {
.view:selected, GtkCalendar:selected, .view:selected:focus, GtkCalendar:focus:selected, .view:selected:hover, GtkCalendar:hover:selected, GtkLabel:selected, GtkLabel:selected:focus, GtkLabel:selected:hover, GtkLabel:backdrop:selected, .entry:selected, .entry:selected:focus, .menuitem.button.flat:hover, .menuitem.button.flat:selected, .sidebar:selected, GtkPlacesSidebar.sidebar .view:selected, GtkPlacesSidebar.sidebar GtkCalendar:selected {
background-color: #000;
color: #fff;
outline-color: rgba(255, 255, 255, 0.3); }
.view:backdrop:selected, GtkCalendar:backdrop:selected, GtkCalendar:backdrop:focus:selected, GtkCalendar:backdrop:hover:selected, GtkLabel:backdrop:selected, .entry:backdrop:selected, .menuitem.button.flat:backdrop:selected, .sidebar:backdrop:selected, GtkPlacesSidebar.sidebar .view:backdrop:selected, GtkPlacesSidebar.sidebar GtkCalendar:backdrop:selected {
.view:backdrop:selected, GtkCalendar:backdrop:selected, GtkCalendar:backdrop:focus:selected, GtkCalendar:backdrop:hover:selected, GtkLabel:backdrop:selected, .entry:backdrop:selected, .menuitem.button.flat:backdrop:hover, .menuitem.button.flat:backdrop:selected, .sidebar:backdrop:selected, GtkPlacesSidebar.sidebar .view:backdrop:selected, GtkPlacesSidebar.sidebar GtkCalendar:backdrop:selected {
background-color: #7f7f7f;
color: #fff; }
/**********

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

2791
po/bs.po

File diff suppressed because it is too large Load Diff

3381
po/eu.po

File diff suppressed because it is too large Load Diff

3699
po/hu.po

File diff suppressed because it is too large Load Diff

3570
po/id.po

File diff suppressed because it is too large Load Diff

4469
po/ja.po

File diff suppressed because it is too large Load Diff

1939
po/nb.po

File diff suppressed because it is too large Load Diff

4308
po/sr.po

File diff suppressed because it is too large Load Diff

6038
po/tr.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff