Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 674357 Details for
Bug 840998
F12 should continue to move to next screen where appropriate
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
make it so
F12.patch (text/plain), 2.01 KB, created by
Chris Lumens
on 2013-01-07 21:44:22 UTC
(
hide
)
Description:
make it so
Filename:
MIME Type:
Creator:
Chris Lumens
Created:
2013-01-07 21:44:22 UTC
Size:
2.01 KB
patch
obsolete
>diff --git a/widgets/src/StandaloneWindow.c b/widgets/src/StandaloneWindow.c >index d7e86a8..20ad661 100644 >--- a/widgets/src/StandaloneWindow.c >+++ b/widgets/src/StandaloneWindow.c >@@ -21,6 +21,8 @@ > #include "StandaloneWindow.h" > #include "intl.h" > >+#include <gdk/gdkkeysyms.h> >+ > /** > * SECTION: StandaloneWindow > * @title: AnacondaStandaloneWindow >@@ -63,6 +65,8 @@ static void anaconda_standalone_window_quit_clicked(GtkButton *button, > AnacondaStandaloneWindow *win); > static void anaconda_standalone_window_continue_clicked(GtkButton *button, > AnacondaStandaloneWindow *win); >+static void anaconda_standalone_window_realized(GtkWidget *widget, >+ AnacondaStandaloneWindow *win); > > G_DEFINE_TYPE(AnacondaStandaloneWindow, anaconda_standalone_window, ANACONDA_TYPE_BASE_WINDOW) > >@@ -149,6 +153,23 @@ static void anaconda_standalone_window_init(AnacondaStandaloneWindow *win) { > gtk_container_add(GTK_CONTAINER(win->priv->button_box), win->priv->continue_button); > > gtk_box_pack_start(GTK_BOX(main_box), win->priv->button_box, FALSE, TRUE, 0); >+ >+ /* It would be handy for F12 to continue to work like it did in the old >+ * UI, by skipping you to the next screen. >+ */ >+ g_signal_connect(win, "realize", G_CALLBACK(anaconda_standalone_window_realized), win); >+} >+ >+static void anaconda_standalone_window_realized(GtkWidget *widget, >+ AnacondaStandaloneWindow *win) { >+ GtkAccelGroup *accel_group = gtk_accel_group_new(); >+ gtk_window_add_accel_group(GTK_WINDOW(win), accel_group); >+ gtk_widget_add_accelerator(win->priv->continue_button, >+ "clicked", >+ accel_group, >+ GDK_KEY_F12, >+ 0, >+ 0); > } > > static void anaconda_standalone_window_quit_clicked(GtkButton *button,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 840998
: 674357