[PATCH 11/30] Use a checkmark from a PNG image instead of a string.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* iw/partition_gui.py (getScreen): Point the checkmark loading line to
the new checkMark.png image.
* pixmaps/checkMark.png : New check mark image.
---
 iw/partition_gui.py   |   31 ++-----------------------------
 pixmaps/checkMark.png |  Bin 0 -> 347 bytes
 2 files changed, 2 insertions(+), 29 deletions(-)
 create mode 100644 pixmaps/checkMark.png

diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index 8c0f714..ac926f7 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -66,33 +66,6 @@ TREE_SPACING = 2
 MODE_ADD = 1
 MODE_EDIT = 2
 
-# XXXX temporary image data
-new_checkmark = "GdkP"
-new_checkmark = new_checkmark + "\0\0\2X"
-new_checkmark = new_checkmark + "\1\1\0\2"
-new_checkmark = new_checkmark + "\0\0\0""0"
-new_checkmark = new_checkmark + "\0\0\0\14"
-new_checkmark = new_checkmark + "\0\0\0\14" 
-new_checkmark = new_checkmark + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
-new_checkmark = new_checkmark + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
-new_checkmark = new_checkmark + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0&\0\0\0\217\0\0\0""3\0\0\0\0\0"
-new_checkmark = new_checkmark + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0,\0\0\0\252"
-new_checkmark = new_checkmark + "\0\0\0\254\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
-new_checkmark = new_checkmark + "\0\0\0\0\0\0#\0\0\0\246\0\0\0\264\0\0\0\227\0\0\0\0\0\0\0\0\0\0\0\0\0"
-new_checkmark = new_checkmark + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\221\0\0\0\264\0\0\0\264"
-new_checkmark = new_checkmark + "\0\0\0\214\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\21\0\0\0\0\0\0\0\0\0\0\0\0\0"
-new_checkmark = new_checkmark + "\0\0U\0\0\0\264\0\0\0\264\0\0\0\202\0\0\0\21\0\0\0\0\0\0\0\0\0\0\0\40"
-new_checkmark = new_checkmark + "\0\0\0\222\0\0\0\37\0\0\0\0\0\0\0\26\0\0\0\252\0\0\0\264\0\0\0\214\0"
-new_checkmark = new_checkmark + "\0\0\16\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0u\0\0\0\264\0\0\0\240\0\0\0'\0\0"
-new_checkmark = new_checkmark + "\0l\0\0\0\264\0\0\0\254\0\0\0!\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\24\0\0\0"
-new_checkmark = new_checkmark + "\207\0\0\0\256\0\0\0\264\0\0\0\240\0\0\0\256\0\0\0\264\0\0\0d\0\0\0\0"
-new_checkmark = new_checkmark + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0;\0\0\0\233\0\0\0\263\0"
-new_checkmark = new_checkmark + "\0\0\264\0\0\0\252\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
-new_checkmark = new_checkmark + "\0\0\0\0\0\0\0\0\0\0\15\0\0\0r\0\0\0\263\0\0\0i\0\0\0\0\0\0\0\0\0\0\0"
-new_checkmark = new_checkmark + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0g\0\0"
-new_checkmark = new_checkmark + "\0\"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
-
-
 class DiskStripeSlice:
     def eventHandler(self, widget, event):
         if event.type == gtk.gdk.BUTTON_PRESS:
@@ -1427,8 +1400,8 @@ class PartitionWindow(InstallWindow):
 
         checkForSwapNoMatch(anaconda)
 
-	# load up checkmark
-	self.checkmark_pixbuf = gtk.gdk.pixbuf_new_from_inline(len(new_checkmark), new_checkmark, False)
+        # load up checkmark & lock
+        self.checkmark_pixbuf = gui.getPixbuf("checkMark.png")
         self.lock_pixbuf = gui.getPixbuf("gnome-lock.png")
 
         # operational buttons
diff --git a/pixmaps/checkMark.png b/pixmaps/checkMark.png
new file mode 100644
index 0000000000000000000000000000000000000000..838f93700bad874ab55a880ae1c2cf4e563cd54d
GIT binary patch
literal 347
zcmeAS@N?(olHy`uVBq!ia0vp^LLkh+1|-AI^@Rf|#^NA%Cx&(BWL^R}Y)RhkE)4%c
zaKYZ?lYt_f1s;*b3=G`DAk4@xYmNj^kiEpy*OmPyhbTXb$%AXP%Yj0-JzX3_EKZ-D
zVk^YxDByPg5tFb-i}LI#(md`DIAj`?3s|aIoD_vmd8l9JTX0IQaY<<I%0ur|O0InV
z{;F1%=TEe0uzb|>-pt!;GjID9?v;`1oWNPY_D$%p(bbf+x%(rZvp@a2MlFT4r(xld
z0xzc8rYlAp&)tuIyyVQ2b<BQkJtCWal$mcnC!N6lrD5ff3ED@P+!suc*md85_W;A9
z*R4&A*Q(6cCC#6jBy%<EUklUDBL-`kvZnsp={D!(E)B<(Lc9!}iTra+`T}P!GV{=`
mzkHo7_sS}L!xR4h7PDtdx_3-p(9i?)CWEJ|pUXO@geCwVwS-^*

literal 0
HcmV?d00001

-- 
1.6.4.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux