[gnome-contacts] Remove leftover css cruft from old contact frame design
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Remove leftover css cruft from old contact frame design
- Date: Tue, 23 Aug 2011 12:55:34 +0000 (UTC)
commit 3d69f965fe9fc22a3c26b80047ec1c5e50756014
Author: Alexander Larsson <alexl redhat com>
Date: Tue Aug 23 09:46:04 2011 +0200
Remove leftover css cruft from old contact frame design
data/gnome-contacts.css | 12 ------------
src/contacts-contact-pane.vala | 6 ++----
2 files changed, 2 insertions(+), 16 deletions(-)
---
diff --git a/data/gnome-contacts.css b/data/gnome-contacts.css
index 06ba4d2..a688b4c 100644
--- a/data/gnome-contacts.css
+++ b/data/gnome-contacts.css
@@ -12,18 +12,6 @@ ContactsListPane GtkTreeView {
-GtkTreeView-vertical-separator: 4;
}
-.contact-frame {
- border-color: #888a85;
- border-style: solid;
- border-radius: 5;
- border-width: 2;
- padding: 2;
-}
-
-.contact-frame {
- color: #ffffff;
-}
-
.contact-button:active {
border-color: #000000;
border-image: none;
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index f3fa60d..1471cd7 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -189,8 +189,6 @@ public class Contacts.ContactFrame : Frame {
var image = new Image ();
image.set_size_request (size, size);
this.add (image);
-
- //get_style_context ().add_class ("contact-frame");
set_shadow_type (ShadowType.NONE);
}
@@ -199,8 +197,8 @@ public class Contacts.ContactFrame : Frame {
if (details != null &&
details.avatar != null) {
try {
- var stream = details.avatar.load (size, null);
- pixbuf = new Gdk.Pixbuf.from_stream_at_scale (stream, size, size, true);
+ var stream = details.avatar.load (size, null);
+ pixbuf = new Gdk.Pixbuf.from_stream_at_scale (stream, size, size, true);
}
catch {
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]