SHA256
1
0
forked from pool/polari

Accepting request 332885 from GNOME:Factory

Update to 3.18.0 (forwarded request 332793 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/332885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polari?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2015-10-06 14:28:20 +00:00 committed by Git OBS Bridge
commit 4571a69c95
5 changed files with 64 additions and 47 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1d37a66db4c8763ca04de0adca92290ac34ca65f69b5fbfd6c044f746261f070
size 437300

3
polari-3.18.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b98c820a1e9a25a0f3a927e8d4ba8400296041f783301a764e37840c7ef6018
size 474352

View File

@ -1,39 +0,0 @@
From 1ac95a6b087fd929b48a9f3a90eb81bb76abbf72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bastian=20Ils=C3=B8?= <bastianilso@src.gnome.org>
Date: Wed, 15 Apr 2015 20:55:09 +0200
Subject: chatView: switch away from deprecated API
The chat view is currently using the selection background color for
nick names. However as gtk_style_context_get_background_color() has been
deprecated in GTK+ 3.16, use the foreground color for the LINK state
instead, which should be identical for the default theme.
https://bugzilla.gnome.org/show_bug.cgi?id=747942
diff --git a/src/chatView.js b/src/chatView.js
index a915620..04e1a07 100644
--- a/src/chatView.js
+++ b/src/chatView.js
@@ -187,18 +187,13 @@ const ChatView = new Lang.Class({
let dimColor = context.get_color(Gtk.StateFlags.NORMAL);
context.restore();
- context.save();
- context.add_class('view');
- let selectedColor = context.get_background_color(Gtk.StateFlags.SELECTED);
- context.restore();
-
let linkColor = context.get_color(Gtk.StateFlags.LINK);
let buffer = this._view.get_buffer();
let tagTable = buffer.get_tag_table();
let tags = [
{ name: 'nick',
- foreground_rgba: selectedColor },
+ foreground_rgba: linkColor },
{ name: 'status',
foreground_rgba: dimColor },
{ name: 'timestamp',
--
cgit v0.10.2

View File

@ -1,3 +1,62 @@
-------------------------------------------------------------------
Tue Sep 22 06:28:21 UTC 2015 - dimstar@opensuse.org
- Update to version 3.18.0:
+ Updated translations.
-------------------------------------------------------------------
Wed Sep 16 17:55:19 UTC 2015 - dimstar@opensuse.org
- Update to version 3.17.92:
+ Misc fixes: bgo#754916.
+ Updated translations.
-------------------------------------------------------------------
Wed Sep 2 08:21:32 UTC 2015 - zaitor@opensuse.org
- Update to version 3.17.91:
+ Misc. bug fixes and cleanups.
+ Updated translations.
-------------------------------------------------------------------
Thu Aug 20 15:12:49 UTC 2015 - zaitor@opensuse.org
- Update to version 3.17.90:
+ Clear pending messages indication while offline (bgo#753050).
+ Indicate account errors in room list.
+ Re-enable updated paste service integration (bgo#725088).
+ Misc. bug fixes and cleanups (bgo#753335).
+ Updated translations.
-------------------------------------------------------------------
Thu Aug 6 10:52:30 UTC 2015 - zaitor@opensuse.org
- Update to version 3.17.4:
+ Add empty state to assist with initial setup (bgo#711832).
+ Fix observing channels from other handlers (bgo#752422).
+ Update new-message indicator to clarify its purpose
(bgo#751542).
+ Misc. bug fixes: bgo#733327, bgo#752968, bgo#750689.
+ Updated translations.
-------------------------------------------------------------------
Fri Jul 17 16:36:44 UTC 2015 - zaitor@opensuse.org
- Update to version 3.17.3:
+ Color contact availability in private chats (bgo#748703).
+ Updated translations.
-------------------------------------------------------------------
Sat May 2 20:10:03 UTC 2015 - zaitor@opensuse.org
- Update to version 3.17.1:
+ Improve readability of room list in backdrop state
(bgo#711854).
+ Distinguish offline nick names in chat log (bgo#710792).
+ Misc. bug fixes and cleanups (bgo#747942).
- Drop polari-chatView-switch-away-from-deprecated-API.patch: Fixed
upstream.
-------------------------------------------------------------------
Sat May 2 11:52:52 UTC 2015 - zaitor@opensuse.org

View File

@ -18,15 +18,13 @@
Name: polari
Version: 3.16.1
Version: 3.18.0
Release: 0
Summary: An IRC Client for GNOME
License: GPL-2.0+ and LGPL-2.1+
Group: Productivity/Networking/IRC
Url: http://wiki.gnome.org/Apps/Polari
Source0: http://download.gnome.org/sources/polari/3.16/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM polari-chatView-switch-away-from-deprecated-API.patch bgo#747942 zaitor@opensuse.org -- No longer use deprecated API, patch from upstream git, stable branch.
Patch0: polari-chatView-switch-away-from-deprecated-API.patch
Source0: http://download.gnome.org/sources/polari/3.18/%{name}-%{version}.tar.xz
BuildRequires: gjs
BuildRequires: hicolor-icon-theme
BuildRequires: intltool >= 0.50.0
@ -55,7 +53,6 @@ with GNOME 3.
%lang_package
%prep
%setup -q
%patch0 -p1
%build
%configure