summaryrefslogtreecommitdiff
path: root/baobab
diff options
context:
space:
mode:
authorLaurent Napias <[email protected]>2019-06-29 11:57:35 +0200
committerZenWalker <[email protected]>2019-07-04 15:07:12 +0200
commit61b94ba9a4953aba56764dac7e0f8751aaa11571 (patch)
treec9097e01f74035b305fd47190a7f0d1bb1eb188e /baobab
parent34505eb50fb6f3b49c8ef08d59bcef4f6f27f6cf (diff)
downloadmate-utils-61b94ba9a4953aba56764dac7e0f8751aaa11571.tar.bz2
mate-utils-61b94ba9a4953aba56764dac7e0f8751aaa11571.tar.xz
Remove trailing whitespaces
Diffstat (limited to 'baobab')
-rw-r--r--baobab/src/baobab-cell-renderer-progress.c12
-rw-r--r--baobab/src/baobab-cell-renderer-progress.h2
-rw-r--r--baobab/src/baobab-prefs.c8
-rw-r--r--baobab/src/baobab-prefs.h2
-rw-r--r--baobab/src/baobab-remote-connect-dialog.c44
-rw-r--r--baobab/src/baobab-remote-connect-dialog.h2
-rw-r--r--baobab/src/baobab-ringschart.h6
-rw-r--r--baobab/src/baobab-scan.c14
-rw-r--r--baobab/src/baobab-scan.h2
-rw-r--r--baobab/src/baobab-treeview.c10
-rw-r--r--baobab/src/baobab-treeview.h2
-rw-r--r--baobab/src/baobab-utils.c40
-rw-r--r--baobab/src/baobab-utils.h2
-rw-r--r--baobab/src/baobab.c10
-rw-r--r--baobab/src/baobab.h2
-rw-r--r--baobab/src/callbacks.h2
16 files changed, 80 insertions, 80 deletions
diff --git a/baobab/src/baobab-cell-renderer-progress.c b/baobab/src/baobab-cell-renderer-progress.c
index 94b44d88..de3f115a 100644
--- a/baobab/src/baobab-cell-renderer-progress.c
+++ b/baobab/src/baobab-cell-renderer-progress.c
@@ -31,7 +31,7 @@ enum
{
PROP_0,
PROP_PERC
-};
+};
struct _BaobabCellRendererProgressPrivate
{
@@ -62,7 +62,7 @@ baobab_cell_renderer_progress_get_property (GObject *object,
GParamSpec *pspec)
{
BaobabCellRendererProgress *cellprogress = BAOBAB_CELL_RENDERER_PROGRESS (object);
-
+
switch (param_id)
{
case PROP_PERC:
@@ -202,7 +202,7 @@ baobab_cell_renderer_progress_render (GtkCellRenderer *cell,
x = cell_area->x + xpad;
y = cell_area->y + ypad;
-
+
w = cell_area->width - xpad * 2;
h = cell_area->height - ypad * 2;
@@ -222,7 +222,7 @@ baobab_cell_renderer_progress_render (GtkCellRenderer *cell,
y += style->ythickness;
w -= style->xthickness * 2;
h -= style->ythickness * 2;
-
+
cairo_rectangle (cr, x, y, w, h);
cairo_set_source_rgb (cr, 1, 1, 1);
cairo_fill (cr);
@@ -239,10 +239,10 @@ baobab_cell_renderer_progress_class_init (BaobabCellRendererProgressClass *klass
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GtkCellRendererClass *cell_class = GTK_CELL_RENDERER_CLASS (klass);
-
+
object_class->get_property = baobab_cell_renderer_progress_get_property;
object_class->set_property = baobab_cell_renderer_progress_set_property;
-
+
cell_class->get_size = baobab_cell_renderer_progress_get_size;
cell_class->render = baobab_cell_renderer_progress_render;
diff --git a/baobab/src/baobab-cell-renderer-progress.h b/baobab/src/baobab-cell-renderer-progress.h
index 006a21f9..4fd2ca64 100644
--- a/baobab/src/baobab-cell-renderer-progress.h
+++ b/baobab/src/baobab-cell-renderer-progress.h
@@ -39,7 +39,7 @@ typedef struct _BaobabCellRendererProgressPrivate BaobabCellRendererProgressPri
struct _BaobabCellRendererProgress
{
GtkCellRenderer parent_instance;
-
+
/*< private >*/
BaobabCellRendererProgressPrivate *priv;
};
diff --git a/baobab/src/baobab-prefs.c b/baobab/src/baobab-prefs.c
index 41e430dd..f43d3472 100644
--- a/baobab/src/baobab-prefs.c
+++ b/baobab/src/baobab-prefs.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
@@ -110,7 +110,7 @@ filechooser_response_cb (GtkDialog *dialog,
{
switch (response_id) {
case GTK_RESPONSE_HELP:
- baobab_help_display (GTK_WINDOW (baobab.window),
+ baobab_help_display (GTK_WINDOW (baobab.window),
"mate-disk-usage-analyzer", "baobab-preferences");
break;
case GTK_RESPONSE_DELETE_EVENT:
@@ -247,10 +247,10 @@ fill_props_model (GtkListStore *store)
glibtop_get_fsusage (&fsusage, mountentry->mountdir);
fstotal = fsusage.blocks * fsusage.block_size;
fsavail = fsusage.bfree * fsusage.block_size;
-
+
total = g_format_size(fstotal);
avail = g_format_size(fsavail);
-
+
file = g_file_new_for_path (mountentry->mountdir);
uri = g_file_get_uri (file);
excluded = baobab_is_excluded_location (file);
diff --git a/baobab/src/baobab-prefs.h b/baobab/src/baobab-prefs.h
index 57cbb972..73893ae8 100644
--- a/baobab/src/baobab-prefs.h
+++ b/baobab/src/baobab-prefs.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
diff --git a/baobab/src/baobab-remote-connect-dialog.c b/baobab/src/baobab-remote-connect-dialog.c
index 6c901f3d..08d836f6 100644
--- a/baobab/src/baobab-remote-connect-dialog.c
+++ b/baobab/src/baobab-remote-connect-dialog.c
@@ -38,7 +38,7 @@
/* Translators: all the strings in this file are meant to map the
- similar strings inside caja-connect-server and should be
+ similar strings inside caja-connect-server and should be
translated the same way
*/
@@ -63,7 +63,7 @@ G_DEFINE_TYPE(BaobabRemoteConnectDialog, baobab_remote_connect_dialog, GTK_TYPE_
static void
-display_error_dialog (GError *error,
+display_error_dialog (GError *error,
GFile *location,
GtkWindow *parent)
{
@@ -142,13 +142,13 @@ struct MethodInfo {
/* A collection of flags for MethodInfo.flags */
enum {
DEFAULT_METHOD = 0x00000001,
-
+
/* Widgets to display in setup_for_type */
SHOW_SHARE = 0x00000010,
SHOW_PORT = 0x00000020,
SHOW_USER = 0x00000040,
SHOW_DOMAIN = 0x00000080,
-
+
IS_ANONYMOUS = 0x00001000
};
@@ -185,7 +185,7 @@ get_method_description (struct MethodInfo *meth)
return _("WebDAV (HTTP)");
} else if (strcmp (meth->scheme, "davs") == 0) {
return _("Secure WebDAV (HTTPS)");
-
+
/* No descriptive text */
} else {
return meth->scheme;
@@ -206,7 +206,7 @@ baobab_remote_connect_dialog_finalize (GObject *object)
g_object_unref (dialog->details->folder_entry);
g_object_unref (dialog->details->domain_entry);
g_object_unref (dialog->details->user_entry);
-
+
g_free (dialog->details);
G_OBJECT_CLASS (baobab_remote_connect_dialog_parent_class)->finalize (object);
@@ -220,7 +220,7 @@ connect_to_server (BaobabRemoteConnectDialog *dialog, GtkWindow *app)
GFile *location;
int index;
GtkTreeIter iter;
-
+
/* Get our method info */
gtk_combo_box_get_active_iter (GTK_COMBO_BOX (dialog->details->type_combo), &iter);
gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (dialog->details->type_combo)),
@@ -255,7 +255,7 @@ connect_to_server (BaobabRemoteConnectDialog *dialog, GtkWindow *app)
g_free (server);
return;
}
-
+
user = "";
port = "";
initial_path = "";
@@ -264,11 +264,11 @@ connect_to_server (BaobabRemoteConnectDialog *dialog, GtkWindow *app)
free_user = FALSE;
free_domain = FALSE;
free_port = FALSE;
-
+
/* FTP special case */
if (meth->flags & IS_ANONYMOUS) {
user = "anonymous";
-
+
/* SMB special case */
} else if (strcmp (meth->scheme, "smb") == 0) {
t = gtk_editable_get_chars (GTK_EDITABLE (dialog->details->share_entry), 0, -1);
@@ -284,7 +284,7 @@ connect_to_server (BaobabRemoteConnectDialog *dialog, GtkWindow *app)
folder = gtk_editable_get_chars (GTK_EDITABLE (dialog->details->folder_entry), 0, -1);
if (gtk_widget_get_parent (dialog->details->user_entry) != NULL) {
free_user = TRUE;
-
+
t = gtk_editable_get_chars (GTK_EDITABLE (dialog->details->user_entry), 0, -1);
user = g_uri_escape_string (t, G_URI_RESERVED_CHARS_ALLOWED_IN_USERINFO, FALSE);
@@ -295,7 +295,7 @@ connect_to_server (BaobabRemoteConnectDialog *dialog, GtkWindow *app)
free_domain = TRUE;
domain = gtk_editable_get_chars (GTK_EDITABLE (dialog->details->domain_entry), 0, -1);
-
+
if (strlen (domain) != 0) {
t = user;
@@ -397,7 +397,7 @@ setup_for_type (BaobabRemoteConnectDialog *dialog)
int index, i;
GtkWidget *label, *grid;
GtkTreeIter iter;
-
+
/* Get our method info */
gtk_combo_box_get_active_iter (GTK_COMBO_BOX (dialog->details->type_combo), &iter);
gtk_tree_model_get (gtk_combo_box_get_model (GTK_COMBO_BOX (dialog->details->type_combo)),
@@ -439,7 +439,7 @@ setup_for_type (BaobabRemoteConnectDialog *dialog)
i = 1;
grid = dialog->details->grid;
-
+
if (meth->scheme == NULL) {
label = gtk_label_new_with_mnemonic (_("_Location (URI):"));
gtk_label_set_xalign (GTK_LABEL (label), 0.0);
@@ -456,7 +456,7 @@ setup_for_type (BaobabRemoteConnectDialog *dialog)
return;
}
-
+
label = gtk_label_new_with_mnemonic (_("_Server:"));
gtk_label_set_xalign (GTK_LABEL (label), 0.0);
gtk_label_set_yalign (GTK_LABEL (label), 0.5);
@@ -477,7 +477,7 @@ setup_for_type (BaobabRemoteConnectDialog *dialog)
gtk_grid_attach (GTK_GRID (grid), label, 0, i, 2, 1);
i++;
-
+
if (meth->flags & SHOW_SHARE) {
label = gtk_label_new_with_mnemonic (_("_Share:"));
gtk_label_set_xalign (GTK_LABEL (label), 0.0);
@@ -595,7 +595,7 @@ baobab_remote_connect_dialog_init (BaobabRemoteConnectDialog *dialog)
GtkListStore *store;
GtkCellRenderer *renderer;
int i;
-
+
dialog->details = g_new0 (BaobabRemoteConnectDialogDetails, 1);
gtk_window_set_title (GTK_WINDOW (dialog), _("Connect to Server"));
@@ -613,7 +613,7 @@ baobab_remote_connect_dialog_init (BaobabRemoteConnectDialog *dialog)
gtk_box_pack_start (GTK_BOX (vbox),
hbox, FALSE, TRUE, 0);
gtk_widget_show (hbox);
-
+
label = gtk_label_new_with_mnemonic (_("Service _type:"));
gtk_label_set_xalign (GTK_LABEL (label), 0.0);
gtk_label_set_yalign (GTK_LABEL (label), 0.5);
@@ -680,7 +680,7 @@ baobab_remote_connect_dialog_init (BaobabRemoteConnectDialog *dialog)
g_signal_connect (combo, "changed",
G_CALLBACK (combo_changed_callback),
dialog);
-
+
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_box_pack_start (GTK_BOX (vbox),
hbox, FALSE, TRUE, 0);
@@ -690,7 +690,7 @@ baobab_remote_connect_dialog_init (BaobabRemoteConnectDialog *dialog)
gtk_widget_show (label);
gtk_box_pack_start (GTK_BOX (hbox),
label, FALSE, FALSE, 0);
-
+
dialog->details->grid = grid = gtk_grid_new ();
gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
@@ -725,9 +725,9 @@ baobab_remote_connect_dialog_init (BaobabRemoteConnectDialog *dialog)
g_object_ref (dialog->details->folder_entry);
g_object_ref (dialog->details->domain_entry);
g_object_ref (dialog->details->user_entry);
-
+
setup_for_type (dialog);
-
+
gtk_dialog_add_button (GTK_DIALOG (dialog),
"gtk-cancel",
GTK_RESPONSE_CANCEL);
diff --git a/baobab/src/baobab-remote-connect-dialog.h b/baobab/src/baobab-remote-connect-dialog.h
index a6e1c97e..05dbcdfc 100644
--- a/baobab/src/baobab-remote-connect-dialog.h
+++ b/baobab/src/baobab-remote-connect-dialog.h
@@ -53,7 +53,7 @@ struct _BaobabRemoteConnectDialogClass {
};
GType baobab_remote_connect_dialog_get_type (void);
-GtkWidget* baobab_remote_connect_dialog_new (GtkWindow *window,
+GtkWidget* baobab_remote_connect_dialog_new (GtkWindow *window,
GFile *location);
#endif /* BAOBAB_REMOTE_CONNECT_DIALOG_H */
diff --git a/baobab/src/baobab-ringschart.h b/baobab/src/baobab-ringschart.h
index 276bd7fe..f63d4fff 100644
--- a/baobab/src/baobab-ringschart.h
+++ b/baobab/src/baobab-ringschart.h
@@ -15,7 +15,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301 USA
*
* Authors:
@@ -53,7 +53,7 @@ typedef struct _BaobabRingschartPrivate BaobabRingschartPrivate;
struct _BaobabRingschart
{
BaobabChart parent;
-
+
BaobabRingschartPrivate *priv;
};
@@ -64,7 +64,7 @@ struct _BaobabRingschartClass
GType baobab_ringschart_get_type (void) G_GNUC_CONST;
GtkWidget *baobab_ringschart_new (void);
-void baobab_ringschart_set_subfoldertips_enabled (GtkWidget *chart,
+void baobab_ringschart_set_subfoldertips_enabled (GtkWidget *chart,
gboolean enabled);
G_END_DECLS
diff --git a/baobab/src/baobab-scan.c b/baobab/src/baobab-scan.c
index 8c85d859..824004ff 100644
--- a/baobab/src/baobab-scan.c
+++ b/baobab/src/baobab-scan.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
@@ -211,13 +211,13 @@ loopdir (GFile *file,
if (is_in_dot_gvfs (file))
goto exit;
- parse_name = g_file_get_parse_name (file);
+ parse_name = g_file_get_parse_name (file);
if (g_file_info_has_attribute (info, G_FILE_ATTRIBUTE_STANDARD_SIZE))
retloop.size = g_file_info_get_size (info);
if (g_file_info_has_attribute (info, G_FILE_ATTRIBUTE_UNIX_BLOCKS))
- retloop.alloc_size = BLOCK_SIZE *
+ retloop.alloc_size = BLOCK_SIZE *
g_file_info_get_attribute_uint64 (info,
G_FILE_ATTRIBUTE_UNIX_BLOCKS);
@@ -269,7 +269,7 @@ loopdir (GFile *file,
/* is a directory? */
if (temp_type == G_FILE_TYPE_DIRECTORY) {
- GFile *child_dir = g_file_get_child (file,
+ GFile *child_dir = g_file_get_child (file,
g_file_info_get_name (temp_info));
temp = loopdir (child_dir, temp_info, count, hla, current_depth+1);
retloop.size += temp.size;
@@ -281,13 +281,13 @@ loopdir (GFile *file,
/* is it a regular file? */
else if (temp_type == G_FILE_TYPE_REGULAR) {
-
+
/* check for hard links only on local files */
if (g_file_info_has_attribute (temp_info,
G_FILE_ATTRIBUTE_UNIX_NLINK) &&
g_file_info_get_attribute_uint32 (temp_info,
G_FILE_ATTRIBUTE_UNIX_NLINK) > 1) {
-
+
if (!baobab_hardlinks_array_add (hla, temp_info)) {
/* we already acconted for it */
@@ -313,7 +313,7 @@ loopdir (GFile *file,
/* won't be an error if we've finished normally */
if (err != NULL) {
- g_warning ("error in dir %s: %s\n",
+ g_warning ("error in dir %s: %s\n",
parse_name, err->message);
}
diff --git a/baobab/src/baobab-scan.h b/baobab/src/baobab-scan.h
index c6400d56..2ef8ab1f 100644
--- a/baobab/src/baobab-scan.h
+++ b/baobab/src/baobab-scan.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
diff --git a/baobab/src/baobab-treeview.c b/baobab/src/baobab-treeview.c
index 2a3aad3f..eb6beb5e 100644
--- a/baobab/src/baobab-treeview.c
+++ b/baobab/src/baobab-treeview.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
@@ -79,7 +79,7 @@ on_tv_cur_changed (GtkTreeView *treeview, gpointer data)
static void
contents_changed (void)
{
- if (messageyesno (_("Rescan your home folder?"),
+ if (messageyesno (_("Rescan your home folder?"),
_("The content of your home folder has changed. Select rescan to update the disk usage details."),
GTK_MESSAGE_QUESTION, _("_Rescan"), baobab.window) == GTK_RESPONSE_OK) {
baobab_rescan_current_dir ();
@@ -103,7 +103,7 @@ on_tv_button_press (GtkWidget *widget,
event->x, event->y,
&path, NULL, NULL, NULL);
if (!path)
- return TRUE;
+ return TRUE;
/* get the selected path */
g_free (baobab.selected_path);
@@ -223,7 +223,7 @@ create_directory_treeview (void)
gtk_tree_view_column_set_sizing (col, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
gtk_tree_view_column_set_resizable (col, TRUE);
gtk_tree_view_append_column (GTK_TREE_VIEW (tvw), col);
-
+
/* percentage bar & text column */
col = gtk_tree_view_column_new ();
@@ -291,7 +291,7 @@ create_directory_treeview (void)
GTK_POLICY_AUTOMATIC);
gtk_tree_view_set_search_equal_func (GTK_TREE_VIEW (tvw),
- baobab_treeview_equal_func,
+ baobab_treeview_equal_func,
NULL, NULL);
baobab.model = create_model ();
diff --git a/baobab/src/baobab-treeview.h b/baobab/src/baobab-treeview.h
index 38aca412..998e88e4 100644
--- a/baobab/src/baobab-treeview.h
+++ b/baobab/src/baobab-treeview.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
diff --git a/baobab/src/baobab-utils.c b/baobab/src/baobab-utils.c
index b7539a93..022c3a0d 100644
--- a/baobab/src/baobab-utils.c
+++ b/baobab/src/baobab-utils.c
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
@@ -131,7 +131,7 @@ dir_select (gboolean SEARCH, GtkWidget *parent)
gtk_window_set_modal (GTK_WINDOW (file_chooser), TRUE);
gtk_window_set_position (GTK_WINDOW (file_chooser), GTK_WIN_POS_CENTER_ON_PARENT);
}
-
+
gtk_widget_show (GTK_WIDGET (file_chooser));
return NULL;
@@ -187,17 +187,17 @@ show_bars (GtkTreeModel *mdl,
if (readelements == -1) {
gtk_tree_store_set (GTK_TREE_STORE (mdl), iter,
COL_DIR_SIZE, "--",
- COL_ELEMENTS, "--", -1);
+ COL_ELEMENTS, "--", -1);
return FALSE;
}
gtk_tree_model_get (mdl, &parent, COL_H_ELEMENTS,
&readelements, -1);
-
+
gtk_tree_model_get (mdl, iter, size_col, &size, -1);
-
+
sizecstr = g_format_size (size);
-
+
if (readelements == -1) {
gtk_tree_store_set (GTK_TREE_STORE (mdl), iter,
COL_DIR_SIZE, sizecstr, -1);
@@ -221,9 +221,9 @@ show_bars (GtkTreeModel *mdl,
if (readelements != -1) {
gtk_tree_model_get (mdl, iter, size_col, &size,
-1);
-
+
sizecstr = g_format_size (size);
-
+
gtk_tree_store_set (GTK_TREE_STORE (mdl), iter,
COL_H_PERC, 100.0,
COL_DIR_SIZE, sizecstr, -1);
@@ -279,7 +279,7 @@ messageyesno (const gchar *primary_msg,
button = gtk_button_new_with_mnemonic (ok_button);
gtk_widget_set_can_default (button, TRUE);
gtk_widget_show (button);
-
+
gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, GTK_RESPONSE_OK);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
response = gtk_dialog_run (GTK_DIALOG (dialog));
@@ -311,11 +311,11 @@ baobab_check_dir (GFile *file)
g_error_free (error);
return FALSE;
- }
+ }
if ((g_file_info_get_file_type (info) != G_FILE_TYPE_DIRECTORY) ||
is_virtual_filesystem(file)) {
-
+
char *error_msg = NULL;
gchar *name = NULL;
@@ -323,7 +323,7 @@ baobab_check_dir (GFile *file)
error_msg = g_strdup_printf (_("\"%s\" is not a valid folder"),
name);
- message (error_msg, _("Could not analyze disk usage."),
+ message (error_msg, _("Could not analyze disk usage."),
GTK_MESSAGE_ERROR, baobab.window);
g_free (error_msg);
@@ -389,14 +389,14 @@ open_file_with_application (GFile *file)
NULL,
NULL);
if (!info) return;
-
+
content = g_file_info_get_content_type (info);
application = g_app_info_get_default_for_type (content, TRUE);
if (!application) {
- primary = g_strdup_printf (_("Could not open folder \"%s\""),
+ primary = g_strdup_printf (_("Could not open folder \"%s\""),
g_file_get_basename (file));
- message (primary,
+ message (primary,
_("There is no installed viewer capable "
"of displaying the folder."),
GTK_MESSAGE_ERROR,
@@ -480,9 +480,9 @@ trash_file (GFile *file)
g_free (mess);
g_error_free (error);
- return FALSE;
+ return FALSE;
}
-
+
return TRUE;
}
@@ -495,7 +495,7 @@ baobab_help_display (GtkWindow *parent,
char *uri;
gboolean ret;
- uri = (link_id) ?
+ uri = (link_id) ?
g_strdup_printf ("help:%s/%s", file_name, link_id) :
g_strdup_printf ("help:%s", file_name);
@@ -511,7 +511,7 @@ baobab_help_display (GtkWindow *parent,
dialog = gtk_message_dialog_new (parent,
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
- GTK_BUTTONS_CLOSE,
+ GTK_BUTTONS_CLOSE,
_("There was an error displaying help."));
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
@@ -533,7 +533,7 @@ is_virtual_filesystem (GFile *file)
{
gboolean ret = FALSE;
char *path;
-
+
path = g_file_get_path (file);
/* FIXME: we need a better way to check virtual FS */
diff --git a/baobab/src/baobab-utils.h b/baobab/src/baobab-utils.h
index 27428313..7ef23987 100644
--- a/baobab/src/baobab-utils.h
+++ b/baobab/src/baobab-utils.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
diff --git a/baobab/src/baobab.c b/baobab/src/baobab.c
index 36de4256..5a30948c 100644
--- a/baobab/src/baobab.c
+++ b/baobab/src/baobab.c
@@ -177,7 +177,7 @@ update_scan_label (void)
total = g_format_size (baobab.fs.total);
used = g_format_size (baobab.fs.used);
available = g_format_size (baobab.fs.avail);
-
+
/* Translators: these are labels for disk space */
markup = g_markup_printf_escaped ("<small>%s <b>%s</b> (%s %s %s %s )</small>",
_("Total filesystem capacity:"), total,
@@ -402,9 +402,9 @@ first_row (void)
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (baobab.tree_view), FALSE);
gtk_tree_store_append (baobab.model, &firstiter, &root_iter);
-
+
size = g_format_size (baobab.fs.used);
-
+
if (baobab.fs.total == 0 && baobab.fs.used == 0) {
perc = 100.0;
} else {
@@ -452,7 +452,7 @@ baobab_fill_model (struct chan_data *data)
hardlinks = g_string_new ("");
if (data->tempHLsize > 0) {
size = g_format_size (data->tempHLsize);
-
+
g_string_assign (hardlinks, "<i>(");
g_string_append (hardlinks, _("contains hardlinks for:"));
g_string_append (hardlinks, " ");
@@ -857,7 +857,7 @@ baobab_init (void)
/* Settings */
baobab.ui_settings = g_settings_new (BAOBAB_UI_SETTINGS_SCHEMA);
baobab.prefs_settings = g_settings_new (BAOBAB_PREFS_SETTINGS_SCHEMA);
-
+
/* Misc */
baobab.CONTENTS_CHANGED_DELAYED = FALSE;
baobab.STOP_SCANNING = TRUE;
diff --git a/baobab/src/baobab.h b/baobab/src/baobab.h
index eb7c4a58..b8d01817 100644
--- a/baobab/src/baobab.h
+++ b/baobab/src/baobab.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
diff --git a/baobab/src/callbacks.h b/baobab/src/callbacks.h
index 0f517968..d823cc32 100644
--- a/baobab/src/callbacks.h
+++ b/baobab/src/callbacks.h
@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301 USA
*/