[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: gaf.git: branch: master updated (1.7.0-20110116-70-g2dfb554)



The branch, master has been updated
       via  2dfb5547bdf486ca4375af9e73cbe318768cb59f (commit)
      from  962d859870fc45f741df478b000cbb435d422b84 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 gschem/src/x_menus.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


=================
 Commit Messages
=================

commit 2dfb5547bdf486ca4375af9e73cbe318768cb59f
Author: Krzysztof KoÅ?ciuszkiewicz <k.kosciuszkiewicz@xxxxxxxxx>
Commit: Krzysztof KoÅ?ciuszkiewicz <k.kosciuszkiewicz@xxxxxxxxx>

    gschem: recent file list checks file extensions
    
    In the recently used files both symbol and schematic files are shown.
    Change the filtering method, so recently used files are chosen not only
    by MIME type, but also by the file extension as well.
    
    Rationale: if gEDA is installed in a location other than default (say in
    users home dir), the MIME type databases will not be updated and list
    of recently used files will always be empty.

:100644 100644 3543abd... eff2516... M	gschem/src/x_menus.c

=========
 Changes
=========

commit 2dfb5547bdf486ca4375af9e73cbe318768cb59f
Author: Krzysztof KoÅ?ciuszkiewicz <k.kosciuszkiewicz@xxxxxxxxx>
Commit: Krzysztof KoÅ?ciuszkiewicz <k.kosciuszkiewicz@xxxxxxxxx>

    gschem: recent file list checks file extensions
    
    In the recently used files both symbol and schematic files are shown.
    Change the filtering method, so recently used files are chosen not only
    by MIME type, but also by the file extension as well.
    
    Rationale: if gEDA is installed in a location other than default (say in
    users home dir), the MIME type databases will not be updated and list
    of recently used files will always be empty.

diff --git a/gschem/src/x_menus.c b/gschem/src/x_menus.c
index 3543abd..eff2516 100644
--- a/gschem/src/x_menus.c
+++ b/gschem/src/x_menus.c
@@ -401,6 +401,8 @@ void x_menu_attach_recent_files_submenu(GSCHEM_TOPLEVEL *w_current)
   recent_filter = gtk_recent_filter_new();
   gtk_recent_filter_add_mime_type(recent_filter, "application/x-geda-schematic");
   gtk_recent_filter_add_mime_type(recent_filter, "application/x-geda-symbol");
+  gtk_recent_filter_add_pattern(recent_filter, "*.sch");
+  gtk_recent_filter_add_pattern(recent_filter, "*.sym");
   gtk_recent_chooser_add_filter(GTK_RECENT_CHOOSER(menuitem_file_recent_items), recent_filter);
 
   gtk_recent_chooser_set_show_tips(GTK_RECENT_CHOOSER(menuitem_file_recent_items), TRUE);



_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs