meld r1135 - trunk
- From: kaiw svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r1135 - trunk
- Date: Sun, 25 Jan 2009 14:09:42 +0000 (UTC)
Author: kaiw
Date: Sun Jan 25 14:09:42 2009
New Revision: 1135
URL: http://svn.gnome.org/viewvc/meld?rev=1135&view=rev
Log:
Move RC parsing to toplevel and make it more legible
Modified:
trunk/meldapp.py
Modified: trunk/meldapp.py
==============================================================================
--- trunk/meldapp.py (original)
+++ trunk/meldapp.py Sun Jan 25 14:09:42 2009
@@ -480,20 +480,24 @@
# MeldApp
#
################################################################################
+
+gtk.rc_parse_string(
+ """
+ style "meld-tab-close-button-style" {
+ GtkWidget::focus-padding = 0
+ GtkWidget::focus-line-width = 0
+ xthickness = 0
+ ythickness = 0
+ }
+ widget "*.meld-tab-close-button" style "meld-tab-close-button-style"
+ """)
+
class MeldApp(gnomeglade.Component):
#
# init
#
def __init__(self):
- gtk.rc_parse_string ("style \"meld-tab-close-button-style\"\n"
- "{\n"
- "GtkWidget::focus-padding = 0\n"
- "GtkWidget::focus-line-width = 0\n"
- "xthickness = 0\n"
- "ythickness = 0\n"
- "}\n"
- "widget \"*.meld-tab-close-button\" style \"meld-tab-close-button-style\"")
gladefile = paths.share_dir("glade2/meldapp.glade")
gtk.window_set_default_icon_name("icon")
gobject.set_application_name("Meld")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]