enum
{
- SNAP_NONE_VALUE,
- SNAP_SMALL_VALUE = 8,
- SNAP_LARGE_VALUE = 16,
- SNAP_HUGE_VALUE = 32
+ SNAP_NONE_VALUE = 4,
+ SNAP_SMALL_VALUE = 16,
+ SNAP_LARGE_VALUE = 32,
+ SNAP_HUGE_VALUE = 48
};
static gint snap_values [] = {
gchar *bookmark_name;
gchar *applet_path;
+ gchar *view_path;
b = g_new0 (bookmark_t, 1);
b->path = g_strconcat (bookmark, "/label", NULL);
bookmark_name = g_path_get_basename (bookmark);
applet_path = g_strconcat (GCONF_APPLETS, "/BookmarkShortcut:",
bookmark_name, NULL);
+ view_path = g_strconcat (applet_path, "/view", NULL);
if (applet_path &&
- gconf_client_dir_exists (section->gconf, applet_path, NULL))
+ gconf_client_dir_exists (section->gconf, applet_path, NULL) &&
+ gconf_client_get_int (section->gconf, view_path, NULL) != 0)
{
button = hildon_button_new_with_text
(HILDON_SIZE_FINGER_HEIGHT, HILDON_BUTTON_ARRANGEMENT_VERTICAL,
g_free (value);
g_free (bookmark_name);
g_free (applet_path);
+ g_free (view_path);
}
static void
if (section->bookmarks_dialog == NULL)
{
section->bookmarks_dialog = gtk_dialog_new_with_buttons
- (_("Edit bookmark labels"),
+ (_("Edit desktop bookmarks"),
GTK_WINDOW (gtk_widget_get_ancestor
(tweakr_section_get_widget
(TWEAKR_SECTION (section)),
button = hildon_button_new_with_text (HILDON_SIZE_AUTO,
HILDON_BUTTON_ARRANGEMENT_VERTICAL,
- _("Edit bookmarks labels"), "");
+ _("Edit desktop bookmarks"), "");
gtk_button_set_alignment (GTK_BUTTON (button), 0.0f, 0.5f);
hildon_gtk_widget_set_theme_size (button, HILDON_SIZE_FINGER_HEIGHT);