summaryrefslogtreecommitdiff
path: root/capplets
Commit message (Collapse)AuthorAgeFilesLines
* Update Makefile.am's for capplets to use libcapplet/ directoryBradford Hovinen (Gdict maintainer)2000-08-115-15/+15
| | | | Rewrote most of gnomecc
* Remove extraneous whitespace and replace tabs with spacesBradford Hovinen2000-08-102-2/+23
| | | | | | | 2000-08-10 Bradford Hovinen <hovinen@helixcode.com> * resources.c (screensaver_get_desc_from_xrdb): Remove extraneous whitespace and replace tabs with spaces
* Added ant.xml, bsod.xml, compass.xml, and flag.xml (courtesy of JamesBradford Hovinen2000-08-106-1/+178
| | | | | | | | 2000-08-10 Bradford Hovinen <hovinen@helixcode.com> * screensavers/Makefile.am (Screensavers_DATA): Added ant.xml, bsod.xml, compass.xml, and flag.xml (courtesy of James Antill <james@and.org>)
* Fix memory leak (read_select): Disable all widgets associated withBradford Hovinen2000-08-102-9/+24
| | | | | | | | | | 2000-08-10 Bradford Hovinen <hovinen@helixcode.com> * screensaver-prefs-dialog.c (write_command_line): Fix memory leak (read_select): Disable all widgets associated with unselected nodes before enabling those associated with selected one (read_select): Don't iterate through menu items (read_number): Don't crash if person used bad argument
* Have string -> boolean conversion always convert to FALSEBradford Hovinen2000-08-102-3/+13
| | | | | | | | | 2000-08-10 Bradford Hovinen <hovinen@helixcode.com> * expr.c (int_parse_atom): Have string -> boolean conversion always convert to FALSE (int_parse_factor): Set result to boolean TRUE when symbol of value 1 encountered.
* Map window before showing screensaver (close_preview): Unmap window afterBradford Hovinen2000-08-102-0/+7
| | | | | | | 2000-08-10 Bradford Hovinen <hovinen@helixcode.com> * preview.c (show_preview): Map window before showing screensaver (close_preview): Unmap window after killing screensaver
* Added public interface get_screensaver_dir_listBradford Hovinen (Gdict maintainer)2000-08-091-0/+2
|
* Use get_screensaver_dir_list; iterate through all the directories listedBradford Hovinen2000-08-093-15/+35
| | | | | | | | | | | 2000-08-09 Bradford Hovinen <hovinen@helixcode.com> * preview.c (setup_path): Use get_screensaver_dir_list; iterate through all the directories listed in list; use g_getenv * rc-parse.c (get_screensaver_dir_list): Make public, cache return value (command_exists): Don't cache screensaver_dir_list
* Implement. Get a list of possible directories where screensavers may beBradford Hovinen2000-08-092-7/+62
| | | | | | | | | | 2000-08-09 Bradford Hovinen <hovinen@helixcode.com> * rc-parse.c (get_screensaver_dir_list): Implement. Get a list of possible directories where screensavers may be found by scanning the XScreensaver binary. (command_exists): Search through list of screensaver directories from get_screensaver_dir_list rather than using the hardcoded one
* A new application registry. The parsing is based upon mime-info. TheGeorge Lebl2000-08-091-15/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Aug 08 23:18:49 2000 George Lebl <jirka@5z.com> * libgnomevfs/Makefile.am, libgnomevfs/gnome-vfs-application-registry.[ch]: A new application registry. The parsing is based upon mime-info. The interface completely hides any structures and is based entierly on querying string keys. Handles user settings as a delta against the system settings. Also adds mime_types list support to the registry instead of this being read from the keys file. * libgnomevfs/gnome-vfs-mime-handlers.[ch] (gnome_vfs_mime_get_default_application) (gnome_vfs_mime_get_short_list_applications) (gnome_vfs_mime_get_all_applications) (gnome_vfs_mime_extend_all_applications) (gnome_vfs_mime_remove_from_all_applications) (gnome_vfs_mime_application_new_from_id) (application_known_to_be_nonexistent): Use the application registry API internally. Remove the gnome_vfs_mime_define_application call as it doesn't make any sesnse any more and is replaced by an application registry call. The all_applications calls now use the registry api for all their work. * libgnomevfs/gnome-vfs-mime-info.c (load_mime_type_info_from): Fix a bug where comments would only be ignored on the first line which would add nonsense mime types if comments were elsewhere in the file. * mime-type-capplet/nautilus-mime-type-capplet-dialogs.c (add_new_application) test/test-mime-handlers-set.c (main): Use the application registry for adding new applications * data/mime/Makefile.am, data/mime/gnome-vfs.keys, data/mime/gnome-vfs.applications, data/mime/application-registry-hack.keys: Remove the registry hack stuff, remove all_applications stuff from gnome-vfs.keys and add the applications from the registry hack to gnome-vfs.applications including the mime types they read.
* Move include of sys/types.h above include of regex.h to fix building onMaciej Stachowiak2000-08-091-1/+1
| | | | | | * mime-type-capplet/nautilus-mime-type-capplet.c: Move include of sys/types.h above include of regex.h to fix building on FreeBSD. Fix from Bill Huey <billh@gnuppy.monkey.org>.
* nautilus-mime-type-icon-entry.h was forgottenEAZEL-NAUTILUS-MS-AUG07Robin Slomkowski2000-08-081-0/+1
|
* Added additional section on arithmetic expressionsBradford Hovinen (Gdict maintainer)2000-08-081-0/+20
|
* Added READMEBradford Hovinen2000-08-074-1/+134
| | | | | | 2000-08-07 Bradford Hovinen <hovinen@helixcode.com> * screensavers/Makefile.am (EXTRA_DIST): Added README
* Allow values of multiple typesBradford Hovinen2000-08-074-55/+176
| | | | | | | | 2000-08-07 Bradford Hovinen <hovinen@helixcode.com> * expr.c: Allow values of multiple types * main.c (main): Don't initialize glade
* Free structures only if they were ever allocatedBradford Hovinen2000-08-0714-1237/+1092
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-07 Bradford Hovinen <hovinen@helixcode.com> * screensaver-prefs-dialog.c (screensaver_prefs_dialog_destroy): Free structures only if they were ever allocated * selection-dialog.c (get_known_savers): Implement. Read the screensaver directory for a list of valid screensavers (place_screensaver_list): Use known_savers rather than XML data * preferences.c (screensaver_get_label): Implement. Copy from get_label in resources.c * prefs-widget.c (deselect_saver_cb): Toggle only if event was a mouse button press, not a keyboard press (prefs_widget_init): Change vertical size of preview window to 200 (prefs_widget_init): Use a table for the buttons below the screensaver list (prefs_widget_init): Change label of edit button to Settings... (prefs_widget_init): Don't have description and preview frames expand, have selection frame expand * Makefile.am (screensaver_properties_capplet_LDADD): Don't link against glade (INCLUDES): Don't set glade compilation flags * screensaver-prefs-dialog.c (get_select_widget): Show menu item (populate_table): Don't skip hgroups that lack ids (place_number): (place_boolean): Attach items with GTK_FILL (get_check_button): (get_select_widget): Set object data to point back to dialog (populate_table): Pass dialog, remove extraneous arguments (get_check_button): Connect toggled signal from here (get_select_widget): Set data and connect activate signals from here (place_number): Set default from default attribute (get_spinbutton): Set step_increment, page_increment, and page_size on adjustment (get_spinbutton): (place_number): Set default to average of high and low if not supplied (get_argument_data): Add i18n support (read_boolean): (read_number): (read_select): (write_boolean): (write_number): (write_select): Check if id is NULL before trying to look up a node (screensaver_prefs_dialog_new): Make sure CLI arguments and XML data were read successfully before trying to build the widget (get_argument_data): Return pointer to document rather than root node (screensaver_prefs_dialog_new): Set argument_data from argument_doc (screensaver_prefs_dialog_class_init): Set parent_class (screensaver_prefs_dialog_destroy): Implement; free all structures (free_set_cb): Implement (write_number): Don't assume correct format on the output string; just replace the '%' with the appropriate argument (write_command_line): Free arg iff generated from number 2000-08-06 Bradford Hovinen <hovinen@helixcode.com> * screensaver-prefs-dialog.c (get_screensaver_widget): Accept ScreensaverPrefsDialog as option (get_argument_data): Assume one file per screensaver (get_spinbutton): (get_check_button): (get_select_widget): (place_number): (place_boolean): (place_hgroup): (place_select): (populate_table): Implement (get_screensaver_widget): Rewrite to build screensaver config dialogs manually from the XML data (activate_option_cb): (toggle_check_cb): Pass dialog to set_widgets_sensitive (set_widgets_sensitive): Rewrite to use dialog->widget_db (write_boolean): (write_number): (write_select): Use widget_db (write_select): (write_command_line): Don't check no-output (write_command_line): Pass widget_db (read_boolean): (read_number): (read_select): Use widget_db (place_screensaver_properties): Pass dialog->widget_db to above functions (arg_mapping_exists): Use XML file rather than Glade definition (screensaver_prefs_dialog_new): Initialize settings_widget with the widget to be placed in the settings frame (place_screensaver_properties): Take xml node; process hgroups recursively (write_command_line): Process hgroups recursively (read_boolean): (read_number): (read_select): Check if set and set->value_widget are set before proceeding * screensaver-prefs-dialog.h (struct _PrefsDialogConfigOption): New structure (struct _ScreensaverPrefsDialog ): New member widget_db -- key-value database of PrefsDialogConfigOptions indexed by id attribute from XML
* Fixed bug 1837, The icon in the action list item should represent the itemEAZEL_NAUTILUS_DEMO_2_ANCHORGene Z. Ragan2000-08-021-12/+13
| | | | | | | | | | | 2000-08-02 Gene Z. Ragan <gzr@eazel.com> Fixed bug 1837, The icon in the action list item should represent the item in the list. * mime-type-capplet/nautilus-mime-type-capplet.c: (populate_mime_list): Load icon and display based on action.
* Fixed bug 1836, Description list item icon wrong.Gene Z. Ragan2000-08-021-25/+78
| | | | | | | | | | | | | | 2000-08-02 Gene Z. Ragan <gzr@eazel.com> Fixed bug 1836, Description list item icon wrong. * mime-type-capplet/nautilus-mime-type-capplet.c: (populate_mime_list), (gdk_font_get_bold), Set up proper and scaled description column icon. (capplet_gdk_pixbuf_scale_to_fit): New function that scales an gdk-pixbuf to the requested width and height. Copied from libnautilus.
* Added screensaver properties cappletBradford Hovinen (Gdict maintainer)2000-07-314-0/+944
|
* Added new screensaver properties cappletBradford Hovinen (Gdict maintainer)2000-07-3129-0/+7468
|
* changed oaf_server_info_attr_lookup calls to oaf_server_info_prop_lookupERDI Gergo2000-07-301-3/+3
| | | | | | | | 2000-07-30 ERDI Gergo <cactus@cactus.rulez.org> * mime-type-capplet/nautilus-mime-type-capplet-dialogs.c (name_from_oaf_server_info): changed oaf_server_info_attr_lookup calls to oaf_server_info_prop_lookup
* New function to set the font of a widget to bold. These were borrowed fromGene Z. Ragan2000-07-281-3/+146
| | | | | | | | | | 2000-07-28 Gene Z. Ragan <gzr@eazel.com> * mime-type-capplet/nautilus-mime-type-capplet.c: (init_mime_capplet), (pixmap_file), (gtk_widget_make_bold), (gtk_widget_set_font), (gtk_style_set_font), (gdk_font_get_bold): New function to set the font of a widget to bold. These were borrowed from libnautilus-extensions.
* Added the Turkish entries for the mime-type-capplet.desktopFatih Demir2000-07-241-0/+2
|
* New API to get and set icon data.Gene Z. Ragan2000-07-154-30/+873
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-14 Gene Z. Ragan <gzr@eazel.com> * libgnomevfs/gnome-vfs-mime-handlers.c: * libgnomevfs/gnome-vfs-mime-handlers.h: (gnome_vfs_mime_get_icon), (gnome_vfs_mime_set_icon): New API to get and set icon data. * mime-type-capplet/Makefile.am: Added new file mime-type-capplet/nautilus-mime-type-icon-entry.c * mime-type-capplet/nautilus-mime-type-icon-entry.c: * mime-type-capplet/nautilus-mime-type-icon-entry.h: (nautilus_mime_type_icon_entry_get_type), (nautilus_mime_type_icon_entry_class_init), (entry_changed), (entry_activated), (setup_preview), (ientry_destroy), (browse_clicked), (icon_selected_cb), (cancel_pressed), (gil_icon_selected_cb), (nautilus_mime_type_show_icon_selection), (drag_data_received), (drag_data_get), (nautilus_mime_type_icon_entry_init), (nautilus_mime_type_icon_entry_new), (nautilus_mime_type_icon_entry_gnome_file_entry), (nautilus_mime_type_icon_entry_gnome_entry), (nautilus_mime_type_icon_entry_gtk_entry), (nautilus_mime_type_icon_entry_set_pixmap_subdir), (nautilus_mime_type_icon_entry_set_icon), (nautilus_mime_type_icon_entry_get_filename): New file. This is a new verison of GnomeIconEntry. I am customizing it to look and bahve in a way that is compatible with Arlo's UI reccomendations. * mime-type-capplet/nautilus-mime-type-capplet.c: (mime_list_selected_row_callback), (icon_changed), (change_icon_clicked), (init_mime_capplet), (nautilus_mime_type_capplet_update_info), (populate_mime_list): More UI cleanups. Removed GnomeIconEntry and replaced with new NautilusMimeTypeIconEntry.
* yet agin a fix to make it compile in strange prefixes.Mathieu Lacage2000-07-151-10/+12
|
* Changed code to used renamed gnome_vfs_mime_extensions_list_freeGene Z. Ragan2000-07-081-22/+65
| | | | | | | | | | | | | | | | | | | | | | 2000-07-07 Gene Z. Ragan <gzr@eazel.com> * libgnomevfs/gnome-vfs-mime-handlers.c: (gnome_vfs_mime_add_extension), (gnome_vfs_mime_remove_extension): Changed code to used renamed gnome_vfs_mime_extensions_list_free * libgnomevfs/gnome-vfs-mime-info.c: * libgnomevfs/gnome-vfs-mime-info.h: (gnome_vfs_mime_get_extensions_pretty_string): Return a list with period prepended, comma seperated items. (gnome_vfs_mime_extensions_list_free): Changed name form gnome_vfs_mime_extension_list_free * mime-type-capplet/nautilus-mime-type-capplet.c: (populate_extension_list), (init_mime_capplet), (nautilus_mime_type_capplet_update_info), (populate_mime_list), (create_mime_list_and_scroller): More exciting UI layout work and feature completion.
* Added Slovenian translationsAndraz Tori2000-07-071-1/+1
|
* Added sorting functionality to the column buttons. Enabled columns toGene Z. Ragan2000-07-071-0/+22
| | | | | | | | | | 2000-07-06 Gene Z. Ragan <gzr@eazel.com> * mime-type-capplet/nautilus-mime-type-capplet.c: (column_clicked), (create_mime_list_and_scroller): Added sorting functionality to the column buttons. Enabled columns to respond to a click. Clicking a column header toggles between ascending and descending sort for that column.
* Fixing Gene's mistake of adding a full path name to an .so forRobin Slomkowski2000-07-061-1/+1
| | | | linking.
* More capplet work in progress. Modifying applet and code to support UIEAZEL-NAUTILUS-MS-JULY_5Gene Z. Ragan2000-07-054-207/+313
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-04 Gene Z. Ragan <gzr@eazel.com> More capplet work in progress. Modifying applet and code to support UI work done by Arlo. * libgnomevfs/gnome-vfs-mime-handlers.c: (gnome_vfs_mime_add_extension), (gnome_vfs_mime_remove_extension): API changes to support new layout. * libgnomevfs/gnome-vfs-mime-info.c: * libgnomevfs/gnome-vfs-mime-info.h: (gnome_vfs_mime_get_extensions_list), (gnome_vfs_mime_get_extensions_string): API changes to support new layout. * mime-type-capplet/Makefile.am: Added dependency to GdkPixbuf. * mime-type-capplet/nautilus-mime-type-capplet-dialogs.c: (show_edit_components_dialog), (add_new_application), (show_new_application_window), (show_edit_application_window): API changes to support new layout. * mime-type-capplet/nautilus-mime-type-capplet.c: * mime-type-capplet/nautilus-mime-type-capplet.h: (populate_extension_list), (extension_list_deselected), (application_button_toggled), (viewer_button_toggled), (icon_changed), (init_mime_capplet), (nautilus_mime_type_capplet_update_info), (populate_application_menu), (populate_viewer_menu), (edit_default_clicked), (nautilus_mime_type_capplet_update_application_info), (nautilus_mime_type_capplet_update_viewer_info), (insert_mime_vals_into_clist), (create_mime_list_and_scroller), (nautilus_mime_type_capplet_get_selected_item_mime_type), (make_path), (pixmap_file): API changes to support new layout.
* Making gnome-vfs rpm'ableGNOME-VFS_0_2-ANCHORGNOME-VFS_0_2gnome-vfs-0-2Eskil Heyn Olsen2000-07-031-0/+2
|
* add libgnomevfsMichael Meeks2000-06-271-2/+3
| | | | | | 2000-06-27 Michael Meeks <michael@helixcode.com> * mime-type-capplet/Makefile.am (INCLUDES): add libgnomevfs
* Added Slovenian translationsAndraz Tori2000-06-241-0/+2
|
* Made a working taregt in the Makefile.am for the mime-ytpe-cappletsFatih Demir2000-06-241-2/+2
|
* Fixed bug #581. Ui for specifying whether applicaition can open multipleGene Z. Ragan2000-06-221-47/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-22 Gene Z. Ragan <gzr@eazel.com> Fixed bug #581. Ui for specifying whether applicaition can open multiple files at once. * libgnomevfs/gnome-vfs-mime-handlers.c: * libgnomevfs/gnome-vfs-mime-handlers.h: (gnome_vfs_mime_define_application): Added const char * argument for mime type. Removed placeholder mime type. * mime-type-capplet/nautilus-mime-type-capplet-dialogs.c: (populate_default_applications_list), (populate_default_components_box), (initialize_edit_applications_dialog), (add_new_application), (show_new_application_window), (show_edit_application_window): Modified edit applicaiton list dialog to use a GtkList with embedded check buttons and labels. This allows single list items to be selected so that individual items can be edited or deleted. * test/test-mime-handlers-set.c: (main): Fixed call to gnome_vfs_mime_define_application to use new argument.
* Clean up work on layout of capplet dialogs.Gene Z. Ragan2000-06-221-25/+45
| | | | | | | | 000-06-22 Gene Z. Ragan <gzr@eazel.com> * mime-type-capplet/nautilus-mime-type-capplet-dialogs.c: (show_new_application_window), (show_edit_application_window): Clean up work on layout of capplet dialogs.
* Fixed bug #1434, Fix alignment of widgets in main capplet view.Gene Z. Ragan2000-06-221-27/+19
| | | | | | | | | | | 2000-06-21 Gene Z. Ragan <gzr@eazel.com> Fixed bug #1434, Fix alignment of widgets in main capplet view. * mime-type-capplet/nautilus-mime-type-capplet.c: (init_mime_capplet): Replaced use of multiple pack boxes with a table. Things look much better now.
* Fixed bug #583Gene Z. Ragan2000-06-212-20/+74
| | | | | | | | | | | | | | | | | 2000-06-21 Gene Z. Ragan <gzr@eazel.com> Fixed bug #583 * mime-type-capplet/nautilus-mime-type-capplet-dialogs.c: (initialize_edit_applications_dialog), (show_new_application_window), (show_edit_application_window): New dialog and items to indicate and allow user to set application behavior concerning multiple launch and URI handling. * mime-type-capplet/nautilus-mime-type-capplet.c: (init_mime_capplet): Removed old UI code and migrated to dialog.
* More work on adding applications and extension.Gene Z. Ragan2000-06-213-40/+156
| | | | | | | | | | | | | | | | | | | 2000-06-21 Gene Z. Ragan <gzr@eazel.com> * mime-type-capplet/nautilus-mime-type-capplet-dialogs.c: (initialize_edit_applications_dialog), (nautilus_mime_type_capplet_show_new_extension_window), (add_new_application), (show_new_application_window): More work on adding applications and extension. * mime-type-capplet/nautilus-mime-type-capplet.c: (nautilus_mime_type_capplet_add_extension), (remove_extension_clicked), (none_button_toggled), (application_button_toggled), (component_button_toggled), (init_mime_capplet), (nautilus_mime_type_capplet_get_selected_item_mime_type): Changed use of GtkFixed to use layout. Layout is now messy again, but I should be able to get it looking right.
* Added frame and set of radio buttons to indicate and allow the user toGene Z. Ragan2000-06-201-11/+86
| | | | | | | | | | | | | 2000-06-20 Gene Z. Ragan <gzr@eazel.com> * mime-type-capplet/nautilus-mime-type-capplet.c: (mime_list_selected_row_callback), (none_button_toggled), (application_button_toggled), (component_button_toggled), (init_mime_capplet), (nautilus_mime_type_capplet_update_info): Added frame and set of radio buttons to indicate and allow the user to change the default action that will occur when a file is clicked/double-clicked in Nautilus. We have three choices that map to the three types of actions we currently support.
* Fixed bug #1221Gene Z. Ragan2000-06-201-58/+196
| | | | | | | | | | | | | | | | | | | 2000-06-20 Gene Z. Ragan <gzr@eazel.com> Fixed bug #1221 * mime-type-capplet/nautilus-mime-type-capplet.c: (application_menu_activated), (populate_application_menu), (component_menu_activated), (populate_component_menu): Add handling of the case where a default application or component is not in the default applicaiton or component list. This involved some UI work and adding the default app to the default list. Hopefully the gnome-vfs-mime-handler API will not allow this to happen, but we handle it just in case. Cleaned up the way the menu items for the default application and component are set and added a signal handler to set the user's choice of application or component to be the default.
* Fixed bug #1055Gene Z. Ragan2000-06-202-19/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-20 Gene Z. Ragan <gzr@eazel.com> Fixed bug #1055 * libgnomevfs/gnome-vfs-mime-handlers.c: * libgnomevfs/gnome-vfs-mime-handlers.h: (gnome_vfs_mime_add_extension): Renamed function to be more in accordance with other function in file. (gnome_vfs_mime_remove_extension): New function to remove mapped extension from mime type. * libgnomevfs/gnome-vfs-mime-info.c: (load_mime_list_info_from), (gnome_vfs_mime_get_extensions), (mime_list_sort), (get_key_name), (gnome_vfs_mime_commit_registered_types), (write_mime_data_foreach), (write_registered_mime_data): A couple of things done here. One was work on the tokenizer so that it handled a variety of cases when reading in key data form .mime files. Another was work on saving and deleting mapped extensions from the .mime file. * mime-type-capplet/nautilus-mime-type-capplet-dialogs.c: (nautilus_mime_type_capplet_show_new_extension_window): Work on saving and deleting mapped extensions from the .mime file. * mime-type-capplet/nautilus-mime-type-capplet.c: (populate_extension_list), (nautilus_mime_type_capplet_add_extension), (remove_extension_clicked): Work on saving and deleting mapped extensions from the .mime file.
* Removed obsolete files.Gene Z. Ragan2000-06-196-511/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-19 Gene Z. Ragan <gzr@eazel.com> * mime-type-capplet/mime-data.c: * mime-type-capplet/mime-data.h: Removed obsolete files. * mime-type-capplet/Makefile.am: Removed above files from Makefile. * libgnomevfs/gnome-vfs-mime-handlers.c: * libgnomevfs/gnome-vfs-mime-handlers.h: (gnome_vfs_mime_add_extension_to_mime_type): New function. Add extension mapping to named mime type and save to .mime file. * libgnomevfs/gnome-vfs-mime-info.c: * libgnomevfs/gnome-vfs-mime-info.h: (load_mime_list_info_from), (load_mime_type_info), (gnome_vfs_mime_get_extensions), (gnome_vfs_mime_extension_list_free): New function to deep free the list returned by gnome_vfs_mime_get_extensions() (gnome_vfs_mime_registered_mime_type_list_free), New function to deep free the list returned by gnome_vfs_mime_get_extensions() (gnome_vfs_mime_commit_registered_types): Public function to commit internal hash table of mime data to disk. (gnome_vfs_mime_set_registered_type_key): This functions sets the key data for the registered mime type's hash table. (write_mime_data_foreach), (write_mime_data): New functions to write out mime data from hash table. * mime-type-capplet/nautilus-mime-type-capplet-dialogs.c: (nautilus_mime_type_capplet_show_new_mime_window), (nautilus_mime_type_capplet_show_new_extension_window): Clean up work on dialogs. * mime-type-capplet/nautilus-mime-type-capplet.c: (ok_callback), (populate_extension_list), (nautilus_mime_type_capplet_add_extension), (remove_extension_clicked), (init_mime_capplet), (delete_mime_clicked), (create_mime_list_and_scroller), (get_selected_item_mime_type): Clean up work on main capplet view.
* File Types and Programs capplet work in progress.Gene Z. Ragan2000-06-178-929/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-17 Gene Z. Ragan <gzr@eazel.com> File Types and Programs capplet work in progress. * mime-type-capplet/mime-info.c: * mime-type-capplet/mime-info.h: Removed obsolete files from capplet. * mime-type-capplet/Makefile.am: Remove above files form makefile. * libgnomevfs/gnome-vfs-mime-info.c: * libgnomevfs/gnome-vfs-mime-info.h: (list_context_new), (context_destroy_and_unlink), (load_mime_type_info_from), (load_mime_list_info_from), (mime_list_load), (load_mime_type_info), (gnome_vfs_mime_init), (gnome_vfs_mime_info_clear), (gnome_vfs_mime_info_shutdown), (get_key_name), (gnome_vfs_get_registered_mime_types): Various fixes and modifications. Fixed a bug in the mime key database parser that caused comments to be read in incorrectly. * mime-type-capplet/mime-data.c: (add_to_key), (add_mime_vals_to_clist), (add_new_mime_type), (add_new_mime_type), (write_mime_foreach): Capplet work in progress. * mime-type-capplet/nautilus-mime-type-capplet-dialogs.c: (nautilus_mime_type_capplet_show_new_mime_window): Capplet work in progress. * mime-type-capplet/nautilus-mime-type-capplet.c: * mime-type-capplet/nautilus-mime-type-capplet.h: (main), (g_list_free_deep), (try_callback), (revert_callback), (ok_callback), (cancel_callback), (populate_extension_list), (mime_list_selected_row_callback), (init_mime_capplet), (nautilus_mime_type_capplet_update_info), (delete_mime_clicked), (edit_applications_clicked), (edit_components_clicked), (insert_mime_vals_into_clist), (create_mime_list_and_scroller): Capplet work in progress.
* Work in progress on the FIle Types and Programs Capplet Removed obsoleteGene Z. Ragan2000-06-1512-1046/+475
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-15 Gene Z. Ragan <gzr@eazel.com> Work in progress on the FIle Types and Programs Capplet * mime-type-capplet/Makefile.am: Removed obsolete files form build. * mime-type-capplet/edit-window.c: * mime-type-capplet/edit-window.h: Obsolete. Removed. * mime-type-capplet/new-mime-window.c: * mime-type-capplet/new-mime-window.h: Obsolete. Removed. * mime-type-capplet/mime-data.c: (add_mime_vals_to_clist), (selected_row_callback): * mime-type-capplet/nautilus-mime-type-capplet-dialogs.c: * mime-type-capplet/nautilus-mime-type-capplet-dialogs.h: (edit_applications_dialog_destroy), (application_is_in_list), (application_button_toggled_callback), (populate_default_applications_box), (populate_default_components_box), (initialize_edit_applications_dialog), (show_edit_applications_dialog), (show_edit_components_dialog), (nautilus_mime_type_capplet_show_new_mime_window), (nautilus_mime_type_capplet_show_new_extension_window): * mime-type-capplet/nautilus-mime-type-capplet.c: * mime-type-capplet/nautilus-mime-type-capplet.h: (revert_callback), (populate_extension_list), (nautilus_mime_type_capplet_add_extension), (add_extension_clicked), (remove_extension), (extension_list_selected), (extension_list_deselected), (init_mime_capplet), (nautilus_mime_type_capplet_update_info), (add_mime_clicked), (edit_components_clicked), (nautilus_mime_type_capplet_update_application_info), (nautilus_mime_type_capplet_update_component_info):
* Added FIXMEs to places that get MIME info from the gnome-libs prefix sinceDarin Adler2000-06-151-20/+14
| | | | | | | | | | | | * libgnomevfs/gnome-vfs-gen-mimedb.c: (main): * libgnomevfs/gnome-vfs-mime-info.c: (gnome_vfs_mime_init): * libgnomevfs/gnome-vfs-mime-magic.c: (gnome_vfs_mime_get_magic_table): * libgnomevfs/gnome-vfs-mime.c: (mime_init): * mime-type-capplet/mime-data.c: (init_mime_type): Added FIXMEs to places that get MIME info from the gnome-libs prefix since we install this stuff in the gnome-vfs prefix. We already had a bug report about this.
* added daKenneth Christiansen2000-06-151-0/+2
|
* New files. Trying to clean up current capplet source and organize it in aGene Z. Ragan2000-06-154-89/+683
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-14 Gene Z. Ragan <gzr@eazel.com> * mime-type-capplet/nautilus-mime-type-capplet-dialogs.c: * mime-type-capplet/nautilus-mime-type-capplet-dialogs.h: New files. Trying to clean up current capplet source and organize it in a sensible way. (edit_application_dialog_destroy), (edit_component_dialog_destroy), (populate_default_applications_list), (populate_preferred_applications_list), (component_is_in_list), (component_button_toggled_callback), (populate_default_components_box), (populate_preferred_components_list), (initialize_edit_applications_dialog), (initialize_edit_components_dialog), (show_edit_applications_dialog), (show_edit_components_dialog), Brand new functions. * mime-type-capplet/Makefile.am: Added new source file listed above. * mime-type-capplet/nautilus-mime-type-capplet.c: (init_mime_capplet), (populate_application_menu), (populate_component_menu), (edit_applications_clicked), (edit_components_clicked): Work on setting up info view.
* More work in progress and added a new file to the capplet build.Gene Z. Ragan2000-06-142-33/+132
| | | | | | | | | | | | | | | 2000-06-13 Gene Z. Ragan <gzr@eazel.com> More work in progress and added a new file to the capplet build. * mime-type-capplet/nautilus-mime-type-capplet.c: (main), (init_mime_capplet), (edit_applications_clicked), (edit_components_clicked), (edit_application_dialog_destroy), (initialize_edit_application_dialog), (show_edit_applications_dialog), (show_edit_components_dialog): * mime-type-capplet/nautilus-mime-type-capplet.h: New file
* Work in progress on the File Types and Program cappletGene Z. Ragan2000-06-146-157/+500
| | | | | | | | | | | | | | | | | | 2000-06-13 Gene Z. Ragan <gzr@eazel.com> Work in progress on the File Types and Program capplet * mime-type-capplet/edit-window.c: (initialize_main_win): * mime-type-capplet/mime-data.c: (get_priority), (add_to_key), (mime_fill_from_file), (add_mime_vals_to_clist), (selected_row_callback), (create_mime_clist), (add_new_mime_type): * mime-type-capplet/mime-data.h: * mime-type-capplet/nautilus-mime-type-capplet.c: (init_mime_capplet), (nautilus_mime_type_capplet_update_info), (populate_application_menu), (populate_component_menu), (free_mime_info), (delete_mime_clicked), (add_mime_clicked), (edit_applications_clicked), (edit_components_clicked):