projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
094f45e
)
* Follow the 30/70 rule for the main paned separation position when there is no...
author
Sergio Villar Senin
<svillar@igalia.com>
Wed, 13 Jun 2007 13:35:31 +0000
(13:35 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Wed, 13 Jun 2007 13:35:31 +0000
(13:35 +0000)
pmo-trunk-r2207
src/modest-widget-memory.c
patch
|
blob
|
history
diff --git
a/src/modest-widget-memory.c
b/src/modest-widget-memory.c
index
a5ceb76
..
6b4b13b
100644
(file)
--- a/
src/modest-widget-memory.c
+++ b/
src/modest-widget-memory.c
@@
-241,6
+241,9
@@
restore_settings_paned (ModestConf *conf, GtkPaned *paned, const gchar *name)
if (modest_conf_key_exists (conf, key, NULL)) {
pos = modest_conf_get_int (conf, key, NULL);
gtk_paned_set_position (paned, pos);
+ } else {
+ /* The initial position must follow the 30/70 rule */
+ gtk_paned_set_position (paned, GTK_WIDGET(paned)->requisition.width/3);
}
g_free (key);