update
This commit is contained in:
parent
da6f208ebb
commit
9c026ec83c
2 changed files with 53 additions and 52 deletions
|
@ -1,51 +1,48 @@
|
|||
***************
|
||||
*** 0 ****
|
||||
--- 1,48 ----
|
||||
+ <oaf_info>
|
||||
+
|
||||
+ <oaf_server iid="OAFIID:GNOME_ControlCenter_Factory"
|
||||
+ type="exe"
|
||||
+ location="gnome-control-center">
|
||||
+ <oaf_attribute name="repo_ids" type="stringv">
|
||||
+ <item value="IDL:GNOME/ObjectFactory:1.0"/>
|
||||
+ </oaf_attribute>
|
||||
+ <oaf_attribute name="name"
|
||||
+ type="string"
|
||||
+ _value="Control Center view factory"/>
|
||||
+ <oaf_attribute name="description"
|
||||
+ type="string"
|
||||
+ _value="Control Center view component's factory"/>
|
||||
+ </oaf_server>
|
||||
+
|
||||
+ <oaf_server iid="OAFIID:GNOME_ControlCenter_View"
|
||||
+ type="factory"
|
||||
+ location="OAFIID:GNOME_ControlCenter_Factory">
|
||||
+ <oaf_attribute name="test_only" type="boolean" value="false"/>
|
||||
+ <oaf_attribute name="repo_ids" type="stringv">
|
||||
+ <item value="IDL:Bonobo/Unknown:1.0"/>
|
||||
+ <item value="IDL:Bonobo/Control:1.0"/>
|
||||
+ <item value="IDL:Nautilus/View:1.0"/>
|
||||
+ </oaf_attribute>
|
||||
+ <oaf_attribute name="name" type="string" _value="Control Center view"/>
|
||||
+ <oaf_attribute name="description"
|
||||
+ type="string"
|
||||
+ _value="Control Center view component"/>
|
||||
+ <oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
|
||||
+ <item value="preferences"/>
|
||||
+ <item value="preferences-all-users"/>
|
||||
+ </oaf_attribute>
|
||||
+ <oaf_attribute name="bonobo:supported_mime_types" type="stringv">
|
||||
+ <item value="x-directory/*"/>
|
||||
+ </oaf_attribute>
|
||||
+ <oaf_attribute name="nautilus:view_as_name"
|
||||
+ type="string"
|
||||
+ _value="Control Center"/>
|
||||
+ <oaf_attribute name="nautilus:view_as_label"
|
||||
+ type="string"
|
||||
+ _value="View as Control Center"/>
|
||||
+ <oaf_attribute name="nautilus:viewer_label"
|
||||
+ type="string"
|
||||
+ _value="Control Center Viewer"/>
|
||||
+ </oaf_server>
|
||||
+
|
||||
+ </oaf_info>
|
||||
<oaf_info>
|
||||
|
||||
<oaf_server iid="OAFIID:GNOME_ControlCenter_Factory"
|
||||
type="exe"
|
||||
location="gnome-control-center">
|
||||
<oaf_attribute name="repo_ids" type="stringv">
|
||||
<item value="IDL:GNOME/ObjectFactory:1.0"/>
|
||||
</oaf_attribute>
|
||||
<oaf_attribute name="name"
|
||||
type="string"
|
||||
_value="Control Center view factory"/>
|
||||
<oaf_attribute name="description"
|
||||
type="string"
|
||||
_value="Control Center view component's factory"/>
|
||||
</oaf_server>
|
||||
|
||||
<oaf_server iid="OAFIID:GNOME_ControlCenter_View"
|
||||
type="factory"
|
||||
location="OAFIID:GNOME_ControlCenter_Factory">
|
||||
<oaf_attribute name="test_only" type="boolean" value="false"/>
|
||||
<oaf_attribute name="repo_ids" type="stringv">
|
||||
<item value="IDL:Bonobo/Unknown:1.0"/>
|
||||
<item value="IDL:Bonobo/Control:1.0"/>
|
||||
<item value="IDL:Nautilus/View:1.0"/>
|
||||
</oaf_attribute>
|
||||
<oaf_attribute name="name" type="string" _value="Control Center view"/>
|
||||
<oaf_attribute name="description"
|
||||
type="string"
|
||||
_value="Control Center view component"/>
|
||||
<oaf_attribute name="bonobo:supported_uri_schemes" type="stringv">
|
||||
<item value="preferences"/>
|
||||
<item value="preferences-all-users"/>
|
||||
</oaf_attribute>
|
||||
<oaf_attribute name="bonobo:supported_mime_types" type="stringv">
|
||||
<item value="x-directory/*"/>
|
||||
</oaf_attribute>
|
||||
<oaf_attribute name="nautilus:view_as_name"
|
||||
type="string"
|
||||
_value="Control Center"/>
|
||||
<oaf_attribute name="nautilus:view_as_label"
|
||||
type="string"
|
||||
_value="View as Control Center"/>
|
||||
<oaf_attribute name="nautilus:viewer_label"
|
||||
type="string"
|
||||
_value="Control Center Viewer"/>
|
||||
</oaf_server>
|
||||
|
||||
</oaf_info>
|
||||
|
|
|
@ -578,9 +578,10 @@ set_x (ControlCenter *cc)
|
|||
static void
|
||||
select_entry (ControlCenter *cc, ControlCenterEntry *entry)
|
||||
{
|
||||
EntryInfo *ei = entry->user_data;
|
||||
EntryInfo *ei = NULL;
|
||||
GtkAdjustment *pos;
|
||||
double affine[6];
|
||||
|
||||
if (cc->selected == entry)
|
||||
return;
|
||||
|
||||
|
@ -594,6 +595,9 @@ select_entry (ControlCenter *cc, ControlCenterEntry *entry)
|
|||
((EntryInfo *)cc->selected->user_data)->selected = TRUE;
|
||||
setup_entry (cc->selected);
|
||||
|
||||
if (entry == NULL)
|
||||
return;
|
||||
ei = entry->user_data;
|
||||
gnome_canvas_item_i2c_affine (GNOME_CANVAS_ITEM (ei->group), affine);
|
||||
pos = gtk_layout_get_vadjustment (GTK_LAYOUT (ei->cover->canvas));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue