Commit graph

98 commits

Author SHA1 Message Date
Peter Hutterer
2e347d700a Disable tapping only for touchpads without a left mouse button.
Apple touchpads have a single physical button and are thus capable of
working even if tapping is disabled. Don't force it on for these touchpads.

This patch simply changes the check for physical buttons from the previous
"check for LMR be present" to "check only for L".

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-01-16 11:21:22 +01:00
Peter Hutterer
a5bf115175 Disable two-finger scrolling/tapping based on touchpad capabilities.
Touchpads that can't do two-finger cannot two-finger scroll - disable this
scroll method.

Touchpads that don't have physical buttons mustn't disable tapping - set to
on by default and disable checkbox.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-11-13 17:54:16 +01:00
Jens Granseuer
2aa9fd4044 Keep touchpad UI in sync with GConf
Add the touchpad GConf directory to the list of reported directories
so that the displayed configuration in the UI is kept current. Also
remove some redundant code. Closes bug #592425.
2009-08-22 11:37:25 +02:00
Robert Ancell
f12b766e60 Remove all references to Glade
Fix up POTFILES.in for new .ui files
2009-07-31 09:09:31 +10:00
Robert Ancell
5e17d0984f Remove libglade dependency on gnome-mouse-properties 2009-07-31 09:09:31 +10:00
Peter Hutterer
e14a84a718 Support touchpad configuration through device properties.
This patch is based on Ubuntu's touchpad configuration.

It adds a new tab to gnome-mouse-properties that allows to enable/disable the
touchpad, tapping and select between edge scrolling and two-finger scrolling.

It adds the following gconf keys:
    /desktop/gnome/peripherals/touchpad/disable_while_typing (boolean)
    /desktop/gnome/peripherals/touchpad/tap_to_click         (boolean)
    /desktop/gnome/peripherals/touchpad/horiz_scroll_enabled (boolean)
    /desktop/gnome/peripherals/touchpad/scroll_method        (integer)
    [0,1,2 for disabled, edge and two-finger scrolling, respectively]

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-12 22:43:19 +01:00
Thomas Hindoe Paaboel Andersen
e5208bc543 Replace deprecated GTK symbols. Fixes part of bug #572325
svn path=/trunk/; revision=9283
2009-02-22 22:01:40 +00:00
Søren Sandmann
06a74d0ef1 Use capplet_init()
Fri Oct 24 18:28:54 2008  Søren Sandmann  <sandmann@redhat.com>

	* sound-properties-capplet.c (main): Use capplet_init()

Fri Oct 24 18:29:14 2008  Søren Sandmann  <sandmann@redhat.com>

	* capplet-util.c: Call g_option_context_set_translation_domain on
	the context.


svn path=/trunk/; revision=9106
2008-10-24 22:29:43 +00:00
Søren Sandmann
0855f4bf5e Print a newline after the error message
Fri Oct 24 17:55:00 2008  Søren Sandmann  <sandmann@redhat.com>

	* gnome-mouse-properties.c (main): Print a newline after the error message



svn path=/trunk/; revision=9104
2008-10-24 21:55:11 +00:00
Søren Sandmann Pedersen
1c2c68aa78 +Fri Oct 24 17:50:21 2008 Søren Sandmann <sandmann@redhat.com>
+
+	* gnome-mouse-properties.c (main): Use gtk_init_with_args()
+	instead of gnome_program_init()
+


svn path=/trunk/; revision=9102
2008-10-24 21:50:29 +00:00
Søren Sandmann
1616422ded Use gtk_show_uri() instead of gnome_help_display_desktop()
Fri Oct 24 15:42:11 2008  Søren Sandmann  <sandmann@redhat.com>

	* Use gtk_show_uri() instead of gnome_help_display_desktop()


svn path=/trunk/; revision=9094
2008-10-24 19:42:26 +00:00
Matthias Clasen
1b2d3b0509 Use an existing icon
svn path=/trunk/; revision=8831
2008-08-01 17:17:02 +00:00
Gerd Kohlberger
4389eaa5ff Remove unused custom widget. Clean up. (Bug #527418)
2008-04-11  Gerd Kohlberger  <gerdk@svn.gnome.org>

	* gnome-mouse-properties.c: (create_dialog): Remove unused custom widget.
	* gnome-mouse-accessibility.h: Clean up. (Bug #527418)


svn path=/trunk/; revision=8644
2008-04-11 07:12:14 +00:00
Jens Granseuer
debb696c49 Patch by: Patrick Wade <patrick.wade@sun.com>
2008-03-27  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Patrick Wade <patrick.wade@sun.com>

	* at-enable-dialog.glade:
	* main.c: (create_dialog), (cb_at_preferences),
	(cb_keyboard_preferences), (cb_mouse_preferences),
	(cb_login_preferences), (setup_dialog): add button to launch mouse
	accessibility properties (bug #515078)

2008-03-27  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Patrick Wade <patrick.wade@sun.com>

	* gnome-mouse-properties.c: (main):
	* gnome-mouse-properties.glade: add support for starting the capplet
	on the appearance tab (required by bug #515078)

svn path=/trunk/; revision=8597
2008-03-27 19:23:18 +00:00
Denis Washington
008dd57206 make the mouse orientation radio buttons usable with both mouse buttons.
2008-02-29  Denis Washington  <denisw@svn.gnome.org>

	* capplets/mouse/gnome-mouse-properties.c: make the mouse
 	orientation radio buttons usable with both mouse buttons.

svn path=/trunk/; revision=8535
2008-02-29 13:39:00 +00:00
Luca Ferretti
9e37b7feb3 reviewed by: Jens Granseuer
2008-02-08  Luca Ferretti  <elle.uca@libero.it>

	reviewed by: Jens Granseuer

	* gnome-mouse-properties.c: (create_dialog): set up the proper
	scale widgets to GtkSizeGroup in both tabs
	* gnome-mouse-properties.glade: fix HIG compliance for spacing,
	borders, padding, alignment and sentence label (bug #510147,
	comment 23)


svn path=/trunk/; revision=8454
2008-02-08 16:55:40 +00:00
Jens Granseuer
62dd7faa9e remove left-over callback that was causing the capplet to set a label on a
2008-01-25  Jens Granseuer  <jensgr@gmx.net>

	* gnome-mouse-properties.c: (delay_value_changed_cb), (setup_dialog):
	remove left-over callback that was causing the capplet to set a label
	on a NULL widget (bug #510425)

svn path=/trunk/; revision=8411
2008-01-25 18:29:28 +00:00
Denis Washington
429996b996 Integrate mousetweaks settings into the mouse capplet. (Bug #503547)
2008-01-14  Denis Washington  <denisw@svn.gnome.org>

	Integrate mousetweaks settings into the mouse capplet. (Bug #503547)

	* capplets/mouse/gnome-mouse-properties.glade:
	Merge the previous "Buttons" and "Motion" tabs into one, and add a new
	"Accessibility" tab with the mousetweaks preferences. Additionally, re-add
	the "Locate Pointer" preference which disappeared in 2.20. (Bug #480457)

	* capplets/mouse/gnome-mouse-properties.c:
	Call setup function for the a11y tab, update for a small UI change regarding
	handness preferences, and implement the locate-pointer checkbox.

	* capplets/mouse/gnome-mouse-accessibility.[ch]:
	Added.

	* capplets/mouse/Makefile.am:
	Add gnome-mouse-accessibility.c.
	
	* gnome-settings-daemon/gnome-settings-mouse.c:
	Mousetweaks support.

svn path=/trunk/; revision=8385
2008-01-14 16:35:21 +00:00
Denis Washington
03b9c9b1e1 Remove the Cursors tab as it's functionality is covered by the apperance
2007-05-26  Denis Washington  <dwashington@gmx.net>

	* gnome-mouse-properties.glade:
	* gnome-mouse-poperties.c:
	Remove the Cursors tab as it's functionality is covered by the apperance
	capplet now.

svn path=/trunk/; revision=7889
2007-07-26 11:19:04 +00:00
Jens Granseuer
f51b1f9dea port from deprecated GtkOptionMenu to GtkComboBox
2007-05-08  Jens Granseuer  <jensgr@gmx.net>

	* gnome-mouse-properties.c: (cursor_size_from_widget),
	(setup_dialog):
	* gnome-mouse-properties.glade: port from deprecated GtkOptionMenu to
	GtkComboBox

svn path=/trunk/; revision=7575
2007-05-07 22:31:51 +00:00
Jens Granseuer
8b90d02157 fix build with gcc 2, and move setting the sort column somewhere sensible
2007-03-05  Jens Granseuer  <jensgr@gmx.net>

	* gnome-mouse-properties.c: (populate_tree_model), (setup_dialog): fix
	build with gcc 2, and move setting the sort column somewhere sensible

svn path=/trunk/; revision=7364
2007-03-05 19:26:18 +00:00
Thomas Wood
68b68e08b8 Patch by: Thomas Zajic <zlatko@gmx.at>
2007-03-04  Thomas Wood  <thos@gnome.org>

	Patch by: Thomas Zajic <zlatko@gmx.at>

	* gnome-mouse-properties.c: (populate_tree_model): Add two popular cursor
	sizes to the filter, and sort "Pointers" list alphabetically.

svn path=/trunk/; revision=7358
2007-03-04 17:39:36 +00:00
Jens Granseuer
de5b25e235 remove some dead code, and don't crash if the glade file is not available
2007-02-09  Jens Granseuer  <jensgr@gmx.net>

	* gnome-mouse-properties.c: (create_dialog), (main): remove some dead
	code, and don't crash if the glade file is not available

svn path=/trunk/; revision=7273
2007-02-09 17:34:29 +00:00
Christian Persch
43d40d7a0a Don't define directories in configure. Remove some obsolete defines, and
2007-02-02  Christian Persch  <chpe@svn.gnome.org>

	* Makefile.am:
	* capplets/about-me/Makefile.am:
	* capplets/about-me/gnome-about-me-password.c: (passdlg_init):
	* capplets/about-me/gnome-about-me.c: (about_me_setup_dialog):
	* capplets/accessibility/at-properties/Makefile.am:
	* capplets/accessibility/keyboard/Makefile.am:
	* capplets/accessibility/keyboard/accessibility-keyboard.c:
	(setup_accessX_dialog):
	* capplets/background/Makefile.am:
	* capplets/background/gnome-wp-capplet.c: (gnome_wp_create_dialog):
	* capplets/common/Makefile.am:
	* capplets/common/capplet-util.c: (capplet_set_icon):
	* capplets/default-applications/Makefile.am:
	* capplets/display/Makefile.am:
	* capplets/file-types/Makefile.am:
	* capplets/file-types/file-types-capplet.c: (create_dialog):
	* capplets/file-types/mime-category-edit-dialog.c:
	(mime_category_edit_dialog_init):
	* capplets/file-types/mime-edit-dialog.c: (mime_edit_dialog_init):
	* capplets/file-types/service-edit-dialog.c:
	(service_edit_dialog_init):
	* capplets/font/Makefile.am:
	* capplets/keybindings/Makefile.am:
	* capplets/keybindings/gnome-keybinding-properties.c:
	(create_dialog):
	* capplets/keyboard/Makefile.am:
	* capplets/keyboard/gnome-keyboard-properties-xkblt.c:
	(xkb_layout_choose):
	* capplets/keyboard/gnome-keyboard-properties-xkbmc.c:
	(choose_model):
	* capplets/keyboard/gnome-keyboard-properties.c: (create_dialog):
	* capplets/localization/Makefile.am:
	* capplets/localization/gnome-localization-properties.c:
	(create_dialog):
	* capplets/mime-type/Makefile.am:
	* capplets/mouse/Makefile.am:
	* capplets/mouse/gnome-mouse-properties.c: (create_dialog):
	* capplets/network/Makefile.am:
	* capplets/network/gnome-network-preferences.c:
	(cb_http_details_button_clicked), (main):
	* capplets/rollback/Makefile.am:
	* capplets/sound/Makefile.am:
	* capplets/sound/sound-properties-capplet.c: (create_dialog),
	(device_test_button_clicked):
	* capplets/theme-switcher/Makefile.am:
	* capplets/ui-properties/Makefile.am:
	* capplets/ui-properties/gnome-ui-properties.c: (create_dialog):
	* capplets/url-properties/Makefile.am:
	* capplets/windows/Makefile.am:
	* capplets/wm-properties/wm-desktops/Makefile.am:
	* configure.in:
	* gnome-settings-daemon/Makefile.am:
	* gnome-settings-daemon/actions/Makefile.am:
	* gnome-settings-daemon/gnome-settings-xmodmap.c:
	(gnome_settings_modmap_dialog_call):
	* gnome-settings-daemon/gnome-settings-xrdb.c:
	* gnome-settings-daemon/gsd-media-keys-window.c: (action_changed),
	(gsd_media_keys_window_init):
	* gnome-settings-daemon/xrdb/Makefile.am:
	* typing-break/Makefile.am:
	* vfs-methods/themus/Makefile.am: Don't define directories in
	configure. Remove some obsolete defines, and use the standard
	installation paths. Bug #395383.

svn path=/trunk/; revision=7226
2007-02-02 18:12:40 +00:00
Jens Granseuer
c1262a0e4f Fixes #395539
2007-01-17  Jens Granseuer <jensgr@gmx.net>

	Fixes #395539

	* gnome-mouse-properties.c (read_cursor_font, populate_tree_model,
	setup_dialog, dialog_response_cb, main): fixed memory leaks.

svn path=/trunk/; revision=7145
2007-01-17 10:50:17 +00:00
Lucas Rocha
83c0670baa Fixes #336286
2007-01-06  Lucas Rocha <lucasr.at.mundo@gmail.com>

	Fixes #336286

	* gnome-mouse-properties.c (main): switched from popt to GOptionContext.

svn path=/trunk/; revision=7057
2007-01-06 18:55:07 +00:00
Sven Herzberg
f6691b0266 also display the default theme (though without a preview for technical
2006-08-16  Sven Herzberg  <herzi@gnome-de.org>

        * gnome-mouse-properties.c: also display the default theme (though
	without a preview for technical reasons); fixes bug #322514
2006-08-16 17:16:13 +00:00
Sven Herzberg
df1378de7b use ngettext() correctly
2006-07-24  Sven Herzberg  <herzi@gnome-de.org>

        * gnome-mouse-properties.c: use ngettext() correctly
2006-07-24 12:38:02 +00:00
Sven Herzberg
c5b89b3fe1 fix the non-xcursor case for solaris; closes: #319125 (based upon patch
2006-07-24  Sven Herzberg  <herzi@gnome-de.org>

        * gnome-mouse-properties.c: fix the non-xcursor case for solaris;
	closes: #319125 (based upon patch from Glynn Foster)
2006-07-24 11:52:35 +00:00
Darren Kenny
a75e369747 Fixes #340003
2006-06-11  Darren Kenny <darren.kenny@sun.com>

	Fixes #340003

	* gnome-mouse-properties.c (cursor_font_changed): if no cursor font
	set in GConf, just unselect and return.
2006-06-11 10:50:42 +00:00
Darren Kenny
0b84184181 Fixes #340003
2006-06-11  Darren Kenny <darren.kenny@sun.com>

	Fixes #340003

	* gnome-mouse-properties.c (cursor_font_changed): if no cursor font
	set in GConf, just unselect and return.
2006-06-11 10:50:31 +00:00
Anilkumar Bacheli
91bb73fc56 Fixes #330588
2006-02-14  Anilkumar Bacheli <anilkumar.bacheli@wipro.com>

	Fixes #330588

	* gnome-mouse-properties.glade: Modified the Slider value label to
	"milliseconds" instead of "microseconds".

	* gnome-mouse-properties.c: Use ngettext() to get the correct plural
	form of the message. Also changed so that the slider label is in
	"milliseconds"
2006-02-17 11:22:34 +00:00
Anilkumar Bacheli
ae7e848c04 Fixes #154769
2006-01-28  Anilkumar Bacheli <anilkumar.bacheli@wipro.com>

	Fixes #154769

	* gnome-mouse-properties.glade: Modified the glade file so that
	context information for the slider is available to screen reader.
	Also, modified the Slider value label to "microseconds" instead of
	seconds.

	* gnome-mouse-properties.c: Changed the slider label to be in sync with
	speech.
2006-01-28 19:28:51 +00:00
Scott Bronson
677fe1e967 Fixes #318056
2006-01-28  Scott Bronson <bronson@rinspin.com>

	Fixes #318056

	* gnome-mouse-properties.c (cursor_font_changed):
	* gnome-mouse-properties.glade: use "mouse pointer" instead of "cursor"
	in user-visible strings.
2006-01-28 15:44:56 +00:00
Kjartan Maraas
564a9d03aa Huge cleanup. Individual ChangeLogs have info. Closing bug #320157. ANSIfy
2005-11-14  Kjartan Maraas  <kmaraas@gnome.org>

	* */*: Huge cleanup. Individual ChangeLogs have info.
	Closing bug #320157.
	* libkbddraw/keyboard-drawing.h: ANSIfy some function declarations.
2005-11-14 15:18:09 +00:00
Jens Granseuer
962e2d3bb0 Fixes #318746
2005-10-24  Jens Granseuer <jensgr@gmx.net>

	Fixes #318746

	* gnome-mouse-properties.c (populate_tree_model): gcc 2.95 compilation
	fixes.
2005-10-24 10:12:09 +00:00
Sebastien Bacher
4608b226d3 fix a crasher when the cursor theme has no icon.
2005-09-16  Sebastien Bacher  <seb128@debian.org>

        * gnome-mouse-properties.c: (populate_tree_model):
        fix a crasher when the cursor theme has no icon.
2005-09-16 12:43:01 +00:00
Rodrigo Moya
75bab33c15 guard against invalid values from the GtkHScale widget.
2005-08-31  Rodrigo Moya <rodrigo@novell.com>

	* gnome-mouse-properties.c (delay_value_changed_cb): guard against
	invalid values from the GtkHScale widget.
2005-09-08 10:01:59 +00:00
Sven Herzberg
ef660349a1 listen to the XCURSOR_PATH environment variable (Closes: #312534).
2005-08-30  Sven Herzberg  <herzi@gnome-de.org>

        * gnome-mouse-properties.c: listen to the XCURSOR_PATH environment
        variable (Closes: #312534).
2005-08-29 22:44:42 +00:00
Kjartan Maraas
4583778397 Move the call to g_free (cursor_font) outside of the conditional so it
2005-08-24  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-mouse-properties.c: (cursor_changed): Move the call to
	g_free (cursor_font) outside of the conditional so it gets free'd
	in both cases.
2005-08-24 17:16:58 +00:00
Sebastien Bacher
a896b6888c no need to allocate a string for the theme when there is no theme
2005-08-01  Sebastien Bacher  <seb128@debian.org>

        * gnome-mouse-properties.c: (cursor_theme_changed): no need to allocate
        a string for the theme when there is no theme installed.
2005-08-01 15:59:43 +00:00
Sebastien Bacher
c5d1a9b0b7 don't crash if there is no cursor theme installed (Closes: #311599).
2005-08-01  Sebastien Bacher  <seb128@debian.org>

        * gnome-mouse-properties.c: (cursor_theme_changed):
        don't crash if there is no cursor theme installed (Closes: #311599).
2005-08-01 13:11:03 +00:00
Sebastien Bacher
560cb26529 update dynamically the double click label (Closes: #166908).
2005-07-31  Sebastien Bacher  <seb128@debian.org>

        * gnome-mouse-properties.c: (delay_value_changed_cb),
        (setup_dialog):
        update dynamically the double click label (Closes: #166908).
2005-07-31 12:58:41 +00:00
Sven Herzberg
c08f3685cc fix the without HAVE_XCURSOR build
2005-07-12  Sven Herzberg  <herzi@gnome-de.org>

        * gnome-mouse-properties.c: fix the without HAVE_XCURSOR build
2005-07-12 18:29:13 +00:00
Sebastien Bacher
e04dd790c9 new cursor theme manager for the mouse capplet, patch by Sven Herzberg
2005-07-10  Sebastien Bacher  <seb128@debian.org>

	* gnome-mouse-properties.c: (cursor_size_from_widget),
	(event_box_button_press_event), (cursor_theme_changed),
	(cursor_font_changed), (cursor_changed),
	(gdk_pixbuf_from_xcursor_image), (populate_tree_model),
	(setup_dialog), (create_dialog):
	* gnome-mouse-properties.glade:
	new cursor theme manager for the mouse capplet,
	patch by Sven Herzberg <herzi@gnome-de.org> with changes
	by Matthias Clasen <mclasen@redhat.com> (Closes: #110670).
2005-07-10 11:02:10 +00:00
Sebastien Bacher
581c37e2bb Cleanup of gconf and a few other things, patch from Kjartan Maraas
2005-05-22  Sebastien Bacher  <seb128@debian.org>

        * ChangeLog capplets/about-me/e-image-chooser.c
        capplets/accessibility/at-properties/at-startup-session.h
        capplets/accessibility/keyboard/accessibility-keyboard.c
        capplets/background/gnome-wp-info.c
        capplets/common/gconf-property-editor.c
        capplets/common/gnome-theme-apply.c
        capplets/default-applications/gnome-default-applications-properties.c
        capplets/keybindings/gnome-keybinding-properties.c
        capplets/keyboard/gnome-keyboard-properties.c
        capplets/mouse/gnome-mouse-properties.c
        capplets/network/gnome-network-preferences.c
        capplets/sound/sound-properties-capplet.c
        capplets/theme-switcher/gnome-theme-details.c
        capplets/theme-switcher/gnome-theme-manager.c
        capplets/ui-properties/gnome-ui-properties.c
        capplets/windows/gnome-window-properties.c
        gnome-settings-daemon/factory.c
        gnome-settings-daemon/gnome-settings-accessibility-keyboard.c
        gnome-settings-daemon/gnome-settings-background.c
        gnome-settings-daemon/gnome-settings-daemon.c
        gnome-settings-daemon/gnome-settings-daemon.h
        gnome-settings-daemon/gnome-settings-font.c
        gnome-settings-daemon/gnome-settings-keybindings.c
        gnome-settings-daemon/gnome-settings-keybindings.h
        gnome-settings-daemon/gnome-settings-keyboard-xkb.c
        gnome-settings-daemon/gnome-settings-keyboard.c
        gnome-settings-daemon/gnome-settings-locate-pointer.h
        gnome-settings-daemon/gnome-settings-mouse.c
        gnome-settings-daemon/gnome-settings-multimedia-keys.c
        gnome-settings-daemon/gnome-settings-screensaver.c
        gnome-settings-daemon/gnome-settings-sound.c
        gnome-settings-daemon/gnome-settings-xmodmap.c
        gnome-settings-daemon/gnome-settings-xrdb.c
        gnome-settings-daemon/gnome-settings-xsettings.c
        libbackground/applier.c libbackground/applier.h
        libbackground/preferences.c libsounds/sound-properties.c
        libsounds/sound-view.h libwindow-settings/gnome-wm-manager.c
        libwindow-settings/metacity-window-manager.c
        typing-break/drw-break-window.c typing-break/drw-utils.h
        typing-break/drwright.c vfs-methods/fontilus/font-view.c
        vfs-methods/themus/themus-theme-applier.c:
        Cleanup of gconf and a few other things,
        patch from Kjartan Maraas <kmaraas@gnome.org> (Closes: #301945).
2005-05-22 15:46:45 +00:00
Frédéric Crozat
347006e0d8 Use themed icons for WM hint. 2004-08-20 16:50:57 +00:00
Jody Goldberg
9a9008178d merge and update patch from
http://bugzilla.gnome.org/show_bug.cgi?id=134895
2004-03-31 21:30:23 +00:00
Mark McLoughlin
d9885e685f update help links to point to user-guide.xml
2004-02-12  Mark McLoughlin  <mark@skynet.ie>

        * capplets/display/main.c: (cb_dialog_response):
        * capplets/localization/gnome-localization-properties.c:
        (dialog_response): update help links to point to user-guide.xml
2004-02-12 14:23:03 +00:00
Sivaiah Nallagatla
e477e1c2b0 gnome-mouse-properties.c (delay_value_changed_cb) (setup_dialog): patch
2003-11-19 Sivaiah Nallagatla <snallagatla@novell.com>
 gnome-mouse-properties.c
 (delay_value_changed_cb)
 (setup_dialog): patch for fixing showing double click time out value initially. #119859 in bugzilla.gnome.org
2003-11-19 06:00:45 +00:00