summaryrefslogtreecommitdiff
path: root/gdk/x11/gdksettings.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a gtk-overlay-scrolling settingMatthias Clasen2019-05-311-0/+1
| | | | | This is in preparation for letting user opt out of overlay scrolling in the control-center.
* x11: Remove to unused settingsMatthias Clasen2019-05-191-2/+0
| | | | | We no longer have settings for gtk-button-images or gtk-menu-images.
* Stop using settings for modulesMatthias Clasen2018-02-181-1/+0
| | | | | | | | The Wayland backend was already not supporting this setting since it is an XSetting that is not backed by a GSetting. Drop this setting altogether, since we will stop supporting general-purpose modules.
* gdk: Add an X setting for gtk-keynav-use-caretMatthias Clasen2016-03-041-0/+1
| | | | This will let us toggle the use-caret setting session-wide.
* Add an XSetting for primary button warps sliderOlav Vitters2016-01-261-0/+1
| | | | | | | This will be used by xsettings-kde to ensure GTK+3.x programs behave consistently. https://bugzilla.gnome.org/show_bug.cgi?id=688524
* Add an XSetting for the session bus IDMatthias Clasen2014-12-181-0/+1
| | | | | | | This will allow us to identify situations where we are not on the same session bus as the xsettings provider. https://bugzilla.gnome.org/show_bug.cgi?id=671802
* Implement titlebar action settings for X11Matthias Clasen2014-09-251-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=729782
* Add a setting for dialog headersMatthias Clasen2014-01-171-0/+1
| | | | | | | This setting will let us keep traditional appearance of dialogs on platforms where this is expected. The new setting is called gtk-dialogs-use-header, backed by the Gtk/DialogsUseHeader xsetting.
* Redo header bar decorations once moreMatthias Clasen2013-12-211-0/+1
| | | | | | | | | | | | | | | Applications need a way to fix or adapt the decoration layout, for situations like split header bars. Setting the layout from the theme with a style property did not offer a good way to do this, and the ::show-close-button property does not provide fine-grained control. To improve the situation, move the layout string to a property of GtkHeaderBar which is backed by a setting. This allows platforms to set a default button layout independent of the theme, while applications can override the default. The style GtkWindow style property is now deprecated and ignored.
* Add a GtkSetting for 'shell-shows-desktop'Ryan Lortie2013-11-141-0/+1
| | | | | | | | | | | | Add a GtkSetting for whether the desktop shell is showing the desktop folder icons. This is on by default because most desktop shells do show the icons on the desktop. We already have a patch in gnome-settings-daemon to bind this to the org.gnome.desktop.background show-desktop-icons GSettings key which is off by default on GNOME. https://bugzilla.gnome.org/show_bug.cgi?id=712302
* Respect deprecated button images settingMatthias Clasen2013-10-241-0/+1
| | | | | | | | | | I have been convinced that it is a bad idea to change the behaviour at the same time as deprecating it, so go back to respecting the Gtk/ButtonImages xsetting in buttons created with gtk_button_new_from_stock() when it is set. The setting as well as the function are still deprecated, and the default value of the setting will remain FALSE.
* Respect deprecated menu images settingMatthias Clasen2013-10-241-0/+1
| | | | | | | | | I have been convinced that it is a bad idea to change the behaviour at the same time as deprecating it, so go back to respecting the Gtk/MenuImages xsetting in GtkImageMenuItem when it is set. The setting as well as the widget are still deprecated, and the default value of the setting will remain FALSE.
* Revert "Deprecate and ignore the cursor blink settings"Matthias Clasen2013-08-161-0/+3
| | | | | | | | | | | | | | | This reverts commit b2e666bf8f297eb998331fa8ce0062ce7a5198fa. We need to keep cursor blinking configurable for accessibility reasons. https://bugzilla.gnome.org/show_bug.cgi?id=704134 Conflicts: gdk/win32/gdkproperty-win32.c gdk/x11/gdksettings.c gtk/gtksettings.c gtk/gtktextview.c
* Deprecate and ignore the timeout-initial and timeout-repeat settingsWilliam Jon McCann2013-07-111-2/+0
|
* Deprecate and hardcode default toolbar icon size settingWilliam Jon McCann2013-07-081-1/+0
| | | | | Toolbar icon size can still be changed on a per-widget basis as needed by the application developer.
* Deprecate and hardcode default toolbar style settingWilliam Jon McCann2013-07-081-1/+0
| | | | | Toolbar style can still be changed on a per-widget basis as needed by the application developer.
* Deprecate and hardcode the value of visible-focus settingWilliam Jon McCann2013-07-081-1/+0
| | | | Just use the default value of AUTOMATIC and make it just work.
* x11: Add Gdk/UnscaledDPI to override Xft/DPIAlexander Larsson2013-07-031-1/+2
| | | | | | This lets use use a scaled Xft/DPI for old apps while not blowing up the size of scaled windows. Only apps supporting Gdk/WindowScaleFactor should supprt Gdk/UnscaledDPI.
* x11: Support the Gdk/WindowScalingFactor xsettingAlexander Larsson2013-07-031-1/+5
| | | | | This xsetting can be used to tell Gtk to use a specific window scaling for the screen.
* Remove gtk-im-status-style and gtk-im-preedit-style from GDK as wellWilliam Jon McCann2013-06-301-2/+0
|
* Deprecate the unused gtk-file-chooser-backend settingWilliam Jon McCann2013-06-301-1/+0
|
* Deprecate and ignore gtk-icon-sizes settingWilliam Jon McCann2013-06-261-1/+0
| | | | | We don't have icons rendered at arbitrary sizes and we have better APIs that aren't restricted to GtkIconSizes.
* Remove the rest of gtk-touchscreen-modeWilliam Jon McCann2013-06-261-1/+0
|
* Deprecate and ignore gtk-menu-bar-accel settingWilliam Jon McCann2013-06-261-1/+0
| | | | Use 'F10' by default.
* Deprecate and ignore gtk-fallback-icon-themeWilliam Jon McCann2013-06-261-1/+0
| | | | The standard icon themes have built in fallbacks.
* Deprecate and ignore the cursor blink settingsWilliam Jon McCann2013-06-261-3/+0
| | | | And hardcode them to reasonable values.
* Deprecate and ignore gtk-can-change-accelsWilliam Jon McCann2013-06-261-1/+0
| | | | It is disabled by default
* Deprecate and ignore gtk-enable-mnemonics and gtk-auto-mnemonics" propertiesWilliam Jon McCann2013-06-261-2/+0
| | | | They are both enabled by default.
* Deprecate and ignore gtk-menu-images settingWilliam Jon McCann2013-06-261-1/+0
| | | | | GtkImageMenuItem images can still be enabled selectively by the app author using the always-show-image property on the item.
* Deprecate and ignore gtk-button-images settingWilliam Jon McCann2013-06-261-1/+0
| | | | | Button images can still be enabled selectively by the app author using the always-use-image property on the button.
* Ignore Gtk/ShowInputMethodMenu and Gtk/ShowUnicodeMenu X settingsMatthias Clasen2013-06-071-2/+0
| | | | These are no longer used.
* x11: Store GDK name in xsettings hash tableBenjamin Otte2013-02-191-18/+1
| | | | | The X name is only used while reading the property, so no need to keep it.
* x11: Make xsettings callbacks code go awayBenjamin Otte2013-02-191-2/+2
| | | | | It's the same callbacks every time, so just move them into the source file.
* settings: add a gtk-recent-files-enabled GtkSettingCosimo Cecchi2013-02-131-1/+2
| | | | | | | Backed by an XSetting, so g-s-d can set it according to the GSettings value. https://bugzilla.gnome.org/show_bug.cgi?id=693724
* Use hash-based conversions for XSETTINGS names.John Lindgren2013-01-271-116/+85
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=692605
* Obtain the recent files max age setting from xsettingsMatthias Clasen2012-11-291-2/+4
| | | | | | | This will help with implementing desktop-wide policy for retaining of history. https://bugzilla.gnome.org/show_bug.cgi?id=689047
* Add support for disabling middle click pasteBastien Nocera2012-05-031-2/+5
| | | | | | | Adds a gtk-enable-primary-paste setting that is backed by and X setting, and make GtkEntry and GtkTextView respect it. https://bugzilla.gnome.org/show_bug.cgi?id=665243
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* GtkSettings: add shell-shows-menubar propertyRyan Lortie2011-12-191-2/+4
| | | | | Unity will set this to tell us that it is going to handle displaying the menubar.
* GtkSettings: add shell-shows-app-menu propertyRyan Lortie2011-12-191-2/+4
| | | | | | | | | This is a boolean property that will be set to TRUE if the current desktop environment is capable of displaying the application menu as part of the desktop shell. If it is FALSE then the application will need to display the menu for itself.
* Make focus rectangles optionalMatthias Clasen2011-08-101-2/+4
| | | | | | | | | | | | | | | | | | This commit introduces a new setting, gtk-visible-focus, backed by the Gtk/VisibleFocus X setting. Its three values control how focus rectangles are displayed. 'always' is equivalent to the traditional GTK+ behaviour of always rendering focus rectangles. 'never' does what it says, and is intended for keyboardless situations, e.g. tablets. 'automatic' hides focus rectangles initially, until the user interacts with the keyboard, at which point focus rectangles become visible. https://bugzilla.gnome.org/show_bug.cgi?id=649567
* Expose gtk-auto-mnemonics as an XsettingMatthias Clasen2011-01-221-3/+6
|
* gdk: Add big fat warning about updating XSettingsBastien Nocera2010-11-161-0/+4
| | | | | | There's a tool to see if we forgot to update the gdk_settings_map array, or got the offsets wrong. Mention those above the XSettings list.
* gdk: Update gdk_settings_map for blink timeout to workBastien Nocera2010-11-161-3/+4
| | | | | | | | | gdk_settings_map needs to be updated when gdk_settings_names is changed, and it's easier to add the setting at the end, so we don't need to recalculate everything. Really fixing: https://bugzilla.gnome.org/show_bug.cgi?id=634697
* gdk: Add XSetting for "gtk-cursor-blink-timeout"Bastien Nocera2010-11-131-0/+1
| | | | | | Otherwise the blink timeout is the one used by default in GTK+. https://bugzilla.gnome.org/show_bug.cgi?id=634697
* Add event sound settings. Patch by Lennart Pöttering.Matthias Clasen2008-07-011-2/+8
| | | | | | | | | * gdk/x11/gdksettings.c: * gtk/gtksettings.c: Add event sound settings. Patch by Lennart Pöttering. svn path=/trunk/; revision=20717
* Bug 536185 – monitor font configurationBehdad Esfahbod2008-06-061-2/+4
| | | | | | | | | | | | | | | | | 2008-06-06 Behdad Esfahbod <behdad@gnome.org> Bug 536185 – monitor font configuration * configure.in: * gdk/x11/gdksettings.c: * gtk/gtksettings.c (gtk_settings_class_init), (gtk_settings_notify), (settings_update_fontconfig): Monitor xsettings key Fontconfig/Timestamp and upon change, reread fontconfig configuration, clear Pango's caches, and redraw all widgets. svn path=/trunk/; revision=20324
* Add a gtk-im-module GTK settingMatthias Clasen2007-12-181-2/+5
| | | | | | | | | | | | | | | | 2007-12-17 Matthias Clasen <mclasen@redhat.com> * gtk/gtksettings.c: Add a gtk-im-module GTK setting * gdk/win32/gdkproperty-win32.c: * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting. * gtk/gtkimmodule.[hc]: * gtk/gtkimmulticontext.[hc]: When determining the default context, look at the gtk-im-module setting, and listen for changes to the setting. (#502446, Akira Tagoh) svn path=/trunk/; revision=19195
* Add xsetting for gtk-scrolled-window-placement (#458103).Ross Burton2007-11-211-2/+4
| | | | | | | | | 2007-11-21 Ross Burton <ross@openedhand.com> * gdk/x11/gdksettings.c: Add xsetting for gtk-scrolled-window-placement (#458103). svn path=/trunk/; revision=19021
* Add Gtk/EnableAccels and Gtk/EnableMnemonics xsettings forBehdad Esfahbod2007-11-211-2/+6
| | | | | | | | | | | | 2007-11-21 Behdad Esfahbod <behdad@gnome.org> * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively. (#436536, Tommi Komulainen) svn path=/trunk/; revision=19019