Commit graph

2588 commits

Author SHA1 Message Date
Jens Granseuer
a431229943 Patch by: Brian Cameron <brian.cameron@sun.com>
2008-08-21  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Brian Cameron <brian.cameron@sun.com>

	* sound-theme.c: (set_combox_for_theme_name): trying to print NULL
	strings crashes on Solaris (bug #548586)

svn path=/trunk/; revision=8878
2008-08-21 16:04:15 +00:00
Federico Mena Quintero
1acc03b4a4 Clarification comment for translators on 'Mirror Screens'
Signed-off-by: Federico Mena Quintero <federico@novell.com>

svn path=/trunk/; revision=8875
2008-08-20 16:11:08 +00:00
Federico Mena Quintero
30bf9982ba bnc381027 - Use 'Mirror Screens' for consistency with the checkbox
2008-08-20  Federico Mena Quintero  <federico@novell.com>

	* xrandr-capplet.c (get_display_name): Use "Mirror Screens"
	instead of "Cloned Output" in the display of monitors, to be
	consistent with the corresponding checkbox from the Glade file.
	Fixes https://bugzilla.novell.com/show_bug.cgi?id=381027

Signed-off-by: Federico Mena Quintero <federico@novell.com>

svn path=/trunk/; revision=8874
2008-08-20 16:08:13 +00:00
Jens Granseuer
87c639d9bf don't leak the theme engine path
2008-08-16  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gtk_theme_info_missing_engine): don't leak
	the theme engine path

svn path=/trunk/; revision=8868
2008-08-16 13:18:27 +00:00
Jens Granseuer
eef20ec03e Patch by: Matthias Clasen <mclasen@redhat.com>
2008-08-16  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Matthias Clasen <mclasen@redhat.com>

	* sound-theme.c: (play_sound_at_path),
	(custom_treeview_button_press_event_cb),
	(activatable_cell_renderer_pixbuf_activate),
	(activatable_cell_renderer_pixbuf_init),
	(activatable_cell_renderer_pixbuf_class_init),
	(setup_sound_theme_custom): make the event sound preview button
	listen to the "activate" signal so it becomes accessible via
	keyboard (bug #547808)

svn path=/trunk/; revision=8867
2008-08-16 13:06:02 +00:00
Jens Granseuer
72c4c5e6bd Keep track of hidden themes, too, so that e.g. we don't erroneously show
2008-08-16  Jens Granseuer  <jensgr@gmx.net>

	Keep track of hidden themes, too, so that e.g. we don't erroneously
	show "GTK theme missing" when a metatheme references a hidden GTK
	theme (part of bug #547301)

	* gnome-theme-info.c: (gnome_theme_read_meta_theme),
	(read_icon_theme), (read_cursor_theme): don't skip hidden themes,
	initialize the hidden property
	(gnome_theme_info_find_all_helper): only return non-hidden themes
	* gnome-theme-info.h: add hidden property to all theme types

svn path=/trunk/; revision=8865
2008-08-16 10:48:20 +00:00
Federico Mena Quintero
e0ec9acbbb Paint the outputs with the color from GnomeRRLabeler
Signed-off-by: Federico Mena Quintero <federico@novell.com>

svn path=/trunk/; revision=8864
2008-08-16 02:00:48 +00:00
Federico Mena Quintero
a4a7ac50fb Create a GnomeRRLabeler when getting a new screen configuration
Signed-off-by: Federico Mena Quintero <federico@novell.com>

svn path=/trunk/; revision=8863
2008-08-16 02:00:35 +00:00
Jens Granseuer
ace6f32345 remove help button as long as we don't have any help to show (bug #473181)
2008-08-14  Jens Granseuer  <jensgr@gmx.net>

	* data/appearance.glade: remove help button as long as we don't have
	any help to show (bug #473181)

svn path=/trunk/; revision=8861
2008-08-14 17:57:51 +00:00
Jens Granseuer
9dec28d959 when adding an unknown theme to the list because it has been selected use
2008-08-12  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (conv_to_widget_cb), (prepare_list): when
	adding an unknown theme to the list because it has been selected use
	the corresponding default icon to represent it

svn path=/trunk/; revision=8856
2008-08-12 21:36:19 +00:00
Jens Granseuer
71e3280c3c make sure we have a notification theme before trying to save it (bug
2008-08-12  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-apply.c: (gnome_meta_theme_set): make sure we have a
	notification theme before trying to save it (bug #547448)

svn path=/trunk/; revision=8855
2008-08-12 16:45:22 +00:00
Jens Granseuer
fc63bace52 fail gracefully if we cannot get a screen
2008-08-11  Jens Granseuer  <jensgr@gmx.net>

	* xrandr-capplet.c: (run_application): fail gracefully if we cannot
	get a screen

2008-08-11  Jens Granseuer  <jensgr@gmx.net>

	* configure.in: require gnome-desktop 2.23.90

svn path=/trunk/; revision=8852
2008-08-11 20:30:49 +00:00
Jens Granseuer
21ded784f8 replace all uses of g_print by g_debug
2008-08-08  Jens Granseuer  <jensgr@gmx.net>

	* xrandr-capplet.c: (on_screen_changed), (rebuild_gui),
	(print_edge), (on_output_event), (paint_output), (on_area_paint),
	(check_required_virtual_size), (apply), (run_application): replace
	all uses of g_print by g_debug

svn path=/trunk/; revision=8848
2008-08-08 17:51:22 +00:00
Jens Granseuer
84963ec8ef don't leak the application or the GladeXML
2008-08-08  Jens Granseuer  <jensgr@gmx.net>

	* xrandr-capplet.c: (run_application), (main): don't leak the
	application or the GladeXML

svn path=/trunk/; revision=8847
2008-08-08 17:47:04 +00:00
Jens Granseuer
2dadfef80e Based on a patch by: Bastien Nocera <hadess@hadess.net>
2008-08-07  Jens Granseuer  <jensgr@gmx.net>

	Based on a patch by: Bastien Nocera <hadess@hadess.net>

	* sound-properties.glade:
	* sound-theme-definition.h: HIG fixes and improved wording (bug
	#545219)

svn path=/trunk/; revision=8844
2008-08-07 20:19:32 +00:00
Jens Granseuer
330fd8c42f fix warning due to left-over developer code (bug #546583)
2008-08-06  Jens Granseuer  <jensgr@gmx.net>

	* sound-properties-capplet.c: (create_dialog): fix warning due to
	left-over developer code (bug #546583)

svn path=/trunk/; revision=8841
2008-08-06 18:35:47 +00:00
Rodrigo Moya
8c8934b0b6 added missing file to _SOURCES.
2008-08-04  Rodrigo Moya <rodrigo@gnome-db.org>

	* Makefile.am: added missing file to _SOURCES.

svn path=/trunk/; revision=8837
2008-08-05 11:47:55 +00:00
S%G�%@ren Sandmann
517de0961d Draw rotated outputs rotated.
Tue Aug  5 03:19:23 2008  S%G�%@ren Sandmann  <sandmann@redhat.com>

	* xrandr-capplet.c (paint_output): Draw rotated outputs rotated.


svn path=/trunk/; revision=8836
2008-08-05 07:21:28 +00:00
Jens Granseuer
05ce6eaabe if the metatheme loaded doesn't define a notification theme don't set it
2008-08-03  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-apply.c: (gnome_meta_theme_set): if the metatheme loaded
	doesn't define a notification theme don't set it to "standard" (bug
	#546036)

svn path=/trunk/; revision=8834
2008-08-03 08:23:24 +00:00
Jens Granseuer
ee3ab41e5d Based on a patch by: Alexander Schwenn <alesch@xelaris.net>
2008-08-02  Jens Granseuer  <jensgr@gmx.net>

	Based on a patch by: Alexander Schwenn <alesch@xelaris.net>

	* sound-properties-capplet.c: (filter_device_generic),
	(filter_device_alsa), (filter_device_oss),
	(get_device_description), (device_added_alsa), (device_added_oss): add
	some filtering for OSS devices and create more useful device
	descriptions (bug #545275)

svn path=/trunk/; revision=8832
2008-08-02 12:59:44 +00:00
Matthias Clasen
1b2d3b0509 Use an existing icon
svn path=/trunk/; revision=8831
2008-08-01 17:17:02 +00:00
Bastien Nocera
4bede81a0a "touch" the custom theme directory every time we make a change (Closes:
2008-07-29  Bastien Nocera  <hadess@hadess.net>

	* sound-theme-file-utils.c (custom_theme_update_time):
	* sound-theme-file-utils.h:
	* sound-theme.c (save_custom_theme): "touch" the custom theme
	directory every time we make a change (Closes: #545373)


svn path=/trunk/; revision=8828
2008-07-29 22:45:18 +00:00
Jens Granseuer
7a1896a34b make theme installation from GIO-supported sources work (including drag
2008-07-29  Jens Granseuer  <jensgr@gmx.net>

	* appearance-main.c: (main):
	* appearance-themes.c: (theme_drag_data_received_cb):
	* theme-installer.c: (gnome_theme_install),
	(gnome_theme_installer_run):
	* theme-installer.h: make theme installation from GIO-supported
	sources work (including drag and drop) (bug #545335)

svn path=/trunk/; revision=8827
2008-07-29 21:10:04 +00:00
Jens Granseuer
ff258486a6 make the file transfer dialog work with GFiles instead gchar paths
2008-07-29  Jens Granseuer  <jensgr@gmx.net>

	* file-transfer-dialog.c: (file_transfer_job_destroy),
	(file_transfer_job_schedule), (file_transfer_dialog_copy_async):
	make the file transfer dialog work with GFiles instead gchar paths
	internally

2008-07-29  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (gnome_theme_install_from_uri): file transfer
	dialog now uses GFiles internally, so update the caller

svn path=/trunk/; revision=8826
2008-07-29 20:21:47 +00:00
Jens Granseuer
15dc0f2a79 fix build without libcanberra
2008-07-29  Jens Granseuer  <jensgr@gmx.net>

	* capplets/Makefile.am:
	* configure.in: fix build without libcanberra

svn path=/trunk/; revision=8824
2008-07-29 18:30:28 +00:00
Rodrigo Moya
ebc660f223 Patch from James Westby <jw+debian@jameswestby.net>
2008-07-29  Rodrigo Moya <rodrigo@gnome-db.org>

	Patch from James Westby <jw+debian@jameswestby.net>
	
	* gnome-da-capplet.c (combo_conv_from_widget): don't return NULL, but
	the already set 'ret' variable, to allow Custom commands to work (bug
	#545280)

svn path=/trunk/; revision=8823
2008-07-29 12:12:34 +00:00
Bastien Nocera
5b7ea158a0 Never mind, the define is actually used
2008-07-29  Bastien Nocera  <hadess@hadess.net>

	* sound-theme.c (setup_sound_theme_custom): Never mind, the define is
	actually used


svn path=/trunk/; revision=8822
2008-07-29 09:56:39 +00:00
Bastien Nocera
dee271f30f Remove visual-bell.png, unused now
2008-07-29  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am: Remove visual-bell.png, unused now


svn path=/trunk/; revision=8821
2008-07-29 08:16:27 +00:00
Soren Sandmann
68f14a1f11 Add a check box to turn on and off display icon.
Tue Jul 29 01:35:31 2008  Soren Sandmann  <sandmann@redhat.com>

	* xrandr-capplet.c: Add a check box to turn on and off display icon.


svn path=/trunk/; revision=8820
2008-07-29 05:38:02 +00:00
Bastien Nocera
4b3d8c6957 Remove unused define
2008-07-29  Bastien Nocera  <hadess@hadess.net>

	* sound-theme.c: Remove unused define


svn path=/trunk/; revision=8818
2008-07-29 00:40:08 +00:00
Jens Granseuer
07ac9b7c5d fix critical warning when music directory isn't set
2008-07-28  Jens Granseuer  <jensgr@gmx.net>

	* sound-theme.c: (get_sound_filename): fix critical warning when music
	directory isn't set

	* (setting_column_edited): fix more leaks

	* (theme_changed_custom_reinit): when resetting a theme, also reset
	the preview icon status

svn path=/trunk/; revision=8816
2008-07-28 20:51:28 +00:00
Jens Granseuer
0a36199bb6 plug some leaks, simplify and/or clarify some code
2008-07-28  Jens Granseuer  <jensgr@gmx.net>

	* sound-theme.c: (load_index_theme_name),
	(set_combox_for_theme_name), (theme_combobox_changed),
	(setup_sound_theme), (get_sound_filename), (dump_theme),
	(setting_column_edited), (setup_sound_theme_custom): plug some leaks,
	simplify and/or clarify some code

svn path=/trunk/; revision=8815
2008-07-28 20:12:58 +00:00
Jens Granseuer
0b295549dd don't preview sounds for insensitive rows
2008-07-28  Jens Granseuer  <jensgr@gmx.net>

	* sound-theme.c: (custom_treeview_button_press_event_cb): don't
	preview sounds for insensitive rows

svn path=/trunk/; revision=8814
2008-07-28 19:45:24 +00:00
Bastien Nocera
5cc13a9b71 When selecting a non-custom sound (such as disabled, or builtin), don't
2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* sound-theme.c (setting_set_func), (fill_custom_model),
	(save_sounds), (count_customised_sounds), (setting_column_edited):
	When selecting a non-custom sound (such as disabled, or builtin),
	don't remove the previous custom file's filename from the tree store,
	When a custom file was previously selected, always show it in the
	combo box drop-down (Closes: #545055)


svn path=/trunk/; revision=8812
2008-07-28 18:29:54 +00:00
Bastien Nocera
ee2b7e711b When selecting custom files, listen to "update-preview", and try to play
2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* sound-theme.c (play_sound_preview), (get_sound_filename):
	When selecting custom files, listen to "update-preview", and try
	to play everything that the user might select (Closes: #545056)


svn path=/trunk/; revision=8810
2008-07-28 17:35:38 +00:00
Bastien Nocera
e8779d1c8b Fix changelog
svn path=/trunk/; revision=8809
2008-07-28 14:52:27 +00:00
Bastien Nocera
2f22b9318e Fix permissions on the custom theme directory, otherwise not even the user
2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* sound-theme.c (save_custom_theme): Fix permissions on the
	custom theme directory, otherwise not even the user can read the files
	in there


svn path=/trunk/; revision=8808
2008-07-28 14:45:41 +00:00
Lennart Poettering
2d9043878a Pass 'cache control' and 'enable' properties to ca_gtk_play_for_widget()
svn path=/trunk/; revision=8807
2008-07-28 14:11:36 +00:00
Bastien Nocera
946ecfafb6 Fix build for the previous change
2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* theme-installer.c (cleanup_tmp_dir):
	* theme-util.c (theme_delete): Fix build for the previous change


svn path=/trunk/; revision=8806
2008-07-28 13:28:05 +00:00
Matthias Clasen
6297a3ea37 Revert the last change
svn path=/trunk/; revision=8804
2008-07-28 05:06:35 +00:00
Bastien Nocera
2cac70eea3 Remove libsounds and esound usage, check for libcanberra instead (Closes:
2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am:
	* configure.in: Remove libsounds and esound usage, check for
	libcanberra instead (Closes: #542979)

2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* theme-util.c:
	* theme-util.h: Remove the directory deletion helpers, and
	move them to the common sub-directory

2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am:
	* capplet-util.c (directory_delete_recursive),
	(capplet_file_delete_recursive):
	* capplet-util.h: Move directory deletion helper function
	from the appearance capplet into a common directory

2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am:
	* sound-properties-capplet.c (create_dialog), (setup_dialog),
	(get_legacy_settings):
	* sound-properties.glade:
	* sound-theme-definition.h:
	* sound-theme-file-utils.[ch]:
	* sound-theme.[ch]: Remove separate bell settings tab, remove
	libsounds dependency, add freedesktop sound theme support through
	libcanberra (Closes: #542979)


svn path=/trunk/; revision=8802
2008-07-27 23:32:35 +00:00
Matthias Clasen
16ad9834ca More broken icons
svn path=/trunk/; revision=8801
2008-07-27 23:11:35 +00:00
Jens Granseuer
4a8637592a Based on a patch by: Denis Washington <denisw@svn.gnome.org>
2008-07-26  Jens Granseuer  <jensgr@gmx.net>

	Based on a patch by: Denis Washington <denisw@svn.gnome.org>

	* gnome-keybinding-properties.c: (binding_name), (show_error),
	(accel_edited_callback): when trying to assign a shortcut that is
	already in use, ask the user whether to reassign it instead of
	refusing to do anything (bug #133318)

svn path=/trunk/; revision=8796
2008-07-26 09:13:40 +00:00
Jens Granseuer
47a1063481 use -x instead of -e as exec_flag for Terminator (bug #544058)
2008-07-24  Jens Granseuer  <jensgr@gmx.net>

	* gnome-default-applications.xml.in: use -x instead of -e as exec_flag
	for Terminator (bug #544058)

svn path=/trunk/; revision=8793
2008-07-24 16:34:17 +00:00
Jens Granseuer
dfb3ffda0c don't delete ~/.icons when deleting the last icon theme (bug #543763)
2008-07-20  Jens Granseuer  <jensgr@gmx.net>

	* theme-util.c: (theme_delete): don't delete ~/.icons when deleting
	the last icon theme (bug #543763)

svn path=/trunk/; revision=8791
2008-07-20 09:38:36 +00:00
S%G�%@ren Sandmann
8d42670499 Don't allow dragging when there is only one connected monitor.
Tue Jul 15 18:48:43 2008  S%G�%@ren Sandmann  <sandmann@redhat.com>

	* xrandr-capplet.c: Don't allow dragging when there is only one
	connected monitor.


svn path=/trunk/; revision=8784
2008-07-15 22:51:02 +00:00
Jens Granseuer
8ae8397e50 add capplets/default-applications/gnome-default-applications.pc to
2008-07-15  Jens Granseuer  <jensgr@gmx.net>

	* configure.in: add
	capplets/default-applications/gnome-default-applications.pc to
	generated files

2008-07-15  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am: install the default apps list in the default-apps
	subdirectory
	* gnome-da-xml.c: (gnome_da_xml_load_list): load everything from there
	* gnome-default-applications.pc.in: add file so that applications can
	query where to put their extensions

svn path=/trunk/; revision=8783
2008-07-15 22:03:57 +00:00
Jens Granseuer
d0e7d2a09c Patch by: Aprotim Sanyal <aprotim@google.com>
2008-07-15  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Aprotim Sanyal <aprotim@google.com>

	* gnome-da-xml.c: (gnome_da_xml_load_list): make it possible for apps
	to install additional XML files to extend the list of available
	applications (bug #527304)

svn path=/trunk/; revision=8782
2008-07-15 21:37:12 +00:00
Matthias Clasen
536abe1a33 Bug 533611 - add notification themes to the metatheme format
* appearance-themes.c: When loading a metatheme from GConf, read
        the notification theme from /apps/notification-daemon/theme.

        * appearance-theme-save.c: When saving a metatheme to disk,
        save the notification theme with the key NotificationTheme.

        * appearance-theme-util.h: Add a define for the GConf key
        used for notification theme.


        * gnome-theme-apply.c: When applying a metatheme, apply
        the notification theme, too.

        * gnome-theme-info.h: Add a notification_theme_name field
        to the metatheme info struct.

        * gnome-theme-info.c: When reading a metatheme from a keyfile,
        handle notification themes.


svn path=/trunk/; revision=8781
2008-07-15 18:23:31 +00:00
Søren Sandmann
13f6a9ef03 Remove this obsolete file.
Thu Jul 10 14:46:37 2008  Søren Sandmann  <sandmann@redhat.com>

	* main.c: Remove this obsolete file.
	
	* xrandr-capplet.c: Remove debug spew; add translation.

	* TODO: Various updates.


svn path=/trunk/; revision=8778
2008-07-10 18:49:58 +00:00