Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aaronbockover
gnome-settings-daemon
gnome-settings-daemon-bnc492020-increase-randr-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-settings-daemon-bnc492020-increase-randr-timeout.diff of Package gnome-settings-daemon
bnc#492020 - Increase the timeout of the RANDR confirmation dialog to make it easier to read. diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c index 3d8f37d..fbede4c 100644 --- a/plugins/xrandr/gsd-xrandr-manager.c +++ b/plugins/xrandr/gsd-xrandr-manager.c @@ -69,6 +69,11 @@ #define VIDEO_KEYSYM "XF86Display" +/* Number of seconds that the confirmation dialog will last before it resets the + * RANDR configuration to its old state. + */ +#define CONFIRMATION_DIALOG_SECONDS 30 + /* name of the icon files (gsd-xrandr.svg, etc.) */ #define GSD_XRANDR_ICON_NAME "gsd-xrandr" @@ -390,7 +395,7 @@ user_says_things_are_ok (GsdXrandrManager *manager, GdkWindow *parent_window) GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, _("Does the display look OK?")); - timeout.countdown = 10; + timeout.countdown = CONFIRMATION_DIALOG_SECONDS; print_countdown_text (&timeout); gtk_dialog_add_button (GTK_DIALOG (timeout.dialog), _("Restore the previous configuration"), GTK_RESPONSE_CANCEL);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor