[gnome-contacts] Use header bar in the avatar dialog
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Use header bar in the avatar dialog
- Date: Wed, 9 Apr 2014 17:47:37 +0000 (UTC)
commit 052eeb403259410b63d66bb75104c9a54f96de8b
Author: Yosef Or Boczko <yoseforb src gnome org>
Date: Wed Apr 9 20:42:38 2014 +0300
Use header bar in the avatar dialog
https://bugzilla.gnome.org/show_bug.cgi?id=727680
src/contacts-avatar-dialog.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/contacts-avatar-dialog.vala b/src/contacts-avatar-dialog.vala
index 53025f4..8726e91 100644
--- a/src/contacts-avatar-dialog.vala
+++ b/src/contacts-avatar-dialog.vala
@@ -239,12 +239,13 @@ public class Contacts.AvatarDialog : Dialog {
}
public AvatarDialog (Contact contact) {
+ Object (use_header_bar: 1);
+
thumbnail_factory = new Gnome.DesktopThumbnailFactory (Gnome.ThumbnailSize.NORMAL);
this.contact = contact;
set_title (_("Select Picture"));
set_transient_for (App.app.window);
set_modal (true);
- add_buttons (_("Close"), ResponseType.CLOSE, null);
var grid = new Grid ();
grid.set_border_width (8);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]