[gnome-commander] Fix code format
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Fix code format
- Date: Sat, 9 Jul 2016 09:38:52 +0000 (UTC)
commit 7a8964aad8c0e749684b79427544064f84db55d0
Author: Puux <puuxmine gmail com>
Date: Wed Jul 6 19:36:02 2016 +0300
Fix code format
src/gnome-cmd-dir-indicator.cc | 10 +++++-----
src/gnome-cmd-main-win.h | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/gnome-cmd-dir-indicator.cc b/src/gnome-cmd-dir-indicator.cc
index 7adb92b..7694ffa 100644
--- a/src/gnome-cmd-dir-indicator.cc
+++ b/src/gnome-cmd-dir-indicator.cc
@@ -118,8 +118,8 @@ static gboolean on_dir_indicator_clicked (GnomeCmdDirIndicator *indicator, GdkEv
g_free (chTo);
return TRUE;
}
- else if (event->button==3)
- {
+ else if (event->button==3)
+ {
const gchar *labelText = gtk_label_get_text (GTK_LABEL (indicator->priv->label));
gchar *chTo = g_strdup (labelText);
gint x = (gint) event->x;
@@ -128,12 +128,12 @@ static gboolean on_dir_indicator_clicked (GnomeCmdDirIndicator *indicator, GdkEv
if (x < indicator->priv->slashPixelPosition[i])
{
chTo[indicator->priv->slashCharPosition[i]] = 0;
- gtk_clipboard_set_text (gtk_clipboard_get (GDK_SELECTION_CLIPBOARD), chTo,
indicator->priv->slashCharPosition[i]);
+ gtk_clipboard_set_text (gtk_clipboard_get (GDK_SELECTION_CLIPBOARD), chTo,
indicator->priv->slashCharPosition[i]);
break;
}
g_free (chTo);
- return TRUE;
- }
+ return TRUE;
+ }
return FALSE;
}
diff --git a/src/gnome-cmd-main-win.h b/src/gnome-cmd-main-win.h
index ec507c0..bf2c93e 100644
--- a/src/gnome-cmd-main-win.h
+++ b/src/gnome-cmd-main-win.h
@@ -95,7 +95,7 @@ struct GnomeCmdMainWin
void update_cmdline_visibility();
void update_buttonbar_visibility();
void update_list_orientation();
- void update_mainmenu_visibility();
+ void update_mainmenu_visibility();
void add_plugin_menu(PluginData *data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]