Kaydet (Commit) 2eaa1d8d authored tarafından Enrico Tröger's avatar Enrico Tröger

Fix wrong insert position of Insert Date function when using keyboard shortcut…

Fix wrong insert position of Insert Date function when using keyboard shortcut and place the cursor behind the inserted date.
Enable horizontal scrollbar for the Open Files list.       


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1932 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst e5d48826
2007-10-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/keybindings.c:
Fix wrong insert position of Insert Date function when using keyboard
shortcut and place the cursor behind the inserted date.
* src/treeviews.c: Enable horizontal scrollbar for the Open Files list.
2007-10-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/prefs.c:
......
......@@ -1480,6 +1480,7 @@ on_insert_date_activate (GtkMenuItem *menuitem,
verify_click_pos(idx); // make sure that the click_pos is valid
sci_insert_text(doc_list[idx].sci, editor_info.click_pos, time_str);
sci_goto_pos(doc_list[idx].sci, editor_info.click_pos + strlen(time_str), FALSE);
}
else
{
......
......@@ -1326,7 +1326,7 @@ static void cb_func_menu_replacetabs(G_GNUC_UNUSED guint key_id)
static void cb_func_menu_insert_date(G_GNUC_UNUSED guint key_id)
{
gtk_menu_item_activate(GTK_MENU_ITEM(lookup_widget(app->popup_menu, "insert_date_custom2")));
gtk_menu_item_activate(GTK_MENU_ITEM(lookup_widget(app->window, "insert_date_custom1")));
}
static void cb_func_menu_insert_specialchars(G_GNUC_UNUSED guint key_id)
......
......@@ -205,7 +205,7 @@ static void prepare_openfiles()
// doesn't keep the settings
gtk_scrolled_window_set_policy(
GTK_SCROLLED_WINDOW(lookup_widget(app->window, "scrolledwindow7")),
GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
renderer = gtk_cell_renderer_text_new();
column = gtk_tree_view_column_new_with_attributes(_("Open files"), renderer,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment