Commit graph

977 commits

Author SHA1 Message Date
John Sullivan
67266a3b03 Removed an outdated FIXME.
* mime-type-capplet/nautilus-mime-type-capplet.c:
	(mime_list_selected_row_callback): Removed an outdated FIXME.
2000-09-21 16:52:06 +00:00
Gene Z. Ragan
a036012fe5 Fixed bug 3042, Adding new mime type doesn't work
2000-09-16  Gene Z. Ragan  <gzr@eazel.com>

	Fixed bug 3042, Adding new mime type doesn't work

	* mime-type-capplet/nautilus-mime-type-capplet-dialogs.c:
	(nautilus_mime_type_capplet_show_new_mime_window):
	Return the new mime type if one was created

	* mime-type-capplet/nautilus-mime-type-capplet-dialogs.h:
	* mime-type-capplet/nautilus-mime-type-capplet.c:
	(nautilus_mime_type_capplet_update_info), (add_mime_clicked):
	Add info to main list.
2000-09-17 03:15:40 +00:00
Bradford Hovinen (Gdict maintainer)
497f8ee387 Fixed some typos with include directories 2000-09-16 20:33:17 +00:00
Bradford Hovinen
96acc3fd51 Added new mouse properties capplet
2000-09-12  Bradford Hovinen  <hovinen@helixcode.com>

        * new-keyboard-properties/preferences.c (preferences_clone): Added
	in missing code to copy preferences over
2000-09-12 15:25:23 +00:00
Bradford Hovinen
e97f9d324b Set CFLAGS to -O2 -g -Wall by default
2000-09-12  Bradford Hovinen  <hovinen@helixcode.com>

	* configure.in (CFLAGS): Set CFLAGS to -O2 -g -Wall by default
2000-09-12 13:57:58 +00:00
Bradford Hovinen (Gdict maintainer)
d4848e9baa Output Makefiles for new capplets; fix typo in one Makefile.am 2000-09-11 12:15:39 +00:00
Kjartan Maraas
18ad236f10 Updated Norwegian translation.
2000-09-11  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian translation.
2000-09-11 07:51:58 +00:00
Maciej Stachowiak
8d711c455a Build fixes for latest Gtk+
* configure.in: Add AM_PATH_GTK check
	* libgnomevfs-pthread/Makefile.am: Use $(GTK_CFLAGS) in compiler flags
	* mime-type-capplet/Makefile.am: likewise
	* modules/Makefile.am: likewise
	* test/Makefile.am: likewise
	* test/gnome-file-selection/Makefile.am: likewise
2000-09-11 03:14:50 +00:00
Bradford Hovinen (Gdict maintainer)
6e43a028dc Added new keyboard properties capplet 2000-09-11 02:40:14 +00:00
Bradford Hovinen
e4b4b7af40 Add buffer to make sure class is binary compatible with older library
2000-09-10  Bradford Hovinen  <hovinen@helixcode.com>

	* libcapplet/capplet-widget.h (struct _CappletWidget):
	(struct _CappletWidgetClass): Add buffer to make sure class is
 	binary compatible with older library

	* libcapplet/capplet-widget.c (capplet_widget_class_init): Attach
 	capplet_widget_realize (renamed capplet_widget_show) to "show"
 	method
	(capplet_widget_destroy): Accept a GtkObject
	(capplet_widget_show): Accept a GtkWidget
	(capplet_widget_destroy):
	(capplet_widget_state_changed):
	(capplet_widget_show):
	(ok_cb):
	(cancel_cb):
	(set_controls_sensitive): Add assertion checks on preconditions
	(capplet_widget_init): Removed unused variables
	Removed undo_cb, about_cb, id_list
2000-09-11 01:25:19 +00:00
Bradford Hovinen (Gdict maintainer)
a609b8ac09 Created new bell properties capplet 2000-09-10 20:14:14 +00:00
Bradford Hovinen
589923f166 Set gradient/wallpaper/background controls' sensitivity depending on
2000-09-10  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/new-background-properties/prefs-widget.c
	(read_preferences): Set gradient/wallpaper/background controls'
	sensitivity depending on whether they are enabled

	* capplets/new-background-properties/applier.c
	(renderer_render_to_screen): Fixed solid, no wallpaper case to
	work correctly with preview window; don't set root pixmap if
	neither wallpaper nor gradient enabled
2000-09-10 19:42:19 +00:00
Bradford Hovinen
99aa241dba Updated French translations Chnaged #include "config.h" to #ifdef
2000-09-10  Bradford Hovinen  <hovinen@helixcode.com>

        * po/fr.po: Updated French translations
        * all: Chnaged #include "config.h" to #ifdef HAVE_CONFIG_H ...
        * *.desktop, *.directory: Updated French translations
        * po/POTFILES.in: Added screensaver XML files

        Courtesy of Christophe Merlet <c.merlet@agglo-pau.fr>
2000-09-10 12:57:17 +00:00
Bradford Hovinen (Gdict maintainer)
818c4291c1 Created new background properties capplet, under new-background-properties 2000-09-09 23:21:28 +00:00
Kenneth Christiansen
9888a8794e Translations from Keld
control-center/po/da.po gdm2/po/da.po gnumeric/po/da.po
nautilus/po/da.po gnome-i18n/extra-po/gdm2beta5/da.po
2000-09-09 23:00:12 +00:00
Gene Z. Ragan
9cbbe4c4b2 Fixed a couple of leaks and instances where gdk_pixbuf_new_from_file was
2000-09-08  Gene Z. Ragan  <gzr@eazel.com>

	* mime-type-capplet/nautilus-mime-type-capplet.c:
	(populate_mime_list):
	Fixed a couple of leaks and instances where
	gdk_pixbuf_new_from_file was being passed a NULL char *.
2000-09-09 00:23:39 +00:00
Gene Z. Ragan
9f9f159ffa Fixed bug 2839, setting icons for mime type is not remembered
2000-09-08  Gene Z. Ragan  <gzr@eazel.com>

	Fixed bug 2839, setting icons for mime type is not remembered

	* mime-type-capplet/nautilus-mime-type-capplet.c: (main),
	(init_mime_capplet), (nautilus_mime_type_capplet_update_info),
	(populate_mime_list),
	(nautilus_mime_type_capplet_get_selected_item_mime_type):
	Removed icon setting code callback from Change Icon button.

	* mime-type-capplet/nautilus-mime-type-icon-entry.c:
	(icon_selected_cb), (cancel_pressed), (gil_icon_selected_cb),
	(nautilus_mime_type_show_icon_selection):
	Added gnome-vfs icon setting code to OK button callback.
2000-09-08 23:58:53 +00:00
Gene Z. Ragan
327911dcb5 Fixed bug 2766, viewer menu code is not finished.
2000-09-08  Gene Z. Ragan  <gzr@eazel.com>

	Fixed bug 2766, viewer menu code is not finished.

	Enjoy your Content Loser.

	* mime-type-capplet/nautilus-mime-type-capplet.c:
	(populate_viewer_menu):
	Made function work.
2000-09-08 17:49:14 +00:00
Gene Z. Ragan
10171a33d6 Fixed bug 2789, Need to cancel non-file drags in icon entry field.
2000-09-08  Gene Z. Ragan  <gzr@eazel.com>

	Fixed bug 2789, Need to cancel non-file drags in icon
	entry field.

	* mime-type-capplet/nautilus-mime-type-icon-entry.c:
	(drag_data_get):
2000-09-08 16:41:56 +00:00
Mathieu Lacage
73fdb18e63 initialize found_match to TRUE to avoid a segfault in certain non-obvious
2000-09-05  Mathieu Lacage  <mathieu@eazel.com>

	* mime-type-capplet/nautilus-mime-type-capplet.c:
	(populate_viewer_menu): initialize found_match to TRUE
	to avoid a segfault in certain non-obvious cases. this
	is a temporary hack waiting for bug 2766.
2000-09-06 00:36:34 +00:00
John Sullivan
41b4f3f1f1 Wrote bugs for the last (for now) 18 unbugged FIXMEs.
* mime-type-capplet/nautilus-mime-type-icon-entry.c:
	(drag_data_get):
	* modules/bzip2-method.c: (do_get_file_info):
	* modules/extfs-method.c:
	* modules/file-method.c: (do_create_symbolic_link):
	* modules/ftp-method.c: (internal_get_file_info):
	* modules/gconf-method.c:
	* modules/gzip-method.c: (do_get_file_info):
	* modules/http-method.c: (process_propfind_propstat):
	* modules/translate-method.c: (tr_apply_default_mime_type),
	(tr_handle_exec), (tr_uri_translate):
	* test/test-shell.c: (do_info):
	* test/test-uri.c: (main):
2000-09-05 16:27:53 +00:00
Jing-Jong Shyue
3ca033f5da Simplify Chinese PO File 2000/09/05 2000-09-05 14:56:24 +00:00
Mathieu Lacage
d98dda20ae Add bugs to bugzilla.eazel.com for FIXMEs...
2000-09-04  Mathieu Lacage  <mathieu@eazel.com>

	Add bugs to bugzilla.eazel.com for FIXMEs...
	* libgnomevfs/gnome-vfs-mime-handlers.c:
	(gnome_vfs_mime_get_default_action_type),
	(gnome_vfs_mime_get_default_application),
	(get_executable_name_from_command_string):
	* libgnomevfs/gnome-vfs-mime-info.c: (gnome_vfs_mime_get_value),
	(gnome_vfs_get_registered_mime_types):
	* libgnomevfs/gnome-vfs-mime-magic.c:
	* libgnomevfs/gnome-vfs-uri.c:
	* mime-type-capplet/nautilus-mime-type-capplet.c:
	(mime_list_selected_row_callback), (init_mime_capplet),
	(populate_viewer_menu), (delete_mime_clicked), (pixmap_file):
2000-09-05 03:13:37 +00:00
Bradford Hovinen (Gdict maintainer)
b3b4f290e8 Changed SETTINGS_DIR to $(datadir)/control-center 2000-09-04 15:42:33 +00:00
Christian Rose
ec53a7ff81 Updated Swedish translation. 2000-09-03 09:42:21 +00:00
Pavel Cisler
8a3c6d2603 Add a flag to the xfer progress indicating a top-level item to allow
2000-09-03  Pavel Cisler  <pavel@eazel.com>

	* libgnomevfs/gnome-vfs-types.h:
	* libgnomevfs/gnome-vfs-xfer.c: (init_progress), (copy_directory),
	(copy_items), (move_items), (link_items):
	Add a flag to the xfer progress indicating a top-level item to
	allow triggering metadata copies.

	* libgnomevfs-pthread/gnome-vfs-job.c:
	(execute_create_symbolic_link):
	* libgnomevfs/gnome-vfs-mime-info.c: (gnome_vfs_mime_set_value):
	* libgnomevfs/gnome-vfs-uri.c: (gnome_vfs_uri_new):
	* mime-type-capplet/nautilus-mime-type-capplet.c:
	(populate_viewer_menu):
	* modules/translate-method.c: (tr_uri_translate):
	* test/test-uri.c: (test_uri_host_port):
	Fix a bunch of uninitialized variables that Michael Meeks found.
2000-09-03 08:37:00 +00:00
Simos Xenitellis
8911b93438 Updated all Greek translations plus minor en_GB typos 2000-09-02 09:52:53 +00:00
Mathieu Lacage
b833d52def remove debugging output. fix many run-time warnings. Now, can go into
2000-09-01  Mathieu Lacage  <mathieu@eazel.com>

	* mime-type-capplet/nautilus-mime-type-capplet.c: (main),
	(init_mime_capplet), (populate_mime_list),
	(create_mime_list_and_scroller):
        remove debugging output. fix many run-time warnings.
        Now, can go into fixing real bugs.
2000-09-02 01:32:18 +00:00
Mathieu Lacage
e26b69eadb remove test on OAF compile.
2000-09-01  Mathieu Lacage  <mathieu@eazel.com>

	* libgnomevfs/gnome-vfs-init.c: (gnome_vfs_init):
        * libgnomevfs/gnome-vfs-mime-handlers.c:
	(gnome_vfs_mime_get_default_action_without_fallback),
	(gnome_vfs_mime_get_default_component), (join_str_list),
        (gnome_vfs_mime_get_short_list_components),
        (gnome_vfs_mime_get_all_components),
	(gnome_vfs_mime_id_in_component_list),
        (gnome_vfs_mime_id_list_from_component_list),
        (gnome_vfs_mime_remove_component_from_list),
        (gnome_vfs_mime_action_free), (gnome_vfs_mime_component_list_free),
        (OAF_ServerInfoList_to_ServerInfo_g_list):
	* libgnomevfs/gnome-vfs-mime-handlers.h:
        * test/test-mime-handlers-set.c: (main):
	* test/test-mime-handlers.c: (print_component), (print_action),
	(print_component_list), (main):
	remove	test on OAF compile.


	* libgnomevfs/gnome-vfs-mime-handlers.c:
	(gnome_vfs_mime_get_default_application): fix bug: we were passing
        a NULL to some subroutine.

	* mime-type-capplet/nautilus-mime-type-capplet.c:
        (init_mime_capplet), (nautilus_mime_type_capplet_update_info),
        (populate_mime_list), (create_mime_list_and_scroller):
        fix misc warning at runtime. add debugging output. will remove soon.

        * test/.cvsignore: chuuut.
2000-09-01 23:50:43 +00:00
Simos Xenitellis
8107aacb4b Added Greek translations 2000-09-01 19:54:42 +00:00
Takayuki KUSANO
70dff63d9b Updated Japanese translation.
* ja.po: Updated Japanese translation.
2000-09-01 18:26:49 +00:00
Pablo Saratxaga
e01ec9616e updated Catalan file 2000-09-01 09:38:17 +00:00
Martin Baulig
9e2d705f3e Only check for GNOME if we're on the GNOME 1.2 platform.
2000-08-31  Martin Baulig  <baulig@suse.de>

	* configure.in: Only check for GNOME if we're on the GNOME 1.2
	platform.

	* configure.in: Don't modify CFLAGS but set VFS_CLFAGS instead.
	Otherwise CFLAGS gets longer every time config.status is run.
	* */Makefile.am (INCLUDES): Add $(VFS_CFLAGS).
2000-08-31 11:21:40 +00:00
Martin Baulig
c13ae41bab Don't put -Werror into CFLAGS but into WERROR and AC_SUBST it. Some
2000-08-31  Martin Baulig  <baulig@suse.de>

	* configure.in: Don't put -Werror into CFLAGS but into WERROR
	and AC_SUBST it. Some configure checks don't work with -Werror.
	* */Makefile.am (INCLUDES): Add $(WERROR).
2000-08-31 10:20:39 +00:00
Mathieu Lacage
00a08a542a fixes bugs 1119 and 1839
2000-08-31  Mathieu Lacage  <mathieu@eazel.com>

	fixes bugs 1119 and 1839

	* data/mime/gnome-vfs.keys: add a mime type for testing.
	* libgnomevfs/gnome-vfs-mime-handlers.c:
	(gnome_vfs_mime_get_default_action_type),
	(gnome_vfs_mime_edit_user_file_full),
	(gnome_vfs_mime_add_extension), (gnome_vfs_mime_remove_extension):
	update to API changes below. move saving code to gnome-vfs-mime-info.c
	* libgnomevfs/gnome-vfs-mime-info.c: (does_string_contains_caps),
	(context_new), (context_destroy_and_unlink), (language_level),
	(context_add_key), (load_mime_type_info_from),
	(load_mime_list_info_from), (mime_info_load), (mime_list_load),
	(load_mime_type_info), (gnome_vfs_mime_init),
	(gnome_vfs_mime_info_clear), (gnome_vfs_mime_info_shutdown),
	(gnome_vfs_mime_freeze), (gnome_vfs_mime_thaw),
	(gnome_vfs_mime_set_value), (gnome_vfs_mime_get_value),
	(gnome_vfs_mime_keys_list_free), (gnome_vfs_mime_get_key_list),
	(gnome_vfs_mime_get_program), (gnome_vfs_mime_get_program_name),
	(gnome_vfs_mime_get_description), (str_cmp_callback),
	(gnome_vfs_mime_get_extensions_list),
	(gnome_vfs_mime_get_extensions_string),
	(gnome_vfs_mime_get_extensions_pretty_string),
	(gnome_vfs_mime_extensions_list_free), (gnome_vfs_mime_get_test),
	(gnome_vfs_mime_get_composetyped),
	(gnome_vfs_mime_get_copiousoutput),
	(gnome_vfs_mime_get_needsterminal), (get_key_name),
	(gnome_vfs_get_registered_mime_types),
	(gnome_vfs_mime_registered_mime_type_list_free),
	(gnome_vfs_mime_set_registered_type_key),
	(write_back_mime_user_file_context_callback),
	(write_back_mime_user_file_callback), (write_back_mime_user_file),
	(write_back_keys_user_file_context_callback),
	(write_back_keys_user_file_callback), (write_back_keys_user_file):
	Basically, make it work. update copyright.
	* libgnomevfs/gnome-vfs-mime-info.h: change some API.
	* mime-type-capplet/nautilus-mime-type-capplet.c: update to new API.
	(nautilus_mime_type_capplet_update_info), (populate_mime_list):
	* test/Makefile.am: add tests.
	* test/test-mime-info.c: (main): actual tests.
2000-08-31 07:04:59 +00:00
Bradford Hovinen
f4f9184388 Add XML cflags/libs
2000-08-23  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/wm-properties/Makefile.am (INCLUDES):
	(wm_properties_capplet_LDADD): Add XML cflags/libs

	* capplets/wm-properties/wm-properties-capplet.c (do_get_xml):
	(do_set_xml): Implement
	(main): Call do_{get|set}_xml() on --get and --set

	* capplets/wm-properties/wm-list.c (wm_read_from_xml):
	(wm_list_read_from_xml):
	(wm_write_to_xml):
	(wm_list_write_to_xml): Implement
2000-08-23 14:29:23 +00:00
Kenneth Christiansen
379d3e137b Translations from Keld
achtung/po/da.po balsa/po/da.po bonobo/po/da.po
bug-buddy/po/da.po control-center/po/da.po dia/po/da.po
dr-genius/po/da.po eog/po/da.po evolution/po/da.po
gconf/po/da.po gedit/po/da.po gernel/po/da.po
gnome-db/po/da.po gnome-iconedit/po/da.po gnome-utils/po/da.po
gnome-vfs/po/da.po gnumeric/po/da.po gtranslator/po/da.po
guppi3/po/da.po mc/po/da.po nautilus/po/da.po oaf/po/da.po
pan/po/da.po sodipodi/po/da.po
2000-08-20 17:21:39 +00:00
Andraz Tori
6cf03c8c03 Updated Slovenian translation 2000-08-20 16:53:41 +00:00
Pablo Saratxaga
3cff36b768 updated Greek & Spanish files 2000-08-20 10:40:17 +00:00
Kenneth Christiansen
715cc5c73c Translations from Keld
achtung/po/da.po bonobo/po/da.po control-center/po/da.po
dia/po/da.po eog/po/da.po evolution/po/da.po gernel/po/da.po
ggv/po/da.po gimp/po/da.po gnome-iconedit/po/da.po
gnumeric/po/da.po nautilus/po/da.po rp3/po/da.po
2000-08-19 22:16:59 +00:00
Kjartan Maraas
347a2f9af4 Updated Norwegian translation.
2000-08-19  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian translation.
2000-08-19 19:20:51 +00:00
Bradford Hovinen
5245e70454 Add XML cflags/libs
2000-08-18  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/keyboard-properties/Makefile.am (INCLUDES):
	(keyboard_properties_LDADD): Add XML cflags/libs

	* capplets/keyboard-properties/keyboard-properties.c
	(keyboard_read_from_xml):
	(keyboard_write_to_xml):
	(do_get_xml):
	(do_set_xml): Implement
	(main): Invoke do_get_xml() and do_set_xml() on --get and --set
2000-08-18 21:29:08 +00:00
Bradford Hovinen
10d433675f Only do combo box stuff if no_gui flag is not set (edit_read): If no_gui
2000-08-18  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/gnome-edit-properties/gnome-edit-properties.c
	(edit_read): Only do combo box stuff if no_gui flag is not set
	(edit_read): If no_gui flag set, search through possible_editors
	manually and set original_info.name that way

	* capplets/gnome-edit-properties/Makefile.am (INCLUDES):
	(gnome_edit_properties_capplet_LDADD): Add XML cflags/libs

	* capplets/gnome-edit-properties/gnome-edit-properties.c
	(edit_read_from_xml):
	(edit_write_to_xml):
	(do_get_xml):
	(do_set_xml): Implement
	(main): Call do_get_xml/do_set_xml when --get and --set passed

	* capplets/bell-properties/bell-properties.c (read_from_xml):
	Check if root node is correct before reading
2000-08-18 20:12:38 +00:00
Bradford Hovinen
1d7053c55a Added XML cflags/libs
2000-08-18  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/bell-properties/Makefile.am (INCLUDES):
	(bell_properties_capplet_LDADD): Added XML cflags/libs

	* capplets/bell-properties/bell-properties.c (do_get_xml):
	(do_set_xml): Implement.
	(main): Call above functions on --get and --set
	(read_from_xml):
	(write_to_xml): Implement
2000-08-18 19:32:01 +00:00
Bradford Hovinen
dd169482d6 Check for putenv and setenv and set appropriate macros in config.h
2000-08-18  Bradford Hovinen  <hovinen@helixcode.com>

	* configure.in: Check for putenv and setenv and set appropriate
	macros in config.h

2000-08-18  Bradford Hovinen  <hovinen@helixcode.com>

	* preview.c (setup_path): Use setenv only when available, try to
	use putenv otherwise
2000-08-18 19:13:07 +00:00
Bradford Hovinen
890a61a575 Call do_set_xml and do_get_xml when --get or --set detected
2000-08-18  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/background-properties/app-background.c (main): Call
	do_set_xml and do_get_xml when --get or --set detected

	* capplets/background-properties/property-background.c
	(background_read_from_xml):
	(background_write_to_xml): Implement. Read/write XML snapshot of
	the system's current state
	(get_color): Implement. Read a color represented as a string and
	fill in a GdkColor structure
	(do_get_xml):
	(do_set_xml): Implement. Do operations required for a --get and
	--set, respectively

	* capplets/background-properties/Makefile.am (INCLUDES): Add XML_CFLAGS
	(background_properties_capplet_LDADD): Add GNOME_XML_LIB
2000-08-18 18:51:01 +00:00
Kai Lahmann
825346ef93 Updated German translation 2000-08-18 17:31:06 +00:00
Stanislav Brabec
87f2fbb3e6 Fix building in separate directory. 2000-08-17 19:20:50 +00:00
Valek Frob
fa01b686b4 Updated russian translation. 2000-08-17 18:23:29 +00:00
Christopher R. Gabriel
8a8918de8d updated italian translation 2000-08-17 16:11:58 +00:00