diff options
author | Christian Grothoff <christian@grothoff.org> | 2007-06-03 06:27:34 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2007-06-03 06:27:34 +0000 |
commit | 1f24dfcf07e600286cfb79ce77d0a1b5b972ddcb (patch) | |
tree | 367d6e88fba446f570a8963ebb7f22275029319f | |
parent | af489bc664220db36a786a54bfe11c2399f5a284 (diff) | |
download | gnunet-gtk-1f24dfcf07e600286cfb79ce77d0a1b5b972ddcb.tar.gz gnunet-gtk-1f24dfcf07e600286cfb79ce77d0a1b5b972ddcb.zip |
nicer open directory
-rw-r--r-- | TODO | 20 | ||||
-rw-r--r-- | src/plugins/fs/directory.c | 17 |
2 files changed, 24 insertions, 13 deletions
@@ -15,21 +15,15 @@ Notes: | |||
15 | => currently, "infoMessage" opens a window that cannot be closed | 15 | => currently, "infoMessage" opens a window that cannot be closed |
16 | and that does not have a frame!!! [RC] | 16 | and that does not have a frame!!! [RC] |
17 | - re-enable advanced/namespace menus [RC] | 17 | - re-enable advanced/namespace menus [RC] |
18 | + namespace addition | 18 | + namespace addition => untested |
19 | => untested | 19 | + namespace update => FIX implementation! |
20 | + namespace update | 20 | + namespace search => FIX implementation (list namespaces!) |
21 | => FIX implementation! | ||
22 | + namespace search | ||
23 | => FIX implementation (list namespaces!) | ||
24 | + design and start use of short/nice namespace names/search URIs | 21 | + design and start use of short/nice namespace names/search URIs |
25 | - re-enable advanced/collection menus | 22 | - re-enable advanced/collection menus |
26 | + collection creation | 23 | + collection creation => untested |
27 | => untested | 24 | + collection abortion => untested |
28 | + collection abortion | 25 | + collection "start"/"stop" menu item sensitivity => untested |
29 | => untested | 26 | + show content of current collection (where!?) => do implementation |
30 | + enable collection "start"/"delete" menu item sensitivity when it makes sense! | ||
31 | => untested | ||
32 | + show content of current collection (where!?) | ||
33 | 27 | ||
34 | 28 | ||
35 | 0.7.3 (goal: polish): | 29 | 0.7.3 (goal: polish): |
diff --git a/src/plugins/fs/directory.c b/src/plugins/fs/directory.c index 5f030368..f4d4cace 100644 --- a/src/plugins/fs/directory.c +++ b/src/plugins/fs/directory.c | |||
@@ -89,6 +89,7 @@ void on_open_menu_activate_fs(GtkWidget * dummy1, | |||
89 | SearchList * list; | 89 | SearchList * list; |
90 | struct ECRS_URI * uri; | 90 | struct ECRS_URI * uri; |
91 | const char * kws[2]; | 91 | const char * kws[2]; |
92 | GtkNotebook * notebook; | ||
92 | 93 | ||
93 | dn = selectFile(); | 94 | dn = selectFile(); |
94 | if (dn == NULL) | 95 | if (dn == NULL) |
@@ -149,6 +150,22 @@ void on_open_menu_activate_fs(GtkWidget * dummy1, | |||
149 | MUNMAP(directory_data, dlen); | 150 | MUNMAP(directory_data, dlen); |
150 | CLOSE(fd); | 151 | CLOSE(fd); |
151 | FREE(dn); | 152 | FREE(dn); |
153 | |||
154 | /* switch view -- select directory */ | ||
155 | notebook | ||
156 | = GTK_NOTEBOOK(glade_xml_get_widget(getMainXML(), | ||
157 | "downloadNotebook")); | ||
158 | gtk_notebook_set_current_page(notebook, | ||
159 | gtk_notebook_page_num(notebook, | ||
160 | list->searchpage)); | ||
161 | |||
162 | notebook | ||
163 | = GTK_NOTEBOOK(glade_xml_get_widget(getMainXML(), | ||
164 | "fsnotebook")); | ||
165 | gtk_notebook_set_current_page(notebook, | ||
166 | gtk_notebook_page_num(notebook, | ||
167 | glade_xml_get_widget(getMainXML(), | ||
168 | "fsdownloadvbox"))); | ||
152 | } | 169 | } |
153 | 170 | ||
154 | /* end of directory.c */ | 171 | /* end of directory.c */ |