[gnome-applets] tracker-search-bar: give all space to scrolled window or label
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] tracker-search-bar: give all space to scrolled window or label
- Date: Tue, 29 Dec 2020 17:46:10 +0000 (UTC)
commit 526a8ebe2aa02cd2c00a819ebc268daea8e6dc01
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Tue Dec 29 19:43:30 2020 +0200
tracker-search-bar: give all space to scrolled window or label
Otherwise scrolled window does not use all allocated height.
gnome-applets/tracker-search-bar/tracker-results-window.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-applets/tracker-search-bar/tracker-results-window.c
b/gnome-applets/tracker-search-bar/tracker-results-window.c
index b74b278fc..617754fe3 100644
--- a/gnome-applets/tracker-search-bar/tracker-results-window.c
+++ b/gnome-applets/tracker-search-bar/tracker-results-window.c
@@ -407,7 +407,7 @@ tracker_results_window_init (TrackerResultsWindow *self)
gtk_widget_show (vbox);
self->scrolled_window = gtk_scrolled_window_new (NULL, NULL);
- gtk_container_add (GTK_CONTAINER (vbox), self->scrolled_window);
+ gtk_box_pack_start (GTK_BOX (vbox), self->scrolled_window, TRUE, TRUE, 0);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (self->scrolled_window),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
@@ -420,7 +420,7 @@ tracker_results_window_init (TrackerResultsWindow *self)
self->label = gtk_label_new (NULL);
gtk_widget_set_sensitive (self->label, FALSE);
- gtk_container_add (GTK_CONTAINER (vbox), self->label);
+ gtk_box_pack_start (GTK_BOX (vbox), self->label, TRUE, TRUE, 0);
self->icon_theme = gtk_icon_theme_get_default ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]