| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/gtk/bookmark_editor_gtk.h" | 5 #include "chrome/browser/gtk/bookmark_editor_gtk.h" |
| 6 | 6 |
| 7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "app/menus/simple_menu_model.h" | 10 #include "app/menus/simple_menu_model.h" |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| (...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 GTK_TREE_MODEL(tree_store_), &new_item_iter); | 580 GTK_TREE_MODEL(tree_store_), &new_item_iter); |
| 581 gtk_tree_view_expand_to_path(GTK_TREE_VIEW(tree_view_), path); | 581 gtk_tree_view_expand_to_path(GTK_TREE_VIEW(tree_view_), path); |
| 582 | 582 |
| 583 // Make the folder name editable. | 583 // Make the folder name editable. |
| 584 gtk_tree_view_set_cursor(GTK_TREE_VIEW(tree_view_), path, | 584 gtk_tree_view_set_cursor(GTK_TREE_VIEW(tree_view_), path, |
| 585 gtk_tree_view_get_column(GTK_TREE_VIEW(tree_view_), 0), | 585 gtk_tree_view_get_column(GTK_TREE_VIEW(tree_view_), 0), |
| 586 TRUE); | 586 TRUE); |
| 587 | 587 |
| 588 gtk_tree_path_free(path); | 588 gtk_tree_path_free(path); |
| 589 } | 589 } |
| OLD | NEW |