[gnome-documents] searchbar: link entry and dropdown button
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] searchbar: link entry and dropdown button
- Date: Fri, 22 Feb 2013 18:09:08 +0000 (UTC)
commit d16f0bed75b25779991139e1f3290dc035633cd2
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Feb 22 13:05:32 2013 -0500
searchbar: link entry and dropdown button
https://bugzilla.gnome.org/show_bug.cgi?id=687645
src/searchbar.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/searchbar.js b/src/searchbar.js
index efd4054..9dde42d 100644
--- a/src/searchbar.js
+++ b/src/searchbar.js
@@ -318,6 +318,8 @@ const OverviewSearchbar = new Lang.Class({
// create the dropdown button
this._dropdownButton = new Gtk.ToggleButton(
{ child: new Gtk.Arrow({ arrow_type: Gtk.ArrowType.DOWN }) });
+ this._dropdownButton.get_style_context().add_class('raised');
+ this._dropdownButton.get_style_context().add_class('image-button');
this._dropdownButton.connect('toggled', Lang.bind(this,
function() {
let active = this._dropdownButton.get_active();
@@ -333,6 +335,7 @@ const OverviewSearchbar = new Lang.Class({
this._searchContainer = new Gtk.Box({ orientation: Gtk.Orientation.HORIZONTAL,
halign: Gtk.Align.CENTER });
+ this._searchContainer.get_style_context().add_class('linked');
this._searchContainer.add(this._searchEntry);
this._searchContainer.add(this._dropdownButton);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]