Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 292284 Details for
Bug 390871
Unable to change syntax highlighting in Bluefish
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch that was committed upstream to workaround this issue
Bug_498954_cannot_modify_highlighting_patterns.patch (text/plain), 3.01 KB, created by
Jim Hayward
on 2008-01-20 04:52:15 UTC
(
hide
)
Description:
Patch that was committed upstream to workaround this issue
Filename:
MIME Type:
Creator:
Jim Hayward
Created:
2008-01-20 04:52:15 UTC
Size:
3.01 KB
patch
obsolete
>Index: src/preferences.c >=================================================================== >RCS file: /cvsroot/bluefish/bluefish-gtk2/src/preferences.c,v >retrieving revision 1.120.2.10 >retrieving revision 1.120.2.11 >diff -u -r1.120.2.10 -r1.120.2.11 >--- src/preferences.c 12 Nov 2006 03:35:28 -0000 1.120.2.10 >+++ src/preferences.c 20 Jan 2008 04:26:25 -0000 1.120.2.11 >@@ -162,7 +162,7 @@ > GtkWidget *check; > GtkWidget *radio[9]; > gchar **curstrarr; >- const gchar *selected_filetype; >+ gchar *selected_filetype; > } Thighlightpatterndialog; > > typedef struct { >@@ -910,12 +910,12 @@ > } > > static void highlightpattern_fill_from_selected_filetype(Tprefdialog *pd) { >- DEBUG_MSG("highlightpattern_popmenu_activate, applied changes, about to clear liststore\n"); >+ DEBUG_MSG("highlightpattern_fill_from_selected_filetype, applied changes, about to clear liststore\n"); > gtk_list_store_clear(GTK_LIST_STORE(pd->hpd.lstore)); > if (pd->hpd.selected_filetype) { > GList *tmplist; > tmplist = g_list_first(pd->lists[highlight_patterns]); >- DEBUG_MSG("highlightpattern_popmenu_activate, about to fill for filetype %s (tmplist=%p)\n",pd->hpd.selected_filetype,tmplist); >+ DEBUG_MSG("highlightpattern_fill_from_selected_filetype, about to fill for filetype %s (tmplist=%p)\n",pd->hpd.selected_filetype,tmplist); > /* fill list model here */ > while (tmplist) { > gchar **strarr =(gchar **)tmplist->data; >@@ -923,7 +923,7 @@ > DEBUG_MSG("found entry with filetype %s\n",strarr[0]); > if (strcmp(strarr[0], pd->hpd.selected_filetype)==0) { > GtkTreeIter iter; >- DEBUG_MSG("highlightpattern_popmenu_activate, appending pattern %s with filetype %s\n",strarr[1],strarr[0]); >+ DEBUG_MSG("highlightpattern_fill_from_selected_filetype, appending pattern %s with filetype %s\n",strarr[1],strarr[0]); > gtk_list_store_append(GTK_LIST_STORE(pd->hpd.lstore), &iter); > gtk_list_store_set(GTK_LIST_STORE(pd->hpd.lstore), &iter, 0, strarr[1], -1); > } >@@ -949,7 +949,9 @@ > highlightpattern_apply_changes(pd); > pd->hpd.curstrarr = NULL; > if (menuitem) { >- pd->hpd.selected_filetype = gtk_label_get_text(GTK_LABEL(GTK_BIN(menuitem)->child)); >+ if (pd->hpd.selected_filetype) >+ g_free (pd->hpd.selected_filetype); >+ pd->hpd.selected_filetype = g_strdup (gtk_label_get_text(GTK_LABEL(GTK_BIN(menuitem)->child))); > } > highlightpattern_fill_from_selected_filetype(pd); > } >@@ -1209,6 +1211,7 @@ > > select = gtk_tree_view_get_selection(GTK_TREE_VIEW(pd->hpd.lview)); > g_signal_connect(G_OBJECT(select), "changed",G_CALLBACK(highlightpattern_selection_changed_cb),pd); >+ gtk_tree_selection_set_mode (select, GTK_SELECTION_SINGLE); > } > > vbox3 = gtk_vbox_new(FALSE, 2); >@@ -1807,6 +1810,9 @@ > pd->lists[browsers] = NULL; > pd->lists[external_commands] = NULL; > >+ if (pd->hpd.selected_filetype) >+ g_free (pd->hpd.selected_filetype); >+ > /* select = gtk_tree_view_get_selection(GTK_TREE_VIEW(pd->ftd.lview)); > g_signal_handlers_destroy(G_OBJECT(select));*/ > DEBUG_MSG("preferences_destroy_lcb, destroying handlers for lstore %p\n",pd->ftd.lstore);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 390871
: 292284