Commit 9d0bf5ef authored by Emmanuel Milou's avatar Emmanuel Milou

[#2357] Fixes window size

parent dfce6a8c
......@@ -146,13 +146,14 @@ create_main_window ()
gchar *path;
GError *error = NULL;
gboolean ret;
const char *window_title = "SFLphone VoIP Client";
focus_is_on_calltree = FALSE;
focus_is_on_searchbar = FALSE;
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_container_set_border_width (GTK_CONTAINER (window), 0);
gtk_window_set_title (GTK_WINDOW (window), PACKAGE);
gtk_window_set_title (GTK_WINDOW (window), window_title);
gtk_window_set_default_size (GTK_WINDOW (window), MAIN_WINDOW_WIDTH, MAIN_WINDOW_HEIGHT);
gtk_window_set_default_icon_from_file (LOGO,
NULL);
......
......@@ -24,7 +24,7 @@
#include <calltree.h>
#include <uimanager.h>
#define MAIN_WINDOW_WIDTH 350
#define MAIN_WINDOW_WIDTH 280
#define MAIN_WINDOW_HEIGHT 320
/** @file mainwindow.h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment