mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-19 00:48:29 +02:00
add FIXME
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1328 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
aad8bc53e8
commit
eedee2afac
2 changed files with 11 additions and 3 deletions
|
|
@ -252,7 +252,13 @@ nmi_passphrase_dialog_new (NMWirelessApplet *applet,
|
|||
|
||||
g_signal_connect (G_OBJECT (dialog), "response", GTK_SIGNAL_FUNC (nmi_passphrase_dialog_response_received), dialog);
|
||||
|
||||
/* Bash focus-stealing prevention in the face */
|
||||
/*
|
||||
* Bash focus-stealing prevention in the face
|
||||
*
|
||||
* FIXME:
|
||||
* Gdk-CRITICAL **: gdk_x11_get_server_time: assertion `GDK_IS_WINDOW (window)' failed
|
||||
* Gdk-CRITICAL **: gdk_x11_window_set_user_time: assertion `GDK_IS_WINDOW (window)' failed
|
||||
*/
|
||||
timestamp = gdk_x11_get_server_time (dialog->window);
|
||||
gdk_x11_window_set_user_time (dialog->window, timestamp);
|
||||
gtk_window_present (GTK_WINDOW (dialog));
|
||||
|
|
|
|||
|
|
@ -108,6 +108,7 @@ void wsm_update_combo (WirelessSecurityManager *wsm, GtkComboBox *combo)
|
|||
{
|
||||
GtkListStore * model;
|
||||
GSList * elt;
|
||||
gboolean ret = FALSE;
|
||||
|
||||
g_return_if_fail (wsm != NULL);
|
||||
g_return_if_fail (combo != NULL);
|
||||
|
|
@ -149,15 +150,16 @@ static WirelessSecurityOption * get_active_option_from_combo (GtkComboBox *combo
|
|||
|
||||
|
||||
GtkWidget * wsm_get_widget_for_active (WirelessSecurityManager *wsm, GtkComboBox *combo,
|
||||
GtkSignalFunc validate_cb, gpointer user_data)
|
||||
GtkSignalFunc validate_cb, gpointer user_data)
|
||||
{
|
||||
WirelessSecurityOption * opt = NULL;
|
||||
WirelessSecurityOption * opt;
|
||||
|
||||
g_return_val_if_fail (wsm != NULL, NULL);
|
||||
g_return_val_if_fail (combo != NULL, NULL);
|
||||
|
||||
opt = get_active_option_from_combo (combo);
|
||||
g_return_val_if_fail (opt != NULL, NULL);
|
||||
|
||||
return wso_get_widget (opt, validate_cb, user_data);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue