projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b040738
)
Fixes NB#108275, add the empty view in a viewport to add it to a pannable area
author
Sergio Villar Senin
<svillar@igalia.com>
Thu, 26 Mar 2009 12:57:35 +0000
(12:57 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Thu, 26 Mar 2009 12:57:35 +0000
(12:57 +0000)
pmo-trunk-r8420
src/hildon2/modest-header-window.c
patch
|
blob
|
history
diff --git
a/src/hildon2/modest-header-window.c
b/src/hildon2/modest-header-window.c
index
8af3094
..
59bb75a
100644
(file)
--- a/
src/hildon2/modest-header-window.c
+++ b/
src/hildon2/modest-header-window.c
@@
-377,6
+377,7
@@
create_header_view (ModestWindow *self, TnyFolder *folder)
static GtkWidget *
create_empty_view (ModestWindow *self)
{
+ GtkWidget *viewport = NULL;
GtkWidget *label = NULL;
GtkWidget *align = NULL;
GtkWidget *vbox = NULL;
@@
-412,7
+413,11
@@
create_empty_view (ModestWindow *self)
"clicked",
G_CALLBACK (modest_ui_actions_on_new_msg), self);
- return vbox;
+ viewport = gtk_viewport_new ((GtkAdjustment *) gtk_adjustment_new (0, 0, 0, 0, 0, 0),
+ (GtkAdjustment *) gtk_adjustment_new (0, 0, 0, 0, 0, 0));
+ gtk_container_add (GTK_CONTAINER (viewport), vbox);
+
+ return viewport;
}
static void