[Xfce4-commits] <xfce4-settings:master> Drop focus-in signal for identity popups as they show up anyway
Nick Schermer
noreply at xfce.org
Sun Oct 28 10:45:37 CET 2012
Updating branch refs/heads/master
to 817b4710fd5afe85abc214ddaba8b4ec4e840e86 (commit)
from 3f3f77420400a15a3bffabd12807e28d106ac307 (commit)
commit 817b4710fd5afe85abc214ddaba8b4ec4e840e86
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Sat Oct 27 14:56:30 2012 +0200
Drop focus-in signal for identity popups as they show up anyway
dialogs/display-settings/main.c | 23 -----------------------
1 files changed, 0 insertions(+), 23 deletions(-)
diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index 8f56e0a..92b0e34 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -204,25 +204,6 @@ display_setting_combo_box_get_value (GtkComboBox *combobox,
return FALSE;
}
-static void
-display_setting_show_identity_popup (gpointer key,
- GtkWidget *value,
- gpointer userdata)
-{
- gtk_widget_show (value);
-}
-
-static gboolean
-display_setting_show_identity_popups (GtkWidget *widget,
- GdkEvent *event,
- gpointer userdata)
-{
- g_hash_table_foreach (display_popups,
- (GHFunc) display_setting_show_identity_popup,
- NULL);
- return FALSE;
-}
-
static gboolean
display_settings_update_time_label (ConfirmationDialog *confirmation_dialog)
{
@@ -286,8 +267,6 @@ display_setting_timed_confirmation (GtkBuilder *main_builder)
dialog = gtk_builder_get_object (builder, "dialog1");
- g_signal_connect (G_OBJECT (dialog), "focus-in-event", G_CALLBACK (display_setting_show_identity_popups), NULL);
-
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (main_dialog));
source_id = g_timeout_add_seconds (1, (GSourceFunc) display_settings_update_time_label,
confirmation_dialog);
@@ -1767,8 +1746,6 @@ display_settings_show_main_dialog (GdkDisplay *display)
gtk_widget_show (GTK_WIDGET (plug_child));
}
- g_signal_connect (G_OBJECT (dialog), "focus-in-event", G_CALLBACK (display_setting_show_identity_popups), NULL);
-
/* To prevent the settings dialog to be saved in the session */
gdk_set_sm_client_id ("FAKE ID");
More information about the Xfce4-commits
mailing list