diff options
-rw-r--r-- | src/caja-file-management-properties.ui | 6 | ||||
-rw-r--r-- | src/caja-window.c | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/src/caja-file-management-properties.ui b/src/caja-file-management-properties.ui index cca1a364..05f94460 100644 --- a/src/caja-file-management-properties.ui +++ b/src/caja-file-management-properties.ui @@ -271,6 +271,8 @@ <property name="border_width">5</property> <property name="title" translatable="yes">File Management Preferences</property> <property name="window_position">center</property> + <property name="default_width">600</property> + <property name="default_height">600</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkVBox" id="dialog-vbox1"> @@ -1522,14 +1524,14 @@ </child> </object> <packing> - <property name="expand">False</property> + <property name="expand">True</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> <packing> - <property name="expand">False</property> + <property name="expand">True</property> <property name="fill">True</property> <property name="position">0</property> </packing> diff --git a/src/caja-window.c b/src/caja-window.c index 1c0a01c3..c460ae98 100644 --- a/src/caja-window.c +++ b/src/caja-window.c @@ -166,6 +166,13 @@ caja_window_init (CajaWindow *window) statusbar = gtk_statusbar_new (); gtk_widget_set_name (statusbar, "statusbar-noborder"); + +/* set margin to zero to reduce size of statusbar */ +#if GTK_CHECK_VERSION (3, 0, 0) + gtk_widget_set_margin_top (GTK_WIDGET (statusbar), 0); + gtk_widget_set_margin_bottom (GTK_WIDGET (statusbar), 0); +#endif + window->details->statusbar = statusbar; window->details->help_message_cid = gtk_statusbar_get_context_id (GTK_STATUSBAR (statusbar), "help_message"); |