summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-12-19 20:52:55 +0100
committerGravatar Martin Szulecki2010-12-19 21:23:46 +0100
commitbe7d919f541b4c2a0ab1f6aae6b3e4733f7b4fde (patch)
tree33861328b7e5b5ba726c1917af8bea58876dec4c /src/gui.c
parentecc8ade211b346856f789b688cd67259cfe76b1e (diff)
downloadsbmanager-be7d919f541b4c2a0ab1f6aae6b3e4733f7b4fde.tar.gz
sbmanager-be7d919f541b4c2a0ab1f6aae6b3e4733f7b4fde.tar.bz2
Add gui_folder prefix for function only used for folders
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui.c b/src/gui.c
index 432b979..6b444a1 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -806,7 +806,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;
@@ -919,7 +919,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;
@@ -1452,12 +1452,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();
@@ -1532,7 +1532,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);
@@ -1567,7 +1567,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);