summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-12-19 20:52:55 +0100
committerGravatar Martin Szulecki2012-03-18 18:41:15 +0100
commitfb4e5810aeb4f470cdd179dfa346d8340b6e06f1 (patch)
tree23baa46491b2add859e84581d1678835899ae21a /src
parent7f123ba88de9b3b65b18a7c0cfadc80edbac7bdb (diff)
downloadsbmanager-fb4e5810aeb4f470cdd179dfa346d8340b6e06f1.tar.gz
sbmanager-fb4e5810aeb4f470cdd179dfa346d8340b6e06f1.tar.bz2
Add gui_folder prefix for function only used for folders
Diffstat (limited to 'src')
-rw-r--r--src/gui.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui.c b/src/gui.c
index 1b25d7b..b87401a 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -808,7 +808,7 @@ static gboolean page_indicator_clicked_cb(ClutterActor *actor, ClutterButtonEven
return TRUE;
}
-static void gui_redraw_subitems(SBItem *item)
+static void gui_folder_redraw_subitems(SBItem *item)
{
if (!item)
return;
@@ -928,7 +928,7 @@ static gboolean folderview_close_finish(gpointer user_data)
clutter_actor_hide(actor);
}
- gui_redraw_subitems(item);
+ gui_folder_redraw_subitems(item);
clutter_actor_destroy(folder);
folder = NULL;
@@ -1474,12 +1474,12 @@ static gboolean subitem_button_release_cb(ClutterActor *actor, ClutterButtonEven
g_mutex_unlock(selected_mutex);
if (selected_folder)
- gui_redraw_subitems(selected_folder);
+ gui_folder_redraw_subitems(selected_folder);
return TRUE;
}
-static void gui_draw_subitems(SBItem *item)
+static void gui_folder_draw_subitems(SBItem *item)
{
ClutterActor *grp = clutter_actor_get_parent(item->texture);
ClutterActor *minigrp = clutter_group_new();
@@ -1582,7 +1582,7 @@ static void gui_show_icons()
}
/* process subitems */
if (item->texture && item->is_folder && item->subitems) {
- gui_draw_subitems(item);
+ gui_folder_draw_subitems(item);
}
}
gui_dock_align_icons(FALSE);
@@ -1630,7 +1630,7 @@ static void gui_show_icons()
}
/* process subitems */
if (item->texture && item->is_folder && item->subitems) {
- gui_draw_subitems(item);
+ gui_folder_draw_subitems(item);
}
}
gui_page_align_icons(j, FALSE);