2002-01-14 Bradford Hovinen <hovinen@ximian.com>
* mime-category-edit-dialog.c (populate_application_list):
Implement. Mostly a copy from the corresponding function in
mime-edit-dialog.c
* mime-types-model.c (get_insertion_point): Make this public
(find_supported_apps_for_category, reduce_supported_app_list)
(intersect_lists, find_possible_supported_apps): Implement
* mime-edit-dialog.c (fill_dialog): Fill category_entry
(choose_cat_cb): Implement
(mime_edit_dialog_init): Connect choose_button to choose_cat_cb
* mime-type-info.c (mime_type_info_load): Load category name
(mime_type_info_save): Call reinsert_iter to affect category name
change
* mime-types-model.c (mime_types_model_new): Add parameter
is_category_select; TRUE iff this model should be only for
selecting a category and not list the actual file types or
Internet services
(get_category_name): Implement
* mime-edit-dialog.c (mime_edit_dialog_init): Add category_label
to first size group
2002-01-13 Bradford Hovinen <hovinen@ximian.com>
* file-types-capplet.c (edit_cb, row_activated_cb): Don't try to
create a category edit dialog if this is the Internet Services
category
(count_cb): Only count other than internet services category
* mime-types-model.c (model_entry_is_category): Implement
(model_entry_is_protocol): Use categories[INTERNET_SERVICES_IDX]
rather than string
(model_entry_is_internet_services_category): Implement
* Makefile.am (gnome_file_types_properties_SOURCES): Add
mime-category-edit-dialog.[ch]
* file-types-capplet.c (edit_cb): Construct a category edit dialog
if the tree iterator has children
(row_activated_cb): Ditto
2002-01-11 Bradford Hovinen <hovinen@ximian.com>
* mime-edit-dialog.c (default_action_changed_cb): Set sensitivity
of needs_terminal_toggle
(store_data): Set needs_terminal
(fill_dialog): Set needs_terminal_toggle
2002-01-11 Bradford Hovinen <hovinen@ximian.com>
* mime-type-info.c (mime_type_info_free): Remove from dirty list
(mime_type_info_save): Use libuuid to generate a unique ID for the
custom app
(mime_type_info_load): Check for custom line based on name
2002-01-11 Bradford Hovinen <hovinen@ximian.com>
* mime-edit-dialog.c (populate_application_list): Don't check
default action id if default action is NULL
* mime-type-info.c (mime_type_info_free): Remove data from
mime_type_table
* service-info.c (service_info_free): Free the info structure
* mime-type-info.c (mime_type_info_load): Ditto below
* service-info.c (service_info_load): Use service_info_table as a
cache
(service_info_free): Remove data from service_info_table
2002-01-11 Bradford Hovinen <hovinen@ximian.com>
* mime-type-info.c (mime_type_info_load): Read custom_line from
default_action
(mime_type_info_save): Set custom line through GnomeVFS app
registry
2002-01-11 Bradford Hovinen <hovinen@ximian.com>
* file-types-capplet.c (apply_cb): Commit the changeset
(main): Construct a changeset
(edit_cb): Pass the changeset to service_info_new
* service-info.c (set_string): Don't set the value if it is NULL
(service_info_load): Store changeset in info structure
(service_info_save): Don't require a changeset; use the one stored
in the structure
2002-01-11 Bradford Hovinen <hovinen@ximian.com>
* service-info.c (set_string): Don't set the value if it is NULL
* service-edit-dialog.c (store_data): Call service_info_save
2002-01-11 Bradford Hovinen <hovinen@ximian.com>
* mime-edit-dialog.c (add_ext_cb): Terminate column list with -1
* service-edit-dialog.c (store_data): Call service_info_update
* mime-edit-dialog.c (store_data): Call mime_type_info_update
* mime-type-info.c (mime_type_info_update): Implement. Updates the
model with data from the structure
* service-info.c (service_info_update): Implement. Updates the
model with data from the structure
* mime-type-info.c (form_extensions_string): Implement. Factor
from mime_type_info_save
* service-info.c (service_info_load): Accept model and iter rather
than protocol name; read protocol name from model
* mime-type-info.c (mime_type_info_load): Accept model and iter
rather than mime type; read the mime type from the model
* mime-types-model.c (get_icon_pixbuf): Make this public
2002-01-11 Bradford Hovinen <hovinen@ximian.com>
* service-edit-dialog.c (store_data): Implement
(program_sensitive_cb): Implement
(response_cb): Call store_data if response_id is OK
(service_edit_dialog_init): Connect toggled signal on
run_program_toggle to program_sensitive_cb
* mime-type-info.h: Add #include gnome-vfs-mime-info.h
* service-edit-dialog.c (populate_app_list): Implement
* mime-edit-dialog.c (populate_component_list): Make sure custom
menu item is shown
Tue Jan 8 15:50:59 2002 Jonathan Blandford <jrb@redhat.com>
* Makefile.am: Add locate-pointer.
* gnome-settings-keyboard.c: Initial attempt at locate-pointer.
Don't understand XKB enough to figure it out.
* gnome-settings-locate-pointer.[ch]: Draw the locate pointer
box. Pretty snazzy for a useless (but fun) feature.
* gnome-settings-mouse.c: Move locate pointer to it's own file.
Tue Jan 8 15:49:15 2002 Jonathan Blandford <jrb@redhat.com>
* .cvsignore: update
* Makefile.am: Add gnome-keyboard-properties.c
* gnome-keyboard-properties.c: New, much nicer capplet.
* gnome-keyboard-properties.glade: glade file for above.
* keyboard-bell.png:
* keyboard-cursor.png:
* keyboard-repeat.png:
* keyboard-volume.png: Images for above. Note,
keyboard-cursor.png is my pathetic attempt at artwork, and will
prolly change in the future.
Tue Jan 8 15:47:24 2002 Jonathan Blandford <jrb@redhat.com>
* .cvsignore: New ignores.
* gnome-mouse-properties.glade: Update of glade file for cursors
* mouse-cursor-normal-large.png: New images
* mouse-cursor-normal.png:
* mouse-cursor-white-large.png:
* mouse-cursor-white.png:
* mouse-properties-capplet.c: (setup_dialog), (create_dialog),
(main): Add support for new properties. Don't fully work yet, but
we'll get it later.
* mouse-properties.glade: not sure what changed -- need to remove
this file.
Sun Jan 6 02:52:59 2002 Jonathan Blandford <jrb@redhat.com>
* gconf-property-editor.c (peditor_select_radio_widget_changed):
avoid recursive loops by only setting the UI if we're active.
2002-01-05 Bradford Hovinen <hovinen@ximian.com>
* gconf-property-editor.c (peditor_*_value_changed): Only remove
from changeset if the changeset is non-NULL
2002-01-04 Bradford Hovinen <hovinen@ximian.com>
* gconf-property-editor.c (peditor_set_gconf_value):
Implement. Sets the GConf value either in the changeset, or if
changeset is NULL, directly
(peditor_*_widget_changed): Use peditor_set_gconf_value
(gconf_peditor_new_*): Don't complain if changeset is NULL
2002-01-04 Bradford Hovinen <hovinen@ximian.com>
* default-application-properties.c (edit_read): Check if tmp is
NULL before continuing
Use terminal/exec for terminal executable name key
2002-01-04 Bradford Hovinen <hovinen@ximian.com>
* control/Makefile.am (gnome_theme_preview_LDADD): Use
$(CONTROL_{CFLAGS|LIBS}) rather than @CONTROL_{CFLAGS|LIBS}@
2001-12-20 Bradford Hovinen <hovinen@ximian.com>
* gconf-property-editor.c (gconf_peditor_new): Fold the callback
back in; accept variable argument list with extra parameters
(gconf_peditor_new_filename): Return the property editor
(gconf_peditor_new_string_valist): Split this out
(gconf_peditor_new_string): Call _valist variant
(gconf_peditor_new*): Update
* */*-properties*.c: Update according to above
2001-12-20 Bradford Hovinen <hovinen@ximian.com>
* *-properties*.c (dialog_button_clicked_cb): Update
(main): Use a GtkDialog rather than a GnomeDialog; don't place a
weak ref on gtk_main_quit
2001-12-20 Bradford Hovinen <hovinen@ximian.com>
* libbackground/preferences.[ch]: Rename preferences to
bg_preferences to avoid possible namespace collision
* All: Update to reflect the above
2001-12-19 Bradford Hovinen <hovinen@ximian.com>
* gconf-property-editor.c (init_widget_cb): Return FALSE
(peditor_*_widget_changed): Just return if we are not fully
initialized
(init_widget_cb): Set initialized flag
(struct _GConfPropertyEditorPrivate): Add inited
2001-12-19 Bradford Hovinen <hovinen@ximian.com>
* gconf-property-editor.c (gconf_peditor_new_float_range)
(gconf_peditor_new_int_range): Connect to value_changed signal Add
properties conv-{to|from}-widget-cb and use those for conversion
of values to and from the widget
(peditor_{int|float}_range_value_changed, friends): Combine into
peditor_numeric_*
(gconf_peditor_new): Implement. Factor out some common code from
the various type-specific constructors
(peditor_*_value_changed): Don't check if the value is the same as
what is already in the widget; it's not very important
(peditor_*_value_changed): Remove the key from the changeset
(gconf_peditor_new_*): Add g_return_val_if_fail macros
(gconf_peditor_widget_set_guard): Add g_return_if_fail macros
(gconf_value_float_to_int, gconf_value_int_to_float): Implement
(gconf_property_editor_set_prop): Store the callback in the
property editor proper
(gconf_peditor_new): Put initialization code in an idle handler
* gconf-property-editor.c: Add ui-control property storing the
object (normally a widget) that controls the property; remove
object property and replace its function with ui-control