summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/bookmark_editor_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/bookmark_editor_gtk.h')
-rw-r--r--chrome/browser/gtk/bookmark_editor_gtk.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/gtk/bookmark_editor_gtk.h b/chrome/browser/gtk/bookmark_editor_gtk.h
index 42db2a4..8d6efd9 100644
--- a/chrome/browser/gtk/bookmark_editor_gtk.h
+++ b/chrome/browser/gtk/bookmark_editor_gtk.h
@@ -90,6 +90,9 @@ class BookmarkEditorGtk : public BookmarkEditor,
// new group.
void AddNewGroup(GtkTreeIter* parent, GtkTreeIter* child);
+ // Returns true if editing a folder.
+ bool IsEditingFolder() const;
+
static void OnSelectionChanged(GtkTreeSelection* treeselection,
BookmarkEditorGtk* dialog);
@@ -111,7 +114,7 @@ class BookmarkEditorGtk : public BookmarkEditor,
// The dialog to display on screen.
GtkWidget* dialog_;
GtkWidget* name_entry_;
- GtkWidget* url_entry_;
+ GtkWidget* url_entry_; // This is NULL if IsEditingFolder.
GtkWidget* tree_view_;
GtkWidget* new_folder_button_;