gtk3 support
This commit is contained in:
parent
d56ed0d0a1
commit
f15de12c34
@ -20,7 +20,6 @@
|
|||||||
<object class="GtkNotebook" id="RecentTabs">
|
<object class="GtkNotebook" id="RecentTabs">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<!--<property name="show_tabs">False</property>-->
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkScrolledWindow" id="scrolledwindow1">
|
<object class="GtkScrolledWindow" id="scrolledwindow1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/python2
|
#!/usr/bin/python2
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
gi.require_version("Gtk", "2.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import string
|
import string
|
||||||
@ -119,9 +119,6 @@ def doRecentApps():
|
|||||||
AButton.set_size_request( 200, -1 )
|
AButton.set_size_request( 200, -1 )
|
||||||
AButton.set_relief( Gtk.ReliefStyle.NONE )
|
AButton.set_relief( Gtk.ReliefStyle.NONE )
|
||||||
|
|
||||||
req = Gtk.Requisition()
|
|
||||||
AButton.size_request(req)
|
|
||||||
|
|
||||||
recentAppBox.pack_start( AButton, False, True, 0 )
|
recentAppBox.pack_start( AButton, False, True, 0 )
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
@ -417,7 +417,7 @@
|
|||||||
</key>
|
</key>
|
||||||
|
|
||||||
<key type="i" name="num-recent-docs">
|
<key type="i" name="num-recent-docs">
|
||||||
<default>10</default>
|
<default>20</default>
|
||||||
<summary></summary>
|
<summary></summary>
|
||||||
<description></description>
|
<description></description>
|
||||||
</key>
|
</key>
|
||||||
|
Loading…
Reference in New Issue
Block a user