[gtk+/open-with-dialog] tests: remove radio mode from the test
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/open-with-dialog] tests: remove radio mode from the test
- Date: Wed, 24 Nov 2010 14:50:46 +0000 (UTC)
commit 783b36398e3c7dd90605996c510faaffc6d250fe
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Nov 24 15:50:08 2010 +0100
tests: remove radio mode from the test
tests/testappchooser.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/tests/testappchooser.c b/tests/testappchooser.c
index 400b8e2..3653bda 100644
--- a/tests/testappchooser.c
+++ b/tests/testappchooser.c
@@ -28,7 +28,7 @@ static GFile *file;
static GtkWidget *grid, *file_l, *open;
static GtkWidget *radio_file, *radio_content, *dialog;
static GtkWidget *app_chooser_widget;
-static GtkWidget *recommended, *fallback, *other, *all, *radio;
+static GtkWidget *recommended, *fallback, *other, *all;
static void
dialog_response (GtkDialog *d,
@@ -68,9 +68,6 @@ bind_props (void)
g_object_bind_property (all, "active",
app_chooser_widget, "show-all",
G_BINDING_SYNC_CREATE);
- g_object_bind_property (radio, "active",
- app_chooser_widget, "radio-mode",
- G_BINDING_SYNC_CREATE);
}
static void
@@ -209,10 +206,6 @@ main (int argc,
gtk_grid_attach_next_to (GTK_GRID (grid), all,
other, GTK_POS_RIGHT, 1, 1);
- radio = gtk_check_button_new_with_label ("Radio mode");
- gtk_grid_attach_next_to (GTK_GRID (grid), radio,
- all, GTK_POS_BOTTOM, 1, 1);
-
prepare_dialog ();
g_signal_connect (open, "clicked",
G_CALLBACK (display_dialog), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]