gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r4905 - in gnunet-gtk: . src/plugins/fs


From: gnunet
Subject: [GNUnet-SVN] r4905 - in gnunet-gtk: . src/plugins/fs
Date: Sun, 3 Jun 2007 00:27:34 -0600 (MDT)

Author: grothoff
Date: 2007-06-03 00:27:34 -0600 (Sun, 03 Jun 2007)
New Revision: 4905

Modified:
   gnunet-gtk/TODO
   gnunet-gtk/src/plugins/fs/directory.c
Log:
nicer open directory

Modified: gnunet-gtk/TODO
===================================================================
--- gnunet-gtk/TODO     2007-06-03 03:46:55 UTC (rev 4904)
+++ gnunet-gtk/TODO     2007-06-03 06:27:34 UTC (rev 4905)
@@ -15,21 +15,15 @@
   => currently, "infoMessage" opens a window that cannot be closed
      and that does not have a frame!!! [RC]
 - re-enable advanced/namespace menus  [RC]
-  + namespace addition
-    => untested
-  + namespace update
-    => FIX implementation!
-  + namespace search
-    => FIX implementation (list namespaces!)
+  + namespace addition  => untested
+  + namespace update    => FIX implementation!
+  + namespace search    => FIX implementation (list namespaces!)
   + design and start use of short/nice namespace names/search URIs
 - re-enable advanced/collection menus
-  + collection creation
-    => untested
-  + collection abortion
-    => untested
-  + enable collection "start"/"delete" menu item sensitivity when it makes 
sense!
-    => untested
-  + show content of current collection (where!?)
+  + collection creation => untested
+  + collection abortion => untested
+  + collection "start"/"stop" menu item sensitivity => untested
+  + show content of current collection (where!?) => do implementation
 
 
 0.7.3 (goal: polish):

Modified: gnunet-gtk/src/plugins/fs/directory.c
===================================================================
--- gnunet-gtk/src/plugins/fs/directory.c       2007-06-03 03:46:55 UTC (rev 
4904)
+++ gnunet-gtk/src/plugins/fs/directory.c       2007-06-03 06:27:34 UTC (rev 
4905)
@@ -89,6 +89,7 @@
   SearchList * list;
   struct ECRS_URI * uri;
   const char * kws[2];
+  GtkNotebook * notebook;
 
   dn = selectFile();
   if (dn == NULL)
@@ -149,6 +150,22 @@
   MUNMAP(directory_data, dlen);
   CLOSE(fd);
   FREE(dn);
+
+  /* switch view -- select directory */
+  notebook
+    = GTK_NOTEBOOK(glade_xml_get_widget(getMainXML(),
+                                       "downloadNotebook"));
+  gtk_notebook_set_current_page(notebook,
+                               gtk_notebook_page_num(notebook,
+                                                     list->searchpage));
+  
+  notebook
+    = GTK_NOTEBOOK(glade_xml_get_widget(getMainXML(),
+                                       "fsnotebook"));
+  gtk_notebook_set_current_page(notebook,
+                               gtk_notebook_page_num(notebook,
+                                                     
glade_xml_get_widget(getMainXML(),
+                                                                          
"fsdownloadvbox")));  
 }
 
 /* end of directory.c */





reply via email to

[Prev in Thread] Current Thread [Next in Thread]