Skip to content
Snippets Groups Projects
Commit ac481c0e authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

[#1641] Add default value for width/height + fixes redundant gconf key

parent 09bc7829
Branches
Tags
Loading
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<applyto>/apps/sflphone-client-gnome/state/window_width</applyto> <applyto>/apps/sflphone-client-gnome/state/window_width</applyto>
<owner>sflphone-client-gnome</owner> <owner>sflphone-client-gnome</owner>
<type>int</type> <type>int</type>
<default>800</default> <default>240</default>
<locale name="C"> <locale name="C">
<short>Main window width</short> <short>Main window width</short>
<long>Main window width.</long> <long>Main window width.</long>
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<applyto>/apps/sflphone-client-gnome/state/window_height</applyto> <applyto>/apps/sflphone-client-gnome/state/window_height</applyto>
<owner>sflphone-client-gnome</owner> <owner>sflphone-client-gnome</owner>
<type>int</type> <type>int</type>
<default>550</default> <default>320</default>
<locale name="C"> <locale name="C">
<short>Main window height</short> <short>Main window height</short>
<long>Main window height.</long> <long>Main window height.</long>
......
...@@ -167,7 +167,7 @@ log4c_category_t* log4c_sfl_gtk_category; ...@@ -167,7 +167,7 @@ log4c_category_t* log4c_sfl_gtk_category;
#define CONF_PREFIX "/apps/sflphone-client-gnome" #define CONF_PREFIX "/apps/sflphone-client-gnome"
#define CONF_MAIN_WINDOW_WIDTH CONF_PREFIX "/state/window_width" #define CONF_MAIN_WINDOW_WIDTH CONF_PREFIX "/state/window_width"
#define CONF_MAIN_WINDOW_HEIGHT CONF_PREFIX "/state/window_height" #define CONF_MAIN_WINDOW_HEIGHT CONF_PREFIX "/state/window_height"
#define CONF_MAIN_WINDOW_POSITION_X CONF_PREFIX "/state/window_x_position" #define CONF_MAIN_WINDOW_POSITION_X CONF_PREFIX "/state/window_position_x"
#define CONF_MAIN_WINDOW_POSITION_Y CONF_PREFIX "/state/window_y_position" #define CONF_MAIN_WINDOW_POSITION_Y CONF_PREFIX "/state/window_position_y"
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment