[gnome-bluetooth] settings: Make test window the same width as settings



commit f5a0b1e6e0bfb1dac2958debd2a66249ae480d1d
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Dec 12 19:17:30 2013 +0100

    settings: Make test window the same width as settings

 lib/test-settings.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/test-settings.c b/lib/test-settings.c
index bcf139c..0e42488 100644
--- a/lib/test-settings.c
+++ b/lib/test-settings.c
@@ -16,6 +16,8 @@ int main (int argc, char **argv)
        gtk_init (&argc, &argv);
 
        window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+       gtk_widget_set_size_request (window, 740, -1);
+       gtk_window_set_resizable (GTK_WINDOW (window), FALSE);
        g_signal_connect (G_OBJECT (window), "delete-event",
                          G_CALLBACK (delete_event_cb), NULL);
        widget = bluetooth_settings_widget_new ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]