[gthumb] removed the viewport because the empty list must not be scrollable
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] removed the viewport because the empty list must not be scrollable
- Date: Thu, 17 Nov 2011 17:29:58 +0000 (UTC)
commit 13f41c38d4bb8ec6deb5bf5f25da69c3faed8198
Author: Paolo Bacchilega <paobac src gnome org>
Date: Thu Nov 17 18:13:41 2011 +0100
removed the viewport because the empty list must not be scrollable
gthumb/gth-file-list.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/gthumb/gth-file-list.c b/gthumb/gth-file-list.c
index c6fcbfb..7a00be1 100644
--- a/gthumb/gth-file-list.c
+++ b/gthumb/gth-file-list.c
@@ -631,7 +631,6 @@ gth_file_list_construct (GthFileList *file_list,
GthFileListType list_type,
gboolean enable_drag_drop)
{
- GtkWidget *viewport;
GtkCellRenderer *renderer;
GthFileStore *model;
GtkCellLayout *cell_layout;
@@ -645,9 +644,6 @@ gth_file_list_construct (GthFileList *file_list,
/* the message pane */
- viewport = gtk_viewport_new (NULL, NULL);
- gtk_viewport_set_shadow_type (GTK_VIEWPORT (viewport), GTK_SHADOW_ETCHED_IN);
-
file_list->priv->message = gth_empty_list_new (_(EMPTY));
/* the file view */
@@ -776,10 +772,7 @@ gth_file_list_construct (GthFileList *file_list,
gtk_container_add (GTK_CONTAINER (file_list->priv->notebook), file_list->priv->scrolled_window);
gtk_widget_show (file_list->priv->message);
- gtk_container_add (GTK_CONTAINER (viewport), file_list->priv->message);
-
- gtk_widget_show (viewport);
- gtk_container_add (GTK_CONTAINER (file_list->priv->notebook), viewport);
+ gtk_container_add (GTK_CONTAINER (file_list->priv->notebook), file_list->priv->message);
gtk_widget_show (file_list->priv->notebook);
gtk_box_pack_start (GTK_BOX (file_list), file_list->priv->notebook, TRUE, TRUE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]