! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Mousepad-specific gtkrc settings
Status:
RESOLVED: FIXED
Product:
Mousepad
Component:
General

Comments

Description Cory Burgett 2010-01-19 23:40:12 CET
Created attachment 2787 
Example usage of new functionality

I have written a small patch for Mousepad (based on HEAD) which allows the user to specify Mousepad-specific gtkrc settings. The main advantage of this is simple color scheming without affecting every GtkTextView in every application (I like to have a light-on-dark color scheme in my text editor, but not in Firefox, for example).

As an example, here's a line from my gtkrc that applies the mousepad style only to Mousepad's GtkTextView (rather than to all GtkTextViews):

    widget "Mousepad*GtkTextView" style "mousepad"

The patch is very small but adds much usefulness, and I submitted a patch for the same changes to Leafpad last year (merged in 0.8.15). The patch for Mousepad is attached, as well as my current ~/.gtkrc-2.0 as an example.
Comment 1 Cory Burgett 2010-01-19 23:42:32 CET
Created attachment 2788 
The patch
Comment 2 Andre Miranda editbugs 2013-10-30 03:43:18 CET
I think this bug is not valid anymore because Mousepad now uses GtkSourceView.
Correct me if I'm wrong.
Comment 3 Cory Burgett 2013-10-30 14:53:56 CET
I think Mousepad has been rewritten since I filed this bug.  I think you are correct that it's not valid anymore (though I don't currently have access to a Linux box to confirm).  Either way, I don't think the patch will work anymore.

Feel free to close this issue.
Comment 4 Andre Miranda editbugs 2013-10-30 15:04:42 CET
Closing.

Bug #6170

Reported by:
Cory Burgett
Reported on: 2010-01-19
Last modified on: 2013-10-30

People

Assignee:
Matthew Brush
CC List:
3 users

Version

Target Milestone:
Mousepad 0.2.x

Attachments

Example usage of new functionality (316 bytes, text/plain)
2010-01-19 23:40 CET , Cory Burgett
no flags
The patch (868 bytes, patch)
2010-01-19 23:42 CET , Cory Burgett
no flags

Additional information